On 30.09.2009 08:20, Vladimir 'phcoder' Serbinenko wrote:
[...] A workaround could be following:
losetup /dev/loop0 /dev/sdb1
Why do I need to create a loop device for the first partition?
grub-install --root-directory=/mnt/usb /dev/loop0
This will give a GRUB error, saying that there's no matching device for
/dev/loop0 in my device.map. After removing the device.map and by
letting GRUB create it automatically, I get "Invalid device `/dev/loop0'."
Don't forget to apply fezie's bugfix for root-directory
Yeah this is already applied since I tried to install it into the
primary partition via "--root-directory=/mnt/mount /dev/sdb1".
--
Mierswa, Daniel
If you still don't like it, that's ok: that's why I'm boss. I simply
know better than you do.
--- Linus Torvalds, comp.os.linux.advocacy, 1996/07/22
_______________________________________________
Grub-devel mailing list
Grub-devel@gnu.org
http://lists.gnu.org/mailman/listinfo/grub-devel