How to Install GRUB2 on USB from Windows

Install GRUB2 on USB from Windows: Need a reliable way to create a USB stick that boots from both BIOS and UEFI? This guide will show you how to install the Grub2 bootloader onto a USB flash drive directly from Windows. Using the grub-install.exe utility, you’ll prepare a highly compatible bootable USB device.

Create a GRUB2 BIOS & UEFI Bootable USB Stick

By following these steps, your Grub2 USB bootable USB drive should work on most 32-bit and 64-bit systems. You can also use this method to replace older Syslinux chainloaded Grub2 versions on tools like YUMI-UEFI. Though nowadays you should be using YUMI-exFAT.

Before proceeding, ensure you have the following:

  • A USB flash drive (preferably formatted as FAT32 for maximum compatibility).
  • Access to Windows with administrative rights.
  • A copy of the grub-2.06-for-windows.zip package or an equivalent Grub for Windows release.

An important note on Grub2 filesystem compatibility:

  1. Grub2 for BIOS (i386-pc) can be installed on exFAT, NTFS, or FAT/FAT32.
  2. Grub2 for UEFI (i386-efi / x86_64-efi) must be installed on a FAT/FAT32 partition but can chainload files from other formats like NTFS.

Installing Grub2 on USB from Windows

Here is the simple step-by-step process of installing Grub2 on USB from Windows:

Step 1: Download and Extract Grub2 for Windows

  1. Download Grub2 for Windows GNU package.
  2. Extract the contents of the zip file to your Windows desktop.
  3. Alternatively, you can download the a1ive Grub2 version for additional features.

You should now see a folder named grub-2.06-for-windows containing grub-install.exe and other related files.

grub2 for windows


Step 2: Open a Command Prompt

You’ll need to use a command line to run grub-install.exe.

  1. From the Windows ⌕ Type here to search box, type cmd.exe.
  2. Click Run as administrator.

open command prompt as admin


Step 3: Change to the Grub2 Directory

In the Command Prompt, type the following and press Enter:

cd %UserProfile%\Desktop\grub*for-windows

Step 4: Identify USB Drive and Disk Number

Open the Windows Disk Management Tool to determine your USB drive letter and disk number:

diskmgmt.msc

From the Disk Management Window, make a note of the Disk Number and Volume Drive Letter for your USB device.

Diskmgmt.msc


Step 5: Install Grub2 for BIOS

In the Command Prompt, type the following command, replacing X with your drive letter and # with your disk number:

grub-install.exe --force --no-floppy --target=i386-pc --boot-directory=X:\boot //./PHYSICALDRIVE#

Step 6: Install Grub2 for UEFI (32-bit)

Type the following command:

grub-install.exe --force --removable --no-floppy --target=i386-efi --boot-directory=X:\boot --efi-directory=X:\

Step 7: Install Grub2 for UEFI (64-bit)

Finally, type this command:

grub-install.exe --force --removable --no-floppy --target=x86_64-efi --boot-directory=X:\boot --efi-directory=X:\

Step 8: Verify Installation

If all went well, your USB Flash drive should now be bootable with Grub2. It will support BIOS and UEFI across 32-bit and 64-bit systems.

Grub2 on USB from Windows

If you used this tutorial on a YUMI-UEFI prepared drive, the Syslinux bootloader should now have been replaced with Grub 2 and you should now be utilizing a Grub USB bootloader, instead.

If you enjoyed this post, you might also be interested in learning how to manually create an exFAT bootable USB drive from Windows.