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
signature.asc
Description: OpenPGP digital signature