woeusb
Create bootable Windows USB drives
TLDR
Create bootable USB (format device)
$ woeusb -d [path/to/windows.iso] [/dev/sdX]
Create bootable partition (no format)$ woeusb -p [path/to/windows.iso] [/dev/sdXN]
SYNOPSIS
woeusb [OPTIONS] SOURCE TARGET
DESCRIPTION
woeusb is a Windows media creation tool for Linux. It creates bootable Windows USB installation drives from ISO images.The --device mode formats the entire USB drive. The --partition mode preserves existing data on other partitions.
PARAMETERS
-d, --device
Format entire device and make bootable (wipes all data)-p, --partition
Use existing partition without erasing other partitions--target-filesystem FS, --tgt-fs FS
Target partition filesystem: FAT or NTFS (device mode only)-l LABEL, --label LABEL
Filesystem label for the created partition (device mode only)--workaround-bios-boot-flag
Toggle the partition boot flag for BIOSes that require it-v, --verbose
Enable verbose output--no-color
Disable colored output-h, --help
Display help message-V, --version
Print version information
INSTALL
nix profile install nixpkgs#woeusb
CAVEATS
Device mode erases all data on the USB drive. Requires sufficient USB drive size. UEFI boot may require FAT32 filesystem. Some Windows ISOs may not work correctly.
