In this tutorial, we are going to see how to create a bootable Microsoft Window 10 USB thumb drive under Ubuntu or Linux Mint. You can follow this guide only if you fail to create a bootable USB drive for Windows 10 using third-party Live-USB creators.

This method has worked for me and hope it may work for you as well, but be careful when using the commands given below so that you don't get into troubles.

A. Installing EFI/UEFI GRUB2 Boot loader On USB Drive

To be able to create a bootable Windows 10 USB drive, we need first to install the GRUB boot loader on your USB stick. In this tutorial, the USB drive is mounted in /dev/sdb, you can check yours using this command:

sudo fdisk -l

For the GRUB boot loader to work properly on your USB flash drive, you need to format the drive in FAT32. You can format it using this command:

sudo mkfs.vfat  -I /dev/sdb1

Here are now the instructions:

1. Let's create a GPT partition table and a FAT32 partition using these commands:

sudo apt-get install gdisk 
sudo sgdisk --zap-all /dev/sdb 
sudo sgdisk --new=1:0:0 --typecode=1:ef00 /dev/sdb 
sudo mkfs.vfat -F32 -n GRUB2EFI /dev/sdb1

Now mount the USB drive using this command:

sudo mount -t vfat /dev/sdb1 /mnt -o uid=1000,gid=1000,umask=022

Finally, install Grub2 using this command:

sudo grub-install --removable --boot-directory=/mnt/boot --efi-directory=/mnt/EFI/BOOT /dev/sdb

You have now a bootable USB drive with the GRUB2 bootloader.

B. Copy Windows 10 Files 

Copy now the Windows 10 files to your USB drive. If you don't have the Windows 10 DVD on your optical drive, you can instead mount the iso file under Ubuntu using this command:

mount -t  loop windows10.iso /mnt

Then copy all the Windows 10 installation files to your USB drive:

C. Booting into USB Drive

Now boot your computer/laptop from the USB drive. When the Grub2 boot screen appears, enter these commands:

insmod fat 
chainloader +1 

Your computer will now boot into Windows 10, proceed with the installation of the operating system.

Post a Comment