Grub Grief aGain

Goh Lip g.lip at
Tue Jul 20 04:03:37 UTC 2010

On 07/20/2010 04:37 AM, Rashkae wrote:
> Dave Howorth wrote:

>> menuentry "Desktop -- openSUSE 11.2 - (on /dev/sdb1)" {
>>          insmod ext2
>>          set root=(hd1,1)
>>          linux /boot/vmlinuz-
>> root=/dev/disk/by-id/ata-WDC_WD1503FYYS-01T8B0_WD-WMAUR0310828-part1
>> resume=/dev/disk/by-id/ata-WDC_WD5001AALS-00L3B2_WD-WCASYA878047-part2
>> splash=silent quiet showopts vga=0x31a
>>          initrd /boot/initrd-
>> }

> This is rather strange.  You say you ran grub-update, but those entries
> do not look like auto-generated entries that I'm familiar with from
> grub2.  The search directive is missing, for one, and the default kernel
> options are completely different.
> Have you, by any chance, modified the files in /etc/grub.d to create a
> custom boot menu, perhaps following some instructions from someone?

Ah, looks like Dave has set the no-UUID in the default/grub.d, and 
perhaps he needs to do that because suse uses disk-by-id instead. So 
he's having trouble because bios may start with different numbering 
system each time it boots, so it may not be (hd1,1) and it won't boot.
And chainloading may also 'run'. I mean booting won't run, numbering 
runs. (English is sure funny)

Dave, you may want to run this instead....

linux (hd1,1)/boot/vmlinuz-2.6.31-12-0.2-desktop root=/dev/sdb1 ro
initrd (hd1,1)/boot/initrd-

*BUT* before you do that, please check at grub prompt
search -f /boot/vmlinuz-2.6.31-12-0.2-desktop

If it gives you hd1,1, then proceed, bit if it gives say, hd2,1, then 
change above (hd1,1) to (hd2,1) BUT /dev/sdb1 remains unchanged.

Gotta run - Goh Lip

More information about the ubuntu-users mailing list