grub-install error when trying to install to USB
Posted: Sat Jan 31, 2015 7:42 am
So far I have only tested my simple OS using Qemu. Now I want to install it on a USB and try and run it the real way.
I've followed this tutorial: http://wiki.osdev.org/GRUB_2#USB_instructions
The first time I got an error saying no 'EFI folder' was found. I fixed this by adding the target parameter like this:
When executing this command I see the following in the terminal:
I formatted the USB as FAT32 (as the tutorials requires), but it looks like FAT32 is not supported when trying to install with my target?
Does anyone got an idea how I might fix this problem?
I've followed this tutorial: http://wiki.osdev.org/GRUB_2#USB_instructions
The first time I got an error saying no 'EFI folder' was found. I fixed this by adding the target parameter like this:
Code: Select all
sudo grub-install --target=i386-pc --root-directory=/media/YourLabel --no-floppy --recheck --force /dev/sdc1
Code: Select all
Installing for i386-pc platform.
grub-install: warning: File system `fat' doesn't support embedding.
grub-install: error: embedding is not possible, but this is required for cross-disk install.
Does anyone got an idea how I might fix this problem?