[ SOLVED ] WoeUSB getting stuck at Github download on Ubuntu 20.10

If you have been trying to create a Windows 10 bootable USB stick on Ubuntu, using the popular WoeUSB tool, chances are you are getting stuck at downloading uefi-ntfs.img from github. 

https://github.com/pbatard/rufus/raw/master/res/uefi/uefi-ntfs.img
Resolving github.com (github.com)... 64:ff9b::8c52:7004, 140.82.114.4
Connecting to github.com (github.com)|64:ff9b::8c52:7004|:443... 

This time-out error is due to an IP issue with the way the Wget command is trying to get the uefi-ntfs.img file from Github. 

"wget --directory-prefix="${download_directory}" https://github.com/pbatard/rufus/raw/master/res/uefi/uefi-ntfs.img" 

To fix this, you can just add a -4 after the wget so that wget resolves the GitHub address properly. However, since you can't manually change this command when running the WoeUSB tool ( unless you go into the source file and then make a new version of WoeUSB ), we will have to find another way.

Easy Fix - Use the alternate WoeUSB-ng software.

WoeUSB-ng is a python rewrite of the original WoeUSB. I can tell you this variant do not have the above issue we faced when creating a bootable Windows USB stick.

How to Install WoeUSB-ng in Ubuntu? Enter the following commands

sudo apt install git p7zip-full python3-pip python3-wxgtk4.0
sudo pip3 install WoeUSB-ng

Now run the WoeUSB-ng UI. Select the ISO file and correct USB drive and go ahead with your installation. ( Note: Use an NTFS drive instead of FAT as the latter has a 4GB limit and the processor will fail as there is a file in the ISO that is larger than 4GB ).

Tested on: Ubuntu 20.10.




Comments