How to make a bootable Windows 10 USB on Linux with WoeUSB

USB stick Is a Linux tool for creating a bootable Windows USB stick from an ISO or DVD image to install Windows.
This free and open source program has both a command line and a graphical user interface and supports any version of Windows 10, Windows 8.x and Windows 7 (Home, Professional, PE, etc.). In addition, it supports legacy and native UEFI boot modes.

Although the GUI doesn’t provide many options, you can specify various options when using WoeUSB from the command line.
The command line utility provides two ways to create a bootable Windows USB from Linux: completely erase the entire USB storage device and build a device mode of the bootable Windows USB device from scratch, and copy Windows files to an existing partition of Windows XP Partition mode. USB storage device and make it bootable.
The WoeUSB command line utility also allows specifying tags for newly created file systems, target file systems (FAT / NTFS), etc. WoeUSB 3.3.0, released a few days ago, has only one but important feature. The WoeUSB GUI now has an option that allows the user to select the target file system type (FAT or NTFS, default is FAT). This is important because there is a 4GiB file size limit on the FAT32 file system, so if the installation image is larger than 4GiB, WoeUSB cannot copy it to the target file system and displays the following error:

Installation failed!
Exit code: 256
Log:
WoeUSB v3.2.12
==============================
Mounting source filesystem...
Error: File "/media/woeusb_source_1555322460_15806/sources/install.wim" in source image has exceed the FAT32 Filesystem 4GiB Single File Size Limitation and cannot be installed.  You must specify a different --target-filesystem.
Refer: https://github.com/slacka/WoeUSB/wiki/Limitations#fat32-filesystem-4gib-single-file-size-limitation for more info.
Unmounting and removing "/media/woeusb_source_1555322460_15806"...
You may now safely detach the target device

The 4GiB file size limitation using WoeUSB GUI can now be overcome by choosing NTFS for the file system.
This is only a limitation in the WoeUSB GUI, as the command line utility allows selection between FAT and NTFS for a period of time. And Linux distribution ISO files).

Create a bootable Windows 10, 8.x, or 7 USB on Linux using WoeUSB (GUI)

How to use WoeUSB1. Unmount the USB drive partition.
To create a bootable Windows 10, 8.x, or 7 USB on Linux with WoeUSB, first unmount the USB drive (if there are multiple partitions, suspend all of them), but make it available to the system.
You can uninstall it using GParted: select the USB drive from the drop-down menu in the upper right corner, then right click on each partition and then Unmount. You can also unmount all USB drive partitions from the command line (Source: AskUbuntu), like this:

ls /dev/sdX?* | xargs -n1 umount -l

Replace sdX USB drive device name. If you don’t know the device name, you can start WoeUSB and it will show the device name in the window. Target device section. E.g, sdd (/dev/sdd).
This step is necessary because USB devices are automatically installed on most Linux desktops, which will cause WoeUSB to fail with the following errors:

Installation failed!
Exit code: 256
Log:
WoeUSB v3.3.0
==============================
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.

2. Select Windows 10, 8.x or 7 ISO and target USB device.
You can now launch WoeUSB from the application menu. Select Windows ISO or CD / DVD in the window Source Section and click on the USB drive where WoeUSB will write Windows files in the application Target device section. Make sure you select the correct USB device! All data on the device will be lost.
If your USB drive is not listed in WoeUSB Target device Section, you can choose to show all drives in WoeUSB File Menu, but make sure you only do this if you know what you are doing, as all data on the target device will be lost! 3. Select NTFS as the file system type.
To avoid the error that the source image has exceeded the 4GiB single file size limit of the FAT32 file system, select NTFS In WoeUSB File system Section 4 uses Windows 10, 8.x, or 7 to create a bootable USB.
All you have to do now is click Install Button to start creating bootable USB with Windows 10, 8.x, or 7.
For information on how to use the WoeUSB command line utility to create a bootable Windows USB, run woeusb --help See available options.

Download WoeUSB

Have The official WoeUSB software package Available for Fedora, openSUSE and Gentoo, available in the repository. At the time of writing, they have not been updated to the latest WoeUSB version! The only WoeUSB package updated to the latest version is unofficial (user-created) Arch Linux with Ubuntu / Linux Mint (Scroll down and you will find the latest WoeUSB DEB software package at the bottom of the page).
You can also build WoeUSB From source (Notes on Debian-based Linux distributions, Fedora and openSUSE).

Source

Sidebar