Creation of Windows 11 USB installation stick under Linux
To create a USB stick for installing Windows 11 systems under Linux, the simple WoeUSB Bash script can be used.[1] Information on the subsequent Windows 11 installation can be found in the article Installation of Windows 11.
Creation of an USB stick
For the execution of woeusb, the following package is required:
sudo apt install wimtools
A Windows ISO image can be transferred on a /dev/sdX USB stick as follows:
sudo ./woeusb-VERSION.bash --device Image.iso /dev/sdX
The following example shows the transfer of a Windows 11 enterprise Eval ISOs on a USB stick (in this case /dev/sda - Attention: Make sure you specify the device of the USB stick here; the data carrier will be completely overwritten!):
werner@x390:~/Downloads$ sudo ./woeusb-5.2.4.bash --device 22631.2428.231001-0608.23H2_NI_RELEASE_SVC_REFRESH_CLIENTENTERPRISEEVAL_OEMRET_x64FRE_de-de.iso /dev/sda WoeUSB v5.2.4 ============================== Info: Mounting source filesystem... Info: Wiping all existing partition table and filesystem signatures in /dev/sda... /dev/sda: 5 bytes were erased at offset 0x00008001 (iso9660): 43 44 30 30 31 /dev/sda: 2 bytes were erased at offset 0x000001fe (dos): 55 aa /dev/sda: 8 bytes were erased at offset 0x00000200 (gpt): 45 46 49 20 50 41 52 54 /dev/sda: 8 bytes were erased at offset 0x728fffe00 (gpt): 45 46 49 20 50 41 52 54 /dev/sda: 2 bytes were erased at offset 0x00000000 (mac): 45 52 /dev/sda: calling ioctl to re-read partition table: Success Info: Ensure that /dev/sda is really wiped... Info: Creating new partition table on /dev/sda... Info: Creating target partition... Info: Making system realize that partition table has changed... Info: Wait 3 seconds for block device nodes to populate... mkfs.fat 4.2 (2021-01-31) mkfs.fat: Warning: lowercase labels might not work properly on some systems Info: Mounting target filesystem... Info: Copying files from source media... Splitting WIM: 5174 MiB of 5174 MiB (100%) written, part 2 of 27% Finished splitting "./sources/install.wim" Info: Installing GRUB bootloader for legacy PC booting support... Installing for i386-pc platform. Installation finished. No error reported. Info: Installing custom GRUB config for legacy PC booting... Info: Done :) Info: The target device should be bootable now Info: Unmounting and removing "/tmp/woeusb-source-20240314-140036-Thursday.kCreyN"... Info: Unmounting and removing "/tmp/woeusb-target-20240314-140036-Thursday.XCuanc"... Info: You may now safely detach the target device
References
- ↑ WoeUSB Releases (github.com)
|
Author: Werner Fischer Werner Fischer, working in the Knowledge Transfer team at Thomas-Krenn, completed his studies of Computer and Media Security at FH Hagenberg in Austria. He is a regular speaker at many conferences like LinuxTag, OSMC, OSDC, LinuxCon, and author for various IT magazines. In his spare time he enjoys playing the piano and training for a good result at the annual Linz marathon relay.
|
|
Translator: Alina Ranzinger Alina has been working at Thomas-Krenn.AG since 2024. After her training as multilingual business assistant, she got her job as assistant of the Product Management and is responsible for the translation of texts and for the organisation of the department.
|


