Bug#380281: update-grub doesn't update vmlinuz and initrd.img
entries correctly
Gleidson Echeli Leopoldo
gleidson_el at yahoo.com.br
Fri Jul 28 22:11:59 UTC 2006
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
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 189 bytes
Desc: OpenPGP digital signature
Url : http://lists.alioth.debian.org/pipermail/pkg-grub-devel/attachments/20060728/59920910/signature.pgp
More information about the Pkg-grub-devel
mailing list