[Bug 31903] Re: Ubuntu Automatic Update of prebuilt kernel changes the hdd in grub menu.lst

El Murphy robert.louis.murphy at gmail.com
Sun Mar 25 23:25:30 UTC 2007


I have an SATA with one hard drive running Windows XP Professional and I
have a PATA with a DVD Burner and the hard drive I have Ubuntu Feisty
installed on.  Here is a small sample of my menu.lst:

...
## ## End Default Options ##

title		Ubuntu, kernel 2.6.20-13-generic
root		(hd0,0)
kernel		/boot/vmlinuz-2.6.20-13-generic root=/dev/sda1 ro quiet splash
initrd		/boot/initrd.img-2.6.20-13-generic
quiet
savedefault

title		Ubuntu, kernel 2.6.20-13-generic (recovery mode)
root		(hd0,0)
kernel		/boot/vmlinuz-2.6.20-13-generic root=/dev/sda1 ro single
initrd		/boot/initrd.img-2.6.20-13-generic

title		Ubuntu, kernel 2.6.20-12-generic
root		(hd0,0)
kernel		/boot/vmlinuz-2.6.20-12-generic root=/dev/sda1 ro quiet splash
initrd		/boot/initrd.img-2.6.20-12-generic
quiet
savedefault

title		Ubuntu, kernel 2.6.20-12-generic (recovery mode)
root		(hd0,0)
kernel		/boot/vmlinuz-2.6.20-12-generic root=/dev/sda1 ro single
initrd		/boot/initrd.img-2.6.20-12-generic

...

When I upgraded my Edgy to Feisty it would not boot because it replaced
all of the sda1 in the menu.lst with hda1.  Then when I updated from
2.6.20-12 to 2.6.20-13 once again it replaced all of the sda1 with hda1
so once again I had to manually edit menu.lst to get it to boot again.
I can understand why it keeps changing it to hda1 since I am booting off
of and running linux on a Paralell ATA IDE drive but hda1 won't boot
while sda1 will.  My SATA drive with Windows on it might cause my PATA
drives to be labeled sda instead of hda, I don't know all I know is I
have to manually edit my menu.lst after each update in order to boot.
Unrelated:  after upgrading to 2.6.20-13 and then manually editing
menu.lst, I can boot the 2.6.20-12 kernel but still can't boot the
2.6.20-13 kernel (get a tty error).

-- 
Ubuntu Automatic Update of prebuilt kernel changes the hdd in grub menu.lst
https://launchpad.net/bugs/31903




More information about the kernel-bugs mailing list