That value comes from a configuration option in menu.lst. It is not automatic. You need to edit menu.lst
On Fri, Jul 28, 2006 at 07:11:59PM -0300, Gleidson Echeli Leopoldo wrote: > Package: grub > Version: 0.97-12 > Severity: important > > Hi, i compile my own kernel and installed today. I observed that > update-grub doesn't update the menu.lst correctly. My vmlinuz and > initrd.img are in /boot on hda1 (hd0,0) partition. However the > update-grub write in menu.lst such as hda2 (hd0,1). I did run > update-grub any times and the result was the same. > > The command was: > > # update-grub > Searching for GRUB installation directory ... found: /boot/grub > Testing for an existing GRUB menu.list file ... found: /boot/grub/menu.lst > Searching for splash image ... found: > (hd0,0)/boot/grub/splashimages/debianpink.xpm.gz > > Found kernel: /boot/vmlinuz-2.6.17.7-quimera > Found kernel: /boot/vmlinuz-2.6.16-2-amd64-k8 > Updating /boot/grub/menu.lst ... done > > > And the relevant content of menu.lst is: > > ... > title Debian GNU/Linux, kernel 2.6.17.7-quimera > root (hd0,1) > kernel /boot/vmlinuz-2.6.17.7-quimera root=/dev/hda2 ro > console=tty0 > initrd /boot/initrd.img-2.6.17.7-quimera > savedefault > boot > > title Debian GNU/Linux, kernel 2.6.17.7-quimera (recovery mode) > root (hd0,1) > kernel /boot/vmlinuz-2.6.17.7-quimera root=/dev/hda2 ro > console=tty0 single > initrd /boot/initrd.img-2.6.17.7-quimera > savedefault > boot > > title Debian GNU/Linux, kernel 2.6.16-2-amd64-k8 > root (hd0,1) > kernel /boot/vmlinuz-2.6.16-2-amd64-k8 root=/dev/hda2 ro > console=tty0 > initrd /boot/initrd.img-2.6.16-2-amd64-k8 > savedefault > boot > > title Debian GNU/Linux, kernel 2.6.16-2-amd64-k8 (recovery mode) > root (hd0,1) > kernel /boot/vmlinuz-2.6.16-2-amd64-k8 root=/dev/hda2 ro > console=tty0 single > initrd /boot/initrd.img-2.6.16-2-amd64-k8 > savedefault > boot > ... > > The lines would have to be: > > ... > root (hd0,0) > kernel /boot/vmlinuz ... root=/dev/hda1 ... > ... > > --- > Gleidson > > _______________________________________________ > Pkg-grub-devel mailing list > [EMAIL PROTECTED] > http://lists.alioth.debian.org/mailman/listinfo/pkg-grub-devel -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]