Comment 10 for bug 16824

Revision history for this message
iscurrah (iscurrah) wrote : Re: incorrect groot setting after installation

Hello,

I've had a similar problem in that after updating to 2.6.15-26, my grub menu.lst was incorrectly written.

This is my partition table for /dev/hda:
Disk /dev/hda: 120.0 GB, 120034123776 bytes
255 heads, 63 sectors/track, 14593 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes

   Device Boot Start End Blocks Id System
/dev/hda1 * 1 3 24066 83 Linux
/dev/hda2 4 14594 117196695+ f W95 Ext'd (LBA)
/dev/hda5 4 88 682731 82 Linux swap / Solaris
/dev/hda6 1277 14594 106971322+ 83 Linux
/dev/hda7 89 1276 9542578+ 83 Linux

And my default grub boot option has been written as :
## ## End Default Options ##

title Ubuntu, kernel 2.6.15-26-386
root (hd0,0)
kernel /vmlinuz-2.6.15-26-386 root=/dev/hda5 ro quiet splash
initrd /initrd.img-2.6.15-26-386
savedefault
boot

/etc/fstab is :
# /etc/fstab: static file system information.
#
# <file system> <mount point> <type> <options> <dump> <pass>
proc /proc proc defaults 0 0
/dev/hda7 / reiserfs defaults 0 1
/dev/hda1 /boot ext2 defaults 0 2
/dev/hda6 /data reiserfs defaults 0 1
/dev/hda5 none swap sw 0 0
/dev/hdc /media/dvd udf,iso9660 ro,user,noauto 0 0
/dev/hdd /media/cdrom udf,iso9660 ro,user,noauto 0 0
/dev/fd0 /media/floppy auto rw,user,noauto 0 0
/dev/casio /media/casio vfat rw,user,noauto 0 0
/dev/hp618 /media/hp618 vfat rw,user,noauto 0 0
/dev/olympus /media/olympus vfat rw,user,noauto 0 0
none /proc/bus/usb usbfs defaults 0 0

So on boot, grub is looking for my root partition on hda5 rather than hda7.

Hope that this is in the correct place and it helps track the installation problem down - any questions, please ask.

Iain.