Oh yes. I almost forgot. You may need to use/run/install Grub in order to make the usb bootable with grub. I think UNetbootin uses syslinux, not Grub. You may need to run Grub from Linux on a LiveCD on your Windows box. The only tricky thing is that you can make your box unbootable if you screw up. Linux/Unix gives you enough rope to hang yourself and then a few feet more just to be sure.
Anyway, you need to figure out which device your usb is. It should show up as a scsi disk so the device name will be /dev/sd? where ? is a letter (sc = scsi disk). If the usb is mounted then the df command will show you the mount point every device is connected to which will let you figure out which one is the usb.
Just for kicks, assume your usb is /dev/sdc and the first partition is mounted at /mnt/sdc1. Then you will have to first copy the grub files into the first partition of the usb:
Code: Select all
$ su -
# mkdir -p /mnt/sdc1/boot/grub
# cp -a /usr/lib/grub/i386-pc/* /mnt/sdc1/boot/grub
# touch /mnt/sdc1/boot/grub/barlow
# grub
grub> find /boot/grub/barlow
(hd2,0)
grub> root (hd2,0)
grub> setup (hd2)
grub> quit
# exit
$
Notes: Grub uses numbers instead of letters: a -> 0, b -> 1, c -> 2, and so on. Likewise partition labeling in Grub starts with 0 instead of 1.
I had you touch the barlow file because the find command in grub will list every partition that has that file in that location. Only one (hd?,?) should show up. Then you KNOW this is the right partition to use. In the example above, if your usb is /dev/sdc then the Grub name should be hd2 (because c -> 2) but the find command in Grub makes doubly sure. This is important because Grub lumps scsi and IDE drives all together so if you have both scsi (SATA) and non-scsi (IDE or PATA) hard drives then the simple correspondence will be broken and you will need the Grub find command to let you know which partition to use.
I know this sounds convoluted and bizarre. Think of installing Grub as the parallel parking of the Linux world. It is a little tricky at first but once you've done it half a dozen times it is a piece of cake as long as your are careful. And it is incredibly useful. It's like learning CPR for you computer.