This was VERY irritating to figure out. So here are the steps to create an installation usb for Windows manually.
- Download the installation iso from Windows (https://www.microsoft.com/en-us/software-download/windows10ISO)
- Prepare the usb drive
- sudo gparted (or cfdisk, whatever)
- Create partition table of
GPT
- Create 2 partitions
- fat32 partition of 1024MB with label BOOT (mark it bootable)
- ntfs partition of the rest of the size, label it INSTALL
- Mount the installation iso locally (can right click and "mount" or whatever)
- Copy all the files in the root of the iso except for the
sources
folder into theBOOT
mount - Create a directory in the
BOOT
mount calledsources
and copy specifically theboot.wim
file from the iso/sources directory (yes, there will only be one file in this directory) - Copy all of the iso into the
INSTALL
mount. - Unmount, eject and enjoy life.
If you're getting errors when it attempts to install, you can try option 2. This time we'll only have a single FAT32 partition. This would normally be a problem since install.wim
is too big to fit on a FAT32 partition. However, we can use Windows to split it up.
- Format your thumb drive to use GPT and a single FAT32 partition (say, 16G or so)
- Download the iso, same as above
- Mount the iso on Windows and copy over everything except for the sources/install.wim (you won't be able to, FAT32 will complain)
- In an elevated terminal, convert the install.wim into split wim format:
Dism /Split-Image /ImageFile:F:\sources\install.wim /SWMFile:E:\sources\install.swm /FileSize:3800
In this case the F:\sources\install.wim
is the Windows mounted file and the E:
drive is the thumbdrive I'm writing directly to. That's it. Unmount and use it to install.