Bug#412652: Etch: grub-reboot is working, but does not save the topmost menu.lst entry from being used

2007-02-27 Thread Clemens Perz
Package: grub
Version: 0.97-23

Entries in the list:

title   Debian GNU/Linux, kernel 2.6.18-3-686-bigmem
root(hd0,1)
kernel  /boot/vmlinuz-2.6.18-3-686-bigmem root=/dev/sda2 ro
initrd  /boot/initrd.img-2.6.18-3-686-bigmem
savedefault

title   Debian GNU/Linux, kernel 2.6.18-3-686-bigmem (single-user
mode)
root(hd0,1)
kernel  /boot/vmlinuz-2.6.18-3-686-bigmem root=/dev/sda2 ro single
initrd  /boot/initrd.img-2.6.18-3-686-bigmem
savedefault

title   Debian GNU/Linux, kernel 2.6.18-3-686-bigmem (resq)
root(hd1,0)
kernel  /boot/vmlinuz-2.6.18-3-686-bigmem root=/dev/sdb1 ro
initrd  /boot/initrd.img-2.6.18-3-686-bigmem
savedefault

run grub-reboot 2 and /boot/grub/default has this:

0:2

#
#
#
#
#
#
#
#
#
#
# WARNING: If you want to edit this file directly, do not remove any line
# from this file, including this warning. Using `grub-set-default\' is
# strongly recommended.

Every thing looks fine, but the system will always boot entry 0 and ignore
the wish for booting number 2.

Cheers,

Clemens




-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Bug#412652: AW: Bug#412652: Etch: grub-reboot is working, but does not save the topmost menu.lst entry from being used

2007-02-27 Thread Clemens Perz
Hi Dorileo,

meanwhile I proved your good guess :) This was a new machine installed by a
service provider and I did not at all think about the 'default' config
statement. Now changing default 0 to default saved and savedefault in
entry 2 to savedefault 0 did the trick. Just like the docs say. 

Sorry for disturbing :-/

Clemens


 -Ursprüngliche Nachricht-
 Von: dorileo [mailto:[EMAIL PROTECTED] 
 Gesendet: Dienstag, 27. Februar 2007 15:39
 An: [EMAIL PROTECTED]; Clemens Perz; 
 [EMAIL PROTECTED]
 Cc: [EMAIL PROTECTED]
 Betreff: Re: Bug#412652: Etch: grub-reboot is working, but 
 does not save the topmost menu.lst entry from being used
 
 Hi Clemens
 
 I need to see all your menu.lst, could you attach it?
 
 Thanks
 
 --
 Dorileo
 
 On Tuesday 27 February 2007 08:55, Clemens Perz wrote:
  Package: grub
  Version: 0.97-23
 
  Entries in the list:
 
  title   Debian GNU/Linux, kernel 2.6.18-3-686-bigmem
  root(hd0,1)
  kernel  /boot/vmlinuz-2.6.18-3-686-bigmem root=/dev/sda2 ro
  initrd  /boot/initrd.img-2.6.18-3-686-bigmem
  savedefault
 
  title   Debian GNU/Linux, kernel 
 2.6.18-3-686-bigmem (single-user
  mode)
  root(hd0,1)
  kernel  /boot/vmlinuz-2.6.18-3-686-bigmem 
 root=/dev/sda2 ro single
  initrd  /boot/initrd.img-2.6.18-3-686-bigmem
  savedefault
 
  title   Debian GNU/Linux, kernel 2.6.18-3-686-bigmem (resq)
  root(hd1,0)
  kernel  /boot/vmlinuz-2.6.18-3-686-bigmem root=/dev/sdb1 ro
  initrd  /boot/initrd.img-2.6.18-3-686-bigmem
  savedefault
 
  run grub-reboot 2 and /boot/grub/default has this:
 
  0:2
 
  #
  #
  #
  #
  #
  #
  #
  #
  #
  #
  # WARNING: If you want to edit this file directly, do not 
 remove any 
  line # from this file, including this warning. Using 
  `grub-set-default\' is # strongly recommended.
 
  Every thing looks fine, but the system will always boot entry 0 and 
  ignore the wish for booting number 2.
 
  Cheers,
 
  Clemens
 
 
 
 
  ___
  Pkg-grub-devel mailing list
  [EMAIL PROTECTED]
  http://lists.alioth.debian.org/mailman/listinfo/pkg-grub-devel