I tried to create a Windows 10 USB boot medium with WoeUSB. I formatted a USB drive with an NTFS partition, but WoeUSB complains with:
Installation failed!
Exit code: 256
Log:
WoeUSB v@@WOEUSB_VERSION@@
==============================
Mounting source filesystem...
Error: File "/media/woeusb_source_1543626298_6098/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_1543626298_6098"...
You may now safely detach the target device
I've also tried to start WoeUSB via command line, did not work.
sudo woeusb --partition Win10_1809Oct_English_x64.iso /dev/sdb
My iso is located in:
home/sawyer/Downloads/Win10_1809Oct_English_x64.iso
Thanks in advance! I've been trying to get windows installed for three nights now, so any help towards that goal is greatly appreciated.
Best Answer
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.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),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 3.2.10.1
(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
install.wim
issmaller than 4 GiB in some of Microsoft's own iso files, for example in
Win10_1809Oct_Swedish_x64.iso
greater than 4 GiB for some iso files for particular computers, OEM, but also in several of Microsoft's own iso files, for example
Win10_1809Oct_English_x64.iso
Win10_1809Oct_EnglishInternational_x64.iso
Win10_1809Oct_German_x64.iso
Win10_1809Oct_Spanish_x64.iso
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 versionwoeusb
.Edit 1:
You can do it yourself with detailed help at
help.ubuntu.com/community/Installation/iso2usb/diy/windows-installer-for-big-files
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.)Edit 2:
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
woeusb
works.Edit 3:
There is a problem in Ubuntu 20.04 LTS.
Until this problem with
woeusb
is solved, you can use mkusb-plug according to this link:help.ubuntu.com/community/mkusb/plug
The tool
mkusb-tow
of mkusb-plug is now available also via dus (mkusb version 12.5.6). See this linkmkusb 12.5.6 with new installer for Windows
Edit 4:
A set of workaround commands for woeusb in Ubuntu 20.04 LTS is described in the following link,
NTFS partition service issue with creating Windows 10 bootable USB on Ubuntu