I tested the current
woeusb from the PPA (running a persistent live Lubuntu 18.04.1 LTS), and the following command lines work for me.
sudo add-apt-repository ppa:nilarimogard/webupd8
sudo apt update
sudo apt install woeusb
sudo woeusb --target-filesystem NTFS --device path/windows.iso /dev/sdx
In my case the iso file was in
/media/lubuntu/usbdata/images/ and the target device was
/dev/sdb, but in your case check carefully that you will write to the intended drive (avoid destroying valuable data in some other drive),
sudo woeusb --target-filesystem NTFS --device /media/lubuntu/usbdata/images/windows.iso /dev/sdb
Notice that all partitions on the target device must be unmounted.
The created USB boot drive has a small FAT partition (for UEFI boot) and a big NTFS partition with the Windows files. It can install Windows both in BIOS and UEFI mode with
woeusb 220.127.116.11 (dated 2018-09-19 (Sept 19 2018) in the PPA).
Using NTFS makes it is possible to use file size > 4 GiB. The size of
smaller than 4 GiB in some of Microsoft's own iso files, for example in
greater than 4 GiB for some iso files for particular computers, OEM, but also in several of Microsoft's own iso files, for example
$ <<<'scale=3;4396229344/2^30' bc
4.094 # > 4 GiB
$ <<<'scale=3;4386496792/2^30' bc
$ <<<'scale=3;4401709065/2^30' bc
$ <<<'scale=3;4404104344/2^30' bc
There is also a GUI version
woeusbgui. I don't think is has the option to create a target drive with a FAT file system for UEFI plus an NTFS filesystem, so I would recommend using the command line version
You can do it yourself with detailed help at
This method works in both BIOS and UEFI mode and also with secure boot. (But in most cases it should be possible to turn off secure boot, use the drive created by
woeusb, and turn on secure boot again.)
Thanks @John for your comment that there should be no space character in the source file name. If there is you can rename the file, and then
Thanks @qbit. This did not solve my problem but your idea of a parsing
error helped me to realize that it does not like having a space in the
source filename. That got me to move one step forward.