Windows 11 USB Installationsstick unter Linux erstellen
Um unter Linux einen USB-Stick zur Installation von Windows 11 Systemen zu erstellen, kann das einfache WoeUSB Bash Skript verwendet werden.[1]
Erstellen des USB Sticks
Für das Ausführen von woeusb ist folgendes Paket zuvor erforderlich:
sudo apt install wimtools
Ein Windows ISO Image kann danach folgendermaßen auf einen USB-Stick /dev/sdX übertragen werden:
sudo ./woeusb-VERSION.bash --device Image.iso /dev/sdX
Das folgende Beispiel zeigt die Übertragung eines Windows 11 Enterprise Eval ISOs auf den USB-Stick (in diesem Fall /dev/sda - ACHTUNG: stellen Sie sicher, dass Sie hier das Device des USB-Sticks anführen, der Datenträger wird dabei vollständig überschrieben!):
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
Einzelnachweise
- ↑ WoeUSB Releases (github.com)
Autor: Werner Fischer Werner Fischer arbeitet im Product Management Team von Thomas-Krenn. Er evaluiert dabei neueste Technologien und teilt sein Wissen in Fachartikeln, bei Konferenzen und im Thomas-Krenn Wiki. Bereits 2005 - ein Jahr nach seinem Abschluss des Studiums zu Computer- und Mediensicherheit an der FH Hagenberg - heuerte er beim bayerischen Server-Hersteller an. Als Öffi-Fan nutzt er gerne Bus & Bahn und genießt seinen morgendlichen Spaziergang ins Büro.
|