How to Install Grub2 on USB from Linux: In the following tutorial, I'll show you one way to easily install Grub2 to a USB Flash Drive from a running Live Ubuntu Operating Environment. I personally used an Ubuntu Live CD to perform all of the following steps.Note: This Grub2 USB Flash Drive Install tutorial assumes you will be running from an Ubuntu Live CD to create your Grub2 enabled Flash Drive. It may or may not work from another Linux operating environment.
Grub2 USB Install From Ubuntu Live CD Essentials:
- Ubuntu Live CD
- A PC that can boot from USB/CD
- 1GB or larger USB Flash Drive
- No Fear of the Terminal
Before proceeding, take note:
Old versions of grub used
while current versions use
If you do use the wrong syntax, you will receive an error stating "Installation is impossible. Aborting"
- Boot from your Live Ubuntu Linux CD
- Once booted, insert your USB Flash Drive
- Open a terminal and type
fdisk -l(and note which device is your USB)
mkdir /mnt/USB && mount /dev/sdx1 /mnt/USB(replacing x with your actual usb device)
grub-install --force --no-floppy --boot-directory=/mnt/USB/boot /dev/sdx(replacing x with your actual USB device)
df(and locate where cdrom is mounted I.E.
dd if=/dev/sr0 of=/mnt/USB/ubuntu.iso(replacing sr0 with the device found in step 9)
- Remove your Live CD and reboot your PC, setting your BIOS or Boot Menu to boot from the USB device.
Install GRUB2 on USB from Ubuntu Linux published under Flash drive installs using Live CD Boot Ubuntu ISO from Grub2, Grub2 Flash Drive, Grub2 Ubuntu 9.10 USB, Grub2 USB Install