Create Windows 10 bootable usb from linux tested on Ubuntu 18.04.
Download windows 10 iso from here
Install woeusb from source (tested on ubuntu 18.04)
1 2 3 4 5 6 7 8 |
git clone https://github.com/slacka/WoeUSB.git cd WoeUSB/ ./setup-development-environment.bash sudo apt-get install devscripts equivs gdebi-core mk-build-deps sudo gdebi woeusb-build-deps_*.deb dpkg-buildpackage -uc -b sudo gdebi ../woeusb*.deb |
Make it bootable with woeusb
1 |
sudo woeusb --device win_10.iso /dev/sde --target-filesystem NTFS |
Tip: If woeusb starts to complain for mounted device etc … Unmount and unplug the usb device. Plug the usb and unmount the partition.
Updated: Using bash script
Install woeusb dependencies mentioned below.
Go to github repo and copy the link of the bash script of the latest release and download it using wget . In my case, during this update, is 5.2.2.
Install dependencies that will cause error
1 |
apt install -y wimtools libwim15 |
Download the woeusb bash script
1 |
wget https://github.com/WoeUSB/WoeUSB/releases/download/v5.2.2/woeusb-5.2.2.bash |
Make it bootable
In the same manner with command above, use this bash script to create your bootable usb stick. Don’t forget to change the path (absolute) to your windows.iso and your device name.
FAT32
1 |
bash woeusb-5.2.2.bash --device $yourPathToWindows.iso /dev/$yourDevice |
NTFS
1 |
bash woeusb-5.2.2.bash --device $yourPathToWindows.iso /dev/$yourDevice --target-filesystem NTFS |