Tell me more ×
Unix & Linux Stack Exchange is a question and answer site for users of Linux, FreeBSD and other Un*x-like operating systems.. It's 100% free, no registration required.

I am trying to follow this answer but keep getting stuck with the following errors:

me@greenlane:~$ sudo grub-install --boot-directory=/boot /dev/sdc
/usr/sbin/grub-bios-setup: warning: File system `ext2' doesn't support embedding.
/usr/sbin/grub-bios-setup: error: embedding is not possible, but this is required for cross-disk install.

I don't really know what's going wrong, but I get this 'embedding is not possible' error with every single filesystem I use. (I want to use ext2 because this is a thumb drive and I want to minimize the number of reads and writes.)

Anyway, I googled the error and came up with this page.

Alternate method (grub-install) Tip: This procedure is known to be less reliable, the recommended method is to use the GRUB shell. Use the grub-install command followed by the location to install the bootloader. For example to install the GRUB bootloader to the MBR of the first drive: grub-install /dev/sda GRUB will indicate whether it successfully installs. If it does not, you will have to use the GRUB shell method.

So apparently it's possible (and recommended?) to install grub2 from the grub command shell. I'd like to try it at least, because I quite like the grub shell, and I'm always interested in knowing how to use it better. So, how can I use the grub2 shell to install grub to a flash drive formatted as ext2?

share|improve this question
2  
The quote you posted from the debian user forums is taken from the Arch wiki page for GRUB legacy, not from the GRUB2 page. – don_crissti Feb 26 at 19:17

Know someone who can answer? Share a link to this question via email, Google+, Twitter, or Facebook.

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Browse other questions tagged or ask your own question.