How To Create a Windows Bootable USB on Linux
For this tutorial we will need the following:
- ISO WINDOWS 10
- USB Drive with a minimum of 6 GB of free space
What is WoeUSB?
WoeUSB is a simple tool that has been developed to allow us to create our own Windows Stick installer from an iso image or a real DVD. It is a WinUSB container of Congelli501.
It is composed of two sections:
- WoeUSB: It is a command line utility that allows us to create our USB storage device for Windows boot installation from an installation disk or an existing disk image in Windows
- WoeUSBgui: It's a WoeUSB GUI interface based on WxWidgets
The images compatible with WoeUSB are: Windows Vista, Windows 7, Windows 8, Windows 10 in all languages and any version (home, pro, etc.) and is compatible with Windows PE.
It will also be possible to create installation means for 32 and 64-bit architectures.
Compatible boot modes in WoeUSB
- Legacy boot style / MBR-style / IBM compatible with PC
- Boot native UEFI is compatible with Windows 7 and subsequent images (with a limitation of only the FAT file system can be used as the destination file system)
Now we will see how to install WoeUSB in Ubuntu 16.04 and thus create our Bootable USB
Install WoeUSB on Ubuntu, Debian & Fedora
Although its use and installation are more frequent in Ubuntu and its derivatives, such as Linux Mint, we can install it in the other available distros.
In the case of Ubuntu, a PPA repository is available for installation
For this we execute the following line to download the PPA repository:
sudo add-apt-repository ppa:nilarimogard/webupd8
Later we will update the packages executing the following:
sudo apt update
Finally, we install WoeUSB running the following line:
sudo apt install woeusb
For Debian, we must go to the next page and there download the file corresponding to the Debian version:
Finally, we execute the following lines for its installation:
cd ~/Downloads sudo dpkg -i *.deb
For Fedora we can download the source code which is from Github in the following link:
Later we run the following for its compilation:
sudo dnf install wxGTK3-devel git
How To Format the USB device in Ubuntu
It is essential that if the USB Device has some information, we proceed to support it since it will be necessary to format the device and everything will be erased.
For this we will connect the USB device to the Ubuntu computer, open “Files” and right click on the USB drive and select the “Format” option:
In the expanded window we must select the option “Compatible with most systems” (NTFS) in the “Type” field. This is because NTFS is the file system of Windows. Once selected this option we will click on the “Format” button
Run WoeUSB on Ubuntu
To access the WoeUSB application, we can click on the “Search” option on this computer and enter the name of it.
Once opened, we will select the following:
- The ISO image of Windows 10 in the From a disk image (iso) field
- The USB device in the Target device section
Once confirmed these points click on “Install.”
Entering administrator credentials will be necessary. Click on “Authenticate”
There will start the copy of the installation files:
The following window will be displayed where we will see the contents of the USB device. Finally, the process can take between 15 to 20 minutes; we will see that the creation of the bootable USB device has finished correctly:
We can see how WoeUSB is an ally that will undoubtedly be very useful in our support and management tasks.