Bug#488193: update-grub fails
Shams Fantar
sfantar at snurf.info
Fri Jul 25 16:55:41 UTC 2008
Robert Millan wrote:
> On Thu, Jun 26, 2008 at 11:13:14PM +0200, Shams Fantar wrote:
>
>> Package: grub
>> Version: 0.97-27
>> Severity: critical
>> Justification: breaks the whole system
>>
>> When I do "update-grub", it fails.
>>
>> For example, in the past, I had this:
>>
>> title Debian GNU/Linux, kernel 2.6.18-6-686
>> root (hd0,0)
>> kernel /boot/vmlinuz-2.6.18-6-686 root=/dev/sda1 ro quiet
>> initrd /boot/initrd.img-2.6.18-6-686
>>
>> And If I do "update-grub" :
>>
>> title Debian GNU/Linux, kernel 2.6.18-6-686
>> root (hd1,0)
>> kernel /boot/vmlinuz-2.6.18-6-686 root=/dev/sda1 ro quiet
>> initrd /boot/initrd.img-2.6.18-6-686
>>
>> So, "root (hd0,0)" is replaced by "root (hd1,0)". To fix the problem, I have to, manually, replace "(hd1,0)" by "(hd0,0)".
>>
>> This problem happens on some machines that run debian etch and debian lenny/sid.
>>
>
> Please send me your /boot/grub/device.map, /proc/mounts and /etc/fstab.
>
>
/boot/grub/device.map :
(hd0) /dev/hda
(hd1) /dev/sda
/etc/fstab :
# /etc/fstab: static file system information.
#
# <file system> <mount point> <type> <options> <dump> <pass>
proc /proc proc defaults 0 0
/dev/sda1 / ext3 errors=remount-ro 0 1
/dev/sda2 /home ext3 defaults 0 2
/dev/sda3 none swap sw 0 0
/dev/hdb /media/cdrom0 udf,iso9660 user,noauto 0 0
/dev/fd0 /media/floppy0 auto rw,user,noauto 0 0
/dev/hda1 /backup ext3 defaults 0 0
/proc/mounts :
rootfs / rootfs rw 0 0
none /sys sysfs rw,nosuid,nodev,noexec 0 0
none /proc proc rw,nosuid,nodev,noexec 0 0
udev /dev tmpfs rw,size=10240k,mode=755 0 0
/dev/sda1 / ext3 rw,errors=remount-ro,data=ordered 0 0
/dev/sda1 /dev/.static/dev ext3 rw,errors=remount-ro,data=ordered 0 0
tmpfs /lib/init/rw tmpfs rw,nosuid,mode=755 0 0
usbfs /proc/bus/usb usbfs rw,nosuid,nodev,noexec 0 0
tmpfs /dev/shm tmpfs rw,nosuid,nodev 0 0
devpts /dev/pts devpts rw,nosuid,noexec,gid=5,mode=620 0 0
fusectl /sys/fs/fuse/connections fusectl rw 0 0
/dev/sda2 /home ext3 rw,errors=continue,data=ordered 0 0
/dev/hda1 /backup ext3 rw,errors=continue,data=ordered 0 0
binfmt_misc /proc/sys/fs/binfmt_misc binfmt_misc rw,nosuid,nodev,noexec 0 0
Regards
More information about the Pkg-grub-devel
mailing list