Skip to contentSkip to conversation

how 'default=saved' should work ?

DISCUSSION Frédéric Boiteux 2 participants 7 messages Dec 22, 2009

lore
Share & tools
lore
#0 lore raw

Hello,

I've recently updated my grub-legacy bootloader to Grub2 (using latest grub-pc from Debian Sid), and I can't have the 'default=saved' option working with Grub2 :-(

I've put following definition in /etc/default/grub :

GRUB_DEFAULT=saved

and I get it in the beginning of my /boot/grub/grub.cfg :

...
### BEGIN /etc/grub.d/00_header ###
set default=saved
...

but I don't have anything in each menuentry telling to save choice :

menuentry "Debian GNU/Linux, with Linux 2.6.32-trunk-686" {
        insmod ext2
        set root=(hd0,8)
        search --no-floppy --fs-uuid --set 257cf3a6-a439-4bbd-9a71-e777eabe4a0e
        linux   /boot/vmlinuz-2.6.32-trunk-686 root=UUID=257cf3a6-a439-4bbd-9a71-e777eabe4a0e ro  quiet
        initrd  /boot/initrd.img-2.6.32-trunk-686
}

and at every boot, I have the first choice hightlighted .

What does I miss ?

Fred

#1 lore raw

Am Dienstag, den 22.12.2009, 13:25 +0100 schrieb Frédéric Boiteux:

Quoted 6 lines

Hello,

I've recently updated my grub-legacy bootloader to Grub2 (using latest grub-pc from Debian Sid), and I can't have the
'default=saved'
option working with Grub2 :-(

It's only in the experimental branch avaible, which is in Debian experimental.
We only do trunk uploads to sid.

Quoted 4 lines

I've put following definition in /etc/default/grub :

GRUB_DEFAULT=saved

That change would be enough then to enable it.

Signature · 2 lines
Felix Zielcke
Proud Debian Maintainer and GNU GRUB developer
#2 lore raw
Quoted 3 lines · Felix Zielcke

It's only in the experimental branch avaible, which is in Debian experimental.
We only do trunk uploads to sid.

Ok, thanks for the precision : I found the doc on the Grub2 wiki, but didn't notice it doesn't apply to current Sid package !

Fred.

#3 lore raw

Am Dienstag, den 22.12.2009, 13:36 +0100 schrieb Frédéric Boiteux:

Quoted 10 lines
Quoted 3 lines · Felix Zielcke

It's only in the experimental branch avaible, which is in Debian experimental.
We only do trunk uploads to sid.

Ok, thanks for the precision : I found the doc on the Grub2 wiki, but didn't notice it doesn't apply to current Sid package !

Fred.

Ah a french page on the wiki has this.
Unfortunately I don't know more then 1-2 french words. Would be nice if someone could note there that this currently only applies to the experimental branch.

Signature · 2 lines
Felix Zielcke
Proud Debian Maintainer and GNU GRUB developer
#4 lore raw
Quoted 10 lines · Felix Zielcke

Am Dienstag, den 22.12.2009, 13:36 +0100 schrieb Frédéric Boiteux:

Quoted 9 lines
Quoted 3 lines · Felix Zielcke

It's only in the experimental branch avaible, which is in Debian experimental.
We only do trunk uploads to sid.

Ok, thanks for the precision : I found the doc on the Grub2 wiki, but didn't notice it doesn't apply to current Sid package !

Quoted 6 lines
Quoted 1 line

Fred.

Ah a french page on the wiki has this.
Unfortunately I don't know more then 1-2 french words. Would be nice if someone could note there that this currently only applies to the experimental branch.

I'll try to do it !

Fred.

#5 lore raw
Quoted 5 lines · Frédéric Boiteux
Quoted 4 lines

Ah a french page on the wiki has this.
Unfortunately I don't know more then 1-2 french words. Would be nice if someone could note there that this currently only applies to the experimental branch.

Done.

Fred.

#6 lore raw

Am Dienstag, den 22.12.2009, 15:15 +0100 schrieb Frédéric Boiteux:

Quoted 9 lines
Quoted 5 lines · Frédéric Boiteux
Quoted 4 lines

Ah a french page on the wiki has this.
Unfortunately I don't know more then 1-2 french words. Would be nice if someone could note there that this currently only applies to the experimental branch.

Done.

Thanks.

Quoted 1 line

Fred.

Signature · 2 lines
Felix Zielcke
Proud Debian Maintainer and GNU GRUB developer