User Tools

Site Tools


linux:notes:woeusb

Information

  • For copying Windows images to USB drives

Download

  • 5.2.4
wget -O '/tmp/woeusb.bash' 'https://github.com/WoeUSB/WoeUSB/releases/download/v5.2.4/woeusb-5.2.4.bash' && chmod +x '/tmp/woeusb.bash'

Dependencies

sudo zypper install -y wimtools grub2-i386-pc
sudo apt install wimtools grub-pc -y
sudo dnf install 'wimlib-utils' -y

Debian

  • :?: 2026/04/25: grub-pc removes grub-efi-amd64
sudo apt install wimtools grub-pc
sudo apt install grub-efi-amd64

USB Wipe

lsblk
sudo umount '/dev/sda'*
sudo wipefs -a -f '/dev/sda' && sudo dd if='/dev/zero' of='/dev/sda' count='18096'

Windows ISO

W10

  • FAT32
sudo '/tmp/woeusb.bash' --tgt-fs 'FAT' -l 'W10' --device ~/'Downloads/en-us_windows_10_iot_enterprise_ltsc_2021_x64_dvd_257ad90f.iso' '/dev/sda' && sync
sudo fsck.fat -a -w -v '/dev/sda1'

W11

  • NTFS
sudo '/tmp/woeusb.bash' --tgt-fs 'NTFS' -l 'W11' --device ~/'Downloads/en-us_windows_11_iot_enterprise_ltsc_2024_x64_dvd_f6b14814.iso' '/dev/sda' && sync
sudo fsck.fat -a -w -v '/dev/sda2'

7z Alt

  • x is folder to mounted USB folder
7z x ~/'Downloads/en-us_windows_10_iot_enterprise_ltsc_2021_x64_dvd_257ad90f.iso' -o'x'
/srv/www/wiki/data/pages/linux/notes/woeusb.txt · Last modified: by Sean Rhone

Except where otherwise noted, content on this wiki is licensed under the following license: CC0 1.0 Universal
CC0 1.0 Universal Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki