Bug#251373: Grub bug report

Ramiro Aceves Ramiro Aceves <ea1abz@wanadoo.es>, 251373@bugs.debian.org
Fri, 28 May 2004 10:37:50 +0200


Package: grub
Version: 0.94+cvs200405

Extrange problem today. My partition table was:

hda1  (windogXP NTFS)
hda2 ( hda5(ext3) hda6(woody ext3) hda7(swap))
hda3 (ext3 sarge)

I reinstalled windogXP and formated hda1 with NTFS again. Windog changed 
partitions numbers like this:

hda1  (windogXP NTFS)
hda2 (ext3 sarge)
hda3 ( hda5(ext3) hda6(woody ext3) hda7(swap))


I can boot my woody partition as usual:


#########################
title           Debian GNU/Linux-2.6.4
kernel  (hd0,5)/boot/vmlinuz-2.6.4 root=/dev/hda6 ro
#########################


but the problem arises when I try to boot my sarge partition (Changed 
for the new partition numbers):


#########################
title           Debian  Sarge
kernel  (hd0,1)/boot/vmlinuz-2.6.5-1-386 root=/dev/hda2 ro
initrd  (hd0,1)/boot/initrd.img-2.6.5-1-386
#########################


The kernel boots ok, but kernel stops  trying  to  mount /dev/hda3 
instead of /dev/hda2. It seems that grub does not pass the right kernel 
parameter "root=/dev/hda2"

I have tried lilo and works. Also tried a Debian CDROM number 1 with the 
rescue command with good results. Grub fails.

Hope this helps to find a possible bug. If you need more information I 
will be pleased sending it to you.

Thank you.
Ramiro .
Valladolid, Spain