How to install WoeUSB on Ubuntu 20.04 LTS
WoeUSB
is an open-source tool to create Windows USB bootable installation
sticks from an ISO file or DVD on Linux systems. The program supports
Windows 7, Windows 8.1, and Windows 10 ISO files and can be used via
a graphical user interface or in a terminal. Yes, we can use its
command-line utility called woeusb
or
the graphical version based on WxWidgets, a GUI wrapper for woeusb
.
The boot types supported by this Linux bootable USB maker are:
Legacy / MBR-style / IBM PC compatible boot mode
Native UEFI booting on FAT32 on the stick
Here in this tutorial, will let you know the ways to install WoeUSB on Ubuntu 20.04/19.10/19.04/18.10/18.10/17/16.04, Linux Mint, Debian, and Elementary. There are two to install WoeUSB one is by adding its repository and the second one using SNAP packages. However, the snap method didn’t work after the installation of this Windows bootable USB maker, it wouldn’t open at all, and somehow it opened but didn’t recognize the attached USB drive.
Command-line – Latest version
The latest version of WoeUSB is an available bash command tool to run without performing any kind of installation.
sudo apt install git p7zip-full python3-pip python3-wxgtk4.0 grub2-common
grub-pc-bin wimtools
Download WoeUSB:
Go to GitHub, here is the Link and download the latest release:
Make the file executable
chmod +x woeusb-5.2.4.bash
Now, run it:
./woeusb-5.2.4.bash
Note: You will see the options that can be used via the above command-line tool.
WoeUSB-ng with GUI
Add repo
echo 'deb http://download.opensuse.org/repositories/home:/Provessor/
xUbuntu_20.04/ /' | sudo tee /etc/apt/sources.list.d/home:Provessor.list
Add GPG key
curl -fsSL https://download.opensuse.org/repositories/home:Provessor/
xUbuntu_20.04/\ Release.key | gpg --dearmor | sudo tee /etc/apt/trusted.gpg.d/home_
Provessor.gpg > /dev/null
Run system update
sudo apt update
Install:
sudo apt install woeusb
Now, go to Application Launcher and search for this USB tool.
—————————————————————————————-
Note: If you just looking for a USB create to write a Windows ISO image then you can see –
——————————————————————————————————————
Install WoeUSB in Ubuntu
Let’s first see the method where we install WoeUSB on Ubuntu by adding an APT repository. Here are the commands:
Add WoeUSB repository
sudo add-apt-repository ppa:nilarimogard/webupd8
The above command will ask you to press Enter to add the repo.
Run system update command:
Once the above repo gets added to your Ubuntu system, run the update command to make sure
the apt-cache got cleared and it could recognize the added repository.
sudo apt update
Now, download and run the WoeUSB installation command:
sudo apt install woeusb
If you get the following error:
Reading package lists... Done
Building dependency tree
Reading state information... Done
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:
The following packages have unmet dependencies:
woeusb : Depends: libwxgtk3.0-0v5 (>= 3.0.4+dfsg) but it is not installable
Then, first, we have to install the libwxgtk3.0 manually. Here is the command to do that:
wget http://mirrors.kernel.org/ubuntu/pool/universe/w/wxwidgets3.0/
libwxgtk3.0-0v5_3.0.4+dfsg-3_amd64.deb
Now, install it:
sudo dpkg -i filename
Replace the filename with the package you downloaded above or simply run the below command:
sudo dpkg -i libwxgtk*_amd64.deb
Again, run the update command:
sudo apt update
Finally, install WoeUSB, this time you will not get any error at all.
sudo apt install woeusb
The output for the above command:
How to use WoeUSB to create a Windows bootable drive on Ubuntu
Once you have successfully installed the software, it’s time to run it. Go to Activities and in the applications search for WoeUSB, when its icon appears, click it to run the program.
Run WoeUSB
Click on the folder icon to open file explorer, select the Windows ISO file that you want to use to create a bootable USB drive.
Select filesystem you would like to use FAT or NTFS.
The WoeUSB will automatically detect and show the attached pen drives.
Select the one you want to use.
Finally, click on the INSTALL button.
In case you get an error when you hit the Install button. “Log: WoeUSB v3.3.1 ============================== Error: Target device is currently busy, unmount all mounted partitions in target device then try again Target device is busy, please make sure you unmount all filesystems on target device or shutdown the computer before detaching it.”
Go to the File Manager of Ubuntu, on the left side panel you will see your attached pen drive. Right-click on that and click on the Format button.
Now, select the For use with Windows (NTFS) file system and format your USB drive.
After that on WoeUSB, click on the Refresh button, select the Drive and again click on the Install button. This time it will be perfectly fine.