Code: Select all
title Ubuntu intrepid (development branch), kernel 2.6.27-7-generic
root (hd0,0)
kernel /boot/vmlinuz-2.6.27-7-generic root=UUID=a8aa4adb-b3e6-4e1d-b4ad-e6cd704788b2 ro
initrd /boot/initrd.img-2.6.27-7-generic
Sure, but I want to be able to boot this on any system and I also want to be able to boot this in vmplayer. I'm thinking now, that the way to do this is to put the kernel on the boot CD and everything else on the USB drive. It'll be a pain to have to burn out a new boot CD with every kernel upgrade, but it seems to be the only option here.DONAHUE wrote:The (hd0,0) passed by bios to grub is virtually always the drive selected as boot drive by you in your BIOS.
Assuming your motherboard has choices to allow booting a usb drive you can select it in BIOS and use (hd0,0) in the grub root line and root=UUID= in the grub kernel line. This will save trouble with the kernel device naming.
Code: Select all
ls -l /dev/disk/by-uuid