Grub & UUIDs
Posted: Wed Apr 06, 2011 3:17 pm
I've got a niggling issue with my setup (Ubuntu maverick running on internal USB stick replacing wifi card).
Despite using UUID in my grub.cfg, GRUB always tries to load the kernel from my external harddisk which is attached via the external USB port. I thouht this was because of the "set root=(hd0,1)" line in my grub.cfg so I added a fallback with the other option. Sadly neither work, and the joggler only boots from the USB stick when the hard disk is unplugged..
This is my grub.cfg if anyone can spot anything obviously stupid about it let me know!
The UUID shown here is for the /dev/sda3 partition which is where Ubuntu resides..
Despite using UUID in my grub.cfg, GRUB always tries to load the kernel from my external harddisk which is attached via the external USB port. I thouht this was because of the "set root=(hd0,1)" line in my grub.cfg so I added a fallback with the other option. Sadly neither work, and the joggler only boots from the USB stick when the hard disk is unplugged..
This is my grub.cfg if anyone can spot anything obviously stupid about it let me know!
Code: Select all
set timeout=2
set default=0
set fallback=1
menuentry "Ubuntu 10.10 (Maverick) - 2.6.34.7joggler3" {
set root=(hd0,1)
linux /vmlinuz-2.6.34.7joggler3 root=UUID=827bb11e-011c-484e-9875-597f6a400b88 acpi=force ro quiet
initrd /initrd.img-2.6.34.7joggler3
}
menuentry "Ubuntu 10.10 (Maverick) - 2.6.34.7joggler3 - fallback" {
set root=(hd1,1)
linux /vmlinuz-2.6.34.7joggler3 root=UUID=827bb11e-011c-484e-9875-597f6a400b88 acpi=force ro quiet
initrd /initrd.img-2.6.34.7joggler3
}