woeusb(1)
β¨ woeusb(1) β¨
okay bestie, buckle up π this is the woeusb(1) page from the WoeUSB User Manual, and it's literally about turning a Windows install DVD or ISO into a bootable USB. no cap, it's iconic. π
πΈ NAME πΈ
woeusb β Bootable Windows installation/PE USB storage creator π
π¦ SYNOPSIS π¦
woeusb [OPTIONS] --device|--partition source_media target_media
β¨ DESCRIPTION β¨
so woeusb is a command-line utility that lets you create your very own bootable Windows installation USB storage device from an existing Windows Installation DVD or its ISO image. main character energy fr fr. π
basically what it does: it extracts all files from source_media to target_media, then installs GNU GRUB bootloader and a small configuration into it so it can support chainloading Windows BOOTMGR. π«Ά
it also supports the UEFI bootstrap scheme β but in that case, the Windows UEFI bootloader is used instead. β¨
π COMMAND-LINE OPTIONS π
π₯ CREATION METHOD π₯
--device/-dsource_mediatarget_deviceβ dropstarget_device's partition table (if there's any), creates a new PC/Legacy/MBR partition table, creates a FAT32/NTFS partition spanning (almost) the entire disk, then sets up bootable Windows on it.
β οΈ WARNING: ALL PREVIOUS DATA ON target_device WILL BE DROPPED! like, gone gone. π
--partition/-psource_mediatarget_partitionβ mountstarget_partition's file system, extracts all files fromsource_mediainto it, then makes it bootable.
β οΈ WARNING: ALL FILES EXISTING ONtarget_partitionWITH THE SAME FILENAME INsource_mediaWILL BE OVERWRITTEN! π
π MISCELLANEOUS π
--help/-hβ print application help message--version/-Vβ print application version--about/-abβ print info about this application--verbose/-vβ be more verbose (yes, more talking, we love that)--debugβ enable script debugging--no-colorβ disable message coloring πβ‘οΈβ¬--label/-lfilesystem_labelβ specify label for the newly created file system in--devicecreation method
note that the label is not verified for validity and may be illegal for the filesystem π so maybe don't go feral with it
--workaround-bios-boot-flagβ apply workaround for buggy BIOSes that doesn't consider a device bootable if none of its partition's boot flag is toggled. lowkey a lifesaver for cursed hardware π§--debugging-internal-function-callfunction_name(function_parameters...) β development option for developers to test certain function without running the entire build π©βπ»--target-filesystem/--tgt-fsfilesystem_nameβ specify the filesystem to use as the target partition's filesystem. Currently supported:FAT(default)/NTFSβ
π EXAMPLES π
we love examples! literally obsessed. ππ
Completely DESTROY all previous data on a USB storage device, recreate the partition table and the target partition, copy the Windows files, and make it bootable
# woeusb --device win7_amd64.iso /dev/sdX
# woeusb --device /dev/sr0 /dev/sdX
Copy Windows files to an existing FAT partition of a USB storage device and make it bootable
# woeusb --partition win7_amd64.iso /dev/sdX1
# woeusb --partition /dev/sr0 /dev/sdX1
β EXIT STATUS β
0when success π1(and non-zero if there's any) when failure π
π BUGS π
refer to our issue tracker for any known issues π
π SEE ALSO π
woeusbgui(1)
π AUTHORS π
- Colin GILLE / congelli501 <colingille@hotmail.com>
- ζεδ»(Buo-ren, Lin) <Buo.Ren.Lin@gmail.com>
okay that's the whole page bestie, you're SO ready to make a bootable Windows USB now π«Άβ¨ this was WoeUSB 5.2.4 giving woeusb(1) real main character energy β go forth and slay π
ππ
π¦ where this page comes from
- nixos 26.05: woeusb 5.2.4
- nixpkgs unstable: woeusb 5.2.4
- π the page's license: GPL-3.0-or-later
- Copyright Β© 2021 ζεδ»(Buo-ren, Lin) <Buo.Ren.Lin@gmail.com>
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms