How to use UnetBootin to create a bootable USB for Windows 7

UnetBootin is very useful for creating a bootable USB for your favorite Linux distro. What some people may not know is that it can be used to create a bootable USB for Windows 7 as well. In this article, I will show you how to do the task.

Step 1:  Get an ISO image of Windows 7. You can either rip it from the installing DVD, download it from Microsoft's official page or torrent it.

Step 2: Get a USB that has enough free space for the ISO ( a 8GB USB is preferable). One thing you should remember is that you have to format the USB into NTFS filesystem to boot Windows 7 ( which is the opposite to a bootable USB for Linux, when FAT is used).

The easiest way to format your USB to NTFS is to use the command line. First, run the following command to know the name of the USB:
sudo fdisk -l

Next, after knowing the name of the USB ( let's say it is /dev/sdb1 ) run this command to format it into NTFS:
sudo mkfs.ntfs /dev/sdb1

 Step 3: Get Unetbootin.

This sounds simple because you can just download UnetBootin from the software repository of your Linux distro. However, the current version of UnetBootin that you download from the repository doesnt recognize your USB when it's in NTFS format. You may get this message if using the default version of UnetBootin:

Unetbootin USB not found


The solution is to use the 494 version of Unetbootin, just download the 4th file:

Unetbootin NTFS usb

After downloading UnetBootin 494, you will need to make the file executable. Open the terminal in the downloading folder and run the following command:
sudo chmod +x unetbootin-linux-494

Next, just double click on the Unetbootin 494 file to run it. The GUI of this version of Unetbootin will be a little different from that of the default Unetbootin. You will see there is an option called "Show all devices (Use with care)", tick that option and you will be able to select your NTFS USB:

Unetbootin NTFS USB recognize

Now you just need to select the ISO image of Windows 7 and create a bootable USB just like how you create a bootable USB for a Linux distro. It will take more time to create the bootable USB for Windows 7 than for a typical Linux distro since the ISO image is pretty large.

Step 4: Reboot your computer. Go to the bios to set it to boot from USB.
linux tips and tricks