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?