woeusb(1)

πŸ“¦ version 5.2.4, in nixos 26.05, nixpkgs unstable

✨ 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 / -d source_media target_device β€” drops target_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 / -p source_media target_partition β€” mounts target_partition's file system, extracts all files from source_media into it, then makes it bootable.
⚠️ WARNING: ALL FILES EXISTING ON target_partition WITH THE SAME FILENAME IN source_media WILL 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 / -l filesystem_label β€” specify label for the newly created file system in --device creation 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-call function_name (function_parameters...) β€” development option for developers to test certain function without running the entire build πŸ‘©β€πŸ’»
  • --target-filesystem / --tgt-fs filesystem_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 ⭐

  • 0 when 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