{"id":8364,"date":"2025-09-02T12:32:23","date_gmt":"2025-09-02T10:32:23","guid":{"rendered":"https:\/\/speefak.spdns.de\/oss_lifestyle\/?p=8364"},"modified":"2025-09-02T12:34:31","modified_gmt":"2025-09-02T10:34:31","slug":"windows-11-usb-installationsmedium-fuer-bios-legacy-unter-linux-erstellen","status":"publish","type":"post","link":"https:\/\/speefak.spdns.de\/oss_lifestyle\/windows-11-usb-installationsmedium-fuer-bios-legacy-unter-linux-erstellen\/","title":{"rendered":"Windows 11 USB-Installationsmedium f\u00fcr BIOS (Legacy) unter Linux erstellen"},"content":{"rendered":"<p>Microsoft sieht die Installation von Windows 11 ausschlie\u00dflich auf modernen UEFI-Systemen mit Secure Boot vor. In bestimmten Szenarien \u2013 etwa auf \u00e4lteren Rechnern ohne UEFI oder mit deaktiviertem Secure Boot \u2013 ist es jedoch erforderlich, ein Installationsmedium f\u00fcr den <strong>Legacy-BIOS-Modus<\/strong> zu erzeugen. Die zuverl\u00e4ssigsten Methoden zur Erstellung eines Windows-11-Installationsmediums unter Linux sind <strong data-start=\"99\" data-end=\"109\">WoeUSB<\/strong> oder <strong data-start=\"115\" data-end=\"125\">Ventoy<\/strong>. Die Verwendung von <strong data-start=\"149\" data-end=\"155\">dd<\/strong> oder <strong data-start=\"161\" data-end=\"171\">Etcher<\/strong> ist hingegen weniger verl\u00e4sslich, da Windows-ISOs nicht wie klassische Hybrid-ISOs strukturiert sind.<\/p>\n<p>Nachfolgend wird beschrieben, wie ein entsprechendes Installationsmedium unter Linux mit Hilfe von <strong>woeusb<\/strong> erstellt werden kann. Zus\u00e4tzlich werden alternative Verfahren unter Windows sowie notwendige Anpassungen w\u00e4hrend der Installation erl\u00e4utert.<\/p>\n<hr \/>\n<h2>Voraussetzungen<\/h2>\n<ul>\n<li>Ein Linux-System mit Root-Rechten<\/li>\n<li>Ein USB-Stick mit mindestens 8 GB (empfohlen 16 GB)<\/li>\n<li>Eine Windows 10 ISO-Datei (64-Bit, als Boot-Grundlage)<\/li>\n<li>Eine Windows 11 ISO-Datei (64-Bit, z. B. <em>Win11_24H2_German_x64.iso<\/em>)<\/li>\n<li>Installierte Werkzeuge:<\/li>\n<\/ul>\n<pre class=\"\">sudo apt update\r\nsudo apt install wimtools rsync\r\n<\/pre>\n<ul>\n<li>Das Hilfsprogramm <strong>woeusb<\/strong> (z. B. <a href=\"https:\/\/github.com\/WoeUSB\/WoeUSB\/releases\">WoeUSB von GitHub<\/a>)<\/li>\n<\/ul>\n<hr \/>\n<h2>Erstellung des Installationsmediums per Shell-Skript<\/h2>\n<p>Zur Automatisierung empfiehlt sich ein Shell-Skript. Nachfolgendes Beispiel kombiniert Windows 10-Bootdateien mit dem Windows 11-Installationsabbild und \u00fcbertr\u00e4gt das Ergebnis mit woeusb auf einen USB-Stick.<\/p>\n<h3>Skript: <code>create_windows11_bios_usb.sh<\/code><code class=\"language-bash\"><\/code><\/h3>\n<pre class=\"height-set:true lang:default decode:true\">#!\/bin\/bash\r\n# name          : create-w11-bios-iso.sh\r\n# description   : create Windows 11 install ISO for BIOS installations (no UEFI)\r\n# author        : speefak (itoss@gmx.de)\r\n# license       : (CC) BY-NC-SA\r\n# version       : 0.4\r\n# notice        :\r\n# source info   : ChatGPT \/ various manuals\r\n#\r\n#------------------------------------------------------------------------------------------------------------------------------------------------\r\n############################################################################################################\r\n#######################################   define global variables   ########################################\r\n############################################################################################################\r\n#------------------------------------------------------------------------------------------------------------------------------------------------\r\n\r\nWIN10_ISO=\"\/mnt\/Archiv_Software\/Betriebssysteme\/Windows\/Windows_10\/Win10_22H2_German_x64v1.iso\" #TODO interactive request for user to enter path\r\nWIN11_ISO=\"\/mnt\/Archiv_Software\/Betriebssysteme\/Windows\/Windows_11\/Win11_24H2_German_x64.iso\"\t#TODO interactive request for user to enter path\r\n\r\nIsoNameW11Bios=\"W11-BIOS-$(date +%F-%H%M%S).iso\"\r\n\r\nRootDir=\"\/home\/create-w11-bios-iso-$(date +%F-%H%M%S)\"\r\nWorkingDir=\"$RootDir\/working-dir\"\r\nIsoMountPoint=\"$RootDir\/iso-mounts\"\r\nIsoOutputfileW11=\"$(awk -F \"\/\" '{for (i=1; i&lt;NF; i++) printf \"%s\/\", $i}' &lt;&lt;&lt; $RootDir)$IsoNameW11Bios\"\r\n\r\nRequiredPackets=\"git wimtools xorriso\"\r\n\r\nCheckMark=$'\\033[0;32m&lt;img draggable=\"false\" data-mce-resize=\"false\" data-mce-placeholder=\"1\" data-wp-emoji=\"1\" class=\"emoji\" alt=\"\u2714\" src=\"https:\/\/s.w.org\/images\/core\/emoji\/16.0.1\/svg\/2714.svg\"&gt;\\033[0m'   # Green &lt;img draggable=\"false\" data-mce-resize=\"false\" data-mce-placeholder=\"1\" data-wp-emoji=\"1\" class=\"emoji\" alt=\"\u2714\" src=\"https:\/\/s.w.org\/images\/core\/emoji\/16.0.1\/svg\/2714.svg\"&gt;\r\nCrossMark=$'\\033[0;31m&lt;img draggable=\"false\" data-mce-resize=\"false\" data-mce-placeholder=\"1\" data-wp-emoji=\"1\" class=\"emoji\" alt=\"\u2716\" src=\"https:\/\/s.w.org\/images\/core\/emoji\/16.0.1\/svg\/2716.svg\"&gt;\\033[0m'   # Red &lt;img draggable=\"false\" data-mce-resize=\"false\" data-mce-placeholder=\"1\" data-wp-emoji=\"1\" class=\"emoji\" alt=\"\u2716\" src=\"https:\/\/s.w.org\/images\/core\/emoji\/16.0.1\/svg\/2716.svg\"&gt;\r\n\r\n#------------------------------------------------------------------------------------------------------------------------------------------------\r\n############################################################################################################\r\n###########################################   define functions   ###########################################\r\n############################################################################################################\r\n#------------------------------------------------------------------------------------------------------------------------------------------------\r\nload_color_codes () {\r\n\tBlack='\\033[0;30m' &amp;&amp; DGray='\\033[1;30m'\r\n\tLRed='\\033[0;31m' &amp;&amp; Red='\\033[1;31m'\r\n\tLGreen='\\033[0;32m' &amp;&amp; Green='\\033[1;32m'\r\n\tLYellow='\\033[0;33m' &amp;&amp; Yellow='\\033[1;33m'\r\n\tLBlue='\\033[0;34m' &amp;&amp; Blue='\\033[1;34m'\r\n\tLPurple='\\033[0;35m' &amp;&amp; Purple='\\033[1;35m'\r\n\tLCyan='\\033[0;36m' &amp;&amp; Cyan='\\033[1;36m'\r\n\tLLGrey='\\033[0;37m' &amp;&amp; White='\\033[1;37m'\r\n\tReset='\\033[0m'\r\n\tBG='\\033[47m'; FG='\\033[0;30m'\r\n}\r\n\r\n#------------------------------------------------------------------------------------------------------------------------------------------------\r\ncheck_for_required_packages () {\r\n\tInstalledPacketList=$(dpkg -l | grep ii | awk '{print $2}' | cut -d \":\" -f1)\r\n\tfor Packet in $RequiredPackets; do\r\n\t\tif [[ -z $(grep -w \"$Packet\" &lt;&lt;&lt; $InstalledPacketList) ]]; then\r\n\t\t\tMissingPackets=\"$MissingPackets $Packet\"\r\n\t\tfi\r\n\tdone\r\n\tif [[ -n $MissingPackets ]]; then\r\n\t\tprintf \"Missing packages: $Red$MissingPackets$Reset \\n\"\r\n\t\tread -e -p \"Install required packages? (Y\/N) \" -i \"Y\" InstallMissingPackets\r\n\t\tif [[ $InstallMissingPackets =~ ^[Yy]$ ]]; then\r\n\t\t\tsudo apt update &amp;&amp; sudo apt install -y $MissingPackets || exit 1\r\n\t\telse\r\n\t\t\tprintf \"Program error: $Red missing packages: $MissingPackets $Reset \\n\\n\"\r\n\t\t\texit 1\r\n\t\tfi\r\n\telse\r\n\t\tprintf \"$Green All required packages detected $Reset\\n\"\r\n\tfi\r\n}\r\n\r\n#------------------------------------------------------------------------------------------------------------------------------------------------\r\ncreate_w11_bios_iso () {\r\n\r\n\t# create directories\r\n\tmkdir -p \"$RootDir\"\r\n\tmkdir -p \"$WorkingDir\"\r\n\tmkdir -p \"$IsoMountPoint\"\r\n\r\n\t# --- Step 1: create working directory with Windows 10 boot files ---\r\n\tprintf \"\\n[1\/3] Creating working directory with Win10 boot files...\\n\"\r\n\tsudo mount -o loop \"$WIN10_ISO\" \"$IsoMountPoint\"\r\n\trsync -aH --info=progress2 \"$IsoMountPoint\"\/ \"$WorkingDir\"\/\r\n\tsudo umount \"$IsoMountPoint\"\r\n\r\n\t# --- Step 2: replace Windows 10 install.wim with Windows 11 version ---\r\n\tprintf \"\\n[2\/3] Replacing Windows 10 install.wim with Windows 11 version...\\n\"\r\n\tsudo mount -o loop \"$WIN11_ISO\" \"$IsoMountPoint\"\r\n\trm -f \"$WorkingDir\/sources\/install.wim\" \"$WorkingDir\/sources\/install.esd\"\r\n\tcp \"$IsoMountPoint\/sources\/install.wim\" \"$WorkingDir\/sources\/\"\r\n\tsudo umount \"$IsoMountPoint\"\r\n\r\n\t# If install.wim is too large -&gt; split into SWM files\r\n\tWimFile=\"$RootDir\/W10-ISO-source\/sources\/install.wim\"\r\n\tif [ -f \"$WimFile\" ]; then\r\n\t\tWimSize=$(stat -c%s \"$WimFile\")\r\n\t\tif [ \"$WimSize\" -gt 4294967295 ]; then\r\n\t\t\tprintf \"install.wim larger than 4 GB \u2013 splitting into SWM files...\\n\"\r\n\t\t\twimlib-imagex split \"$WimFile\" \"$RootDir\/W10-ISO-source\/sources\/install.swm\" 4000\r\n\t\t\trm \"$WimFile\"\r\n\t\tfi\r\n\tfi\r\n\r\n\t# --- Step 3: create ISO ---\r\n\tprintf \"\\n[3\/3] Creating ISO file: $IsoOutputfileW11 \\n\"\r\n\txorriso -as mkisofs \\\r\n\t  -iso-level 3 \\\r\n\t  -V \"$IsoNameW11Bios\" \\\r\n\t  -o \"$IsoOutputfileW11\" \\\r\n\t  -b boot\/etfsboot.com \\\r\n\t  -no-emul-boot \\\r\n\t  -boot-load-size 8 \\\r\n\t  -boot-info-table \\\r\n\t  \"$WorkingDir\"\r\n\r\n\tprintf \"\\nISO creation completed: $IsoOutputfileW11\\n\"\r\n\r\n\tprintf \"\\nCleaning temporary files ...\\n\"\r\n\trm -rf \"$RootDir\"\r\n}\r\n#------------------------------------------------------------------------------------------------------------------------------------------------\r\nwrite_iso_to_usb() {\r\n    clear\r\n    dialog --backtitle \"Windows 11 BIOS ISO Tool\" \\\r\n           --title \"ISO to USB\" \\\r\n           --menu \"Choose an action:\" 15 60 4 \\\r\n           1 \"Write ISO to USB stick\" \\\r\n           2 \"Keep ISO only (skip USB)\" 2&gt;choice.txt\r\n\r\n    CHOICE=$(&lt;choice.txt)\r\n    rm -f choice.txt\r\n    clear\r\n\r\n    case $CHOICE in\r\n        1)\r\n            # --- Detect USB drives ---\r\n            USB_LIST=$(lsblk -d -o NAME,SIZE,MODEL,TRAN | tail -n +2 | grep \"usb$\")\r\n\r\n            if [[ -z \"$USB_LIST\" ]]; then\r\n                dialog --msgbox \"No USB devices detected!\" 8 50\r\n                return 1\r\n            fi\r\n\r\n            # --- Build dialog menu ---\r\n            MENU_ITEMS=()\r\n            while read -r LINE; do\r\n                # Remove last field (TRAN)\r\n                ENTRY=$(echo \"$LINE\" | sed 's\/ usb$\/\/')\r\n                DEV=$(echo \"$ENTRY\" | awk '{print $1}')\r\n                DESC=$(echo \"$ENTRY\" | cut -d' ' -f2-)\r\n                MENU_ITEMS+=(\"$DEV\" \"$DESC\")\r\n            done &lt;&lt;&lt; \"$USB_LIST\"\r\n\r\n            dialog --backtitle \"Windows 11 BIOS ISO Tool\" \\\r\n                   --title \"Select USB Device\" \\\r\n                   --menu \"Choose a target USB drive:\" 20 70 10 \\\r\n                   \"${MENU_ITEMS[@]}\" 2&gt;usb_choice.txt\r\n\r\n            USBDEV=$(&lt;usb_choice.txt)\r\n            rm -f usb_choice.txt\r\n\r\n            if [[ -z \"$USBDEV\" ]]; then\r\n                echo \"No USB device selected. Aborted.\"\r\n                return 1\r\n            fi\r\n            USB=\"\/dev\/$USBDEV\"\r\n\r\n            # --- Confirmation ---\r\n            dialog --yesno \"WARNING: All data on $USB will be ERASED!\\n\\nProceed?\" 10 50\r\n            if [[ $? -ne 0 ]]; then\r\n                echo \"Aborted by user.\"\r\n                return 1\r\n            fi\r\n\r\n            # --- Unmount partitions ---\r\n            for part in $(lsblk -ln -o NAME \"$USB\" | tail -n +2); do\r\n                sudo umount \"\/dev\/$part\" 2&gt;\/dev\/null\r\n            done\r\n\r\n            # --- Ensure woeusb exists ---\r\n            if [[ ! -x .\/woeusb-5.2.4.bash ]]; then\r\n                echo \"Downloading woeusb...\"\r\n                wget -q https:\/\/github.com\/WoeUSB\/WoeUSB\/releases\/download\/v5.2.4\/woeusb-5.2.4.bash -O woeusb-5.2.4.bash || {\r\n                    dialog --msgbox \"Failed to download woeusb!\" 8 40\r\n                    return 1\r\n                }\r\n                chmod +x woeusb-5.2.4.bash\r\n            fi\r\n\r\n            # --- Write ISO ---\r\n            sudo .\/woeusb-5.2.4.bash --device \"$IsoOutputfileW11\" \"$USB\"\r\n            if [[ $? -eq 0 ]]; then\r\n                dialog --msgbox \"USB stick successfully created:\\n$USB\" 8 50\r\n            else\r\n                dialog --msgbox \"Error writing ISO to USB!\" 8 40\r\n                return 1\r\n            fi\r\n\r\n            # --- Clear temporary files\r\n            rm -rf \"$RootDir\"\r\n            dialog --msgbox \"Temporary files cleaned.\" 8 40\r\n            exit 0\r\n            ;;\r\n        2)\r\n            dialog --msgbox \"ISO kept only.\\nFile is located at:\\n$IsoOutputfileW11\" 10 60\r\n            ;;\r\n        *)\r\n            echo \"Invalid choice. Aborting.\"\r\n            ;;\r\n    esac\r\n}\r\n\r\n#------------------------------------------------------------------------------------------------------------------------------------------------\r\n############################################################################################################\r\n#############################################   start script   #############################################\r\n############################################################################################################\r\n#------------------------------------------------------------------------------------------------------------\r\n\r\n\tif [[ \"$(id -u)\" -ne 0 ]]; then echo \"Please run as root!\"; exit 1; fi\r\n\r\n#------------------------------------------------------------------------------------------------------------\r\n\r\n\tload_color_codes\r\n\tcheck_for_required_packages\r\n\tcreate_w11_bios_iso\r\n\r\n#------------------------------------------------------------------------------------------------------------\r\n\r\n\t# write iso to usb\r\n\twrite_iso_to_usb\r\n\r\n#------------------------------------------------------------------------------------------------------------\r\n\r\nexit 0\r\n\r\n<\/pre>\n<p>Das Skript erstellt eine Windows 11 Installations-ISO, die f\u00fcr BIOS\/Legacy-Boot geeignet ist (nicht f\u00fcr UEFI), basierend auf einer vorhandenen Windows-10-ISO. Optional kann die ISO direkt auf einen USB-Stick geschrieben werden, um einen bootf\u00e4higen Installationsstick zu erstellen.<\/p>\n<hr \/>\n<p>Mit Hilfe von <strong>woeusb<\/strong> l\u00e4sst sich auch unter Linux ein Windows 11 Installationsmedium f\u00fcr den BIOS-\/Legacy-Modus erstellen. F\u00fcr Anwender, die ausschlie\u00dflich unter Windows arbeiten, steht mit <strong>Rufus<\/strong> eine komfortable Alternative zur Verf\u00fcgung. Durch die Anpassung der Registrierungseintr\u00e4ge im Setup k\u00f6nnen die offiziellen Hardwareanforderungen umgangen und Windows 11 auf \u00e4lteren Systemen erfolgreich installiert werden.<\/p>\n<hr \/>\n<p style=\"text-align: center;\"><a href=\"https:\/\/speefak.spdns.de\/oss_lifestyle\/windows-11-auf-nicht-unterstuetzter-hardware-installieren-und-mit-lokalem-konto-nutzen\/\"><span data-huuid=\"13638809088242236522\">Windows 11 ohne Hardwarepr\u00fcfung und Mircosoft Konto installieren\u00a0<\/span><\/a><\/p>\n<hr \/>\n<p><img loading=\"lazy\" decoding=\"async\" class=\" wp-image-2821 alignleft\" src=\"https:\/\/speefak.spdns.de\/oss_lifestyle\/wp-content\/uploads\/2014\/08\/CC_BY_NC_SA.png\" alt=\"CC_BY_NC_SA\" width=\"65\" height=\"23\" \/>Speefak | <a href=\"https:\/\/www.thomas-krenn.com\/de\/wiki\/Windows_11_USB_Installationsstick_unter_Linux_erstellen\" target=\"_blank\" rel=\"noopener\">www.thomas-krenn.com<\/a> |\u00a0 <a href=\"https:\/\/github.com\/WoeUSB\/WoeUSB\/releases\" target=\"_blank\" rel=\"noopener\">github.com<\/a><\/p>\n<p>&nbsp;<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Microsoft sieht die Installation von Windows 11 ausschlie\u00dflich auf modernen UEFI-Systemen mit Secure Boot vor. In bestimmten Szenarien \u2013 etwa auf \u00e4lteren Rechnern ohne UEFI oder mit deaktiviertem Secure Boot \u2013 ist es jedoch erforderlich, ein Installationsmedium f\u00fcr den Legacy-BIOS-Modus zu erzeugen. Die zuverl\u00e4ssigsten Methoden zur Erstellung eines Windows-11-Installationsmediums unter Linux sind WoeUSB oder Ventoy. [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[8,102],"tags":[],"class_list":["post-8364","post","type-post","status-publish","format-standard","hentry","category-anleitungen","category-windows"],"rttpg_featured_image_url":null,"rttpg_author":{"display_name":"speefak","author_link":"https:\/\/speefak.spdns.de\/oss_lifestyle\/author\/speefak_oss\/"},"rttpg_comment":0,"rttpg_category":"<a href=\"https:\/\/speefak.spdns.de\/oss_lifestyle\/category\/anleitungen\/\" rel=\"category tag\">Anleitungen<\/a> <a href=\"https:\/\/speefak.spdns.de\/oss_lifestyle\/category\/windows\/\" rel=\"category tag\">Windows<\/a>","rttpg_excerpt":"Microsoft sieht die Installation von Windows 11 ausschlie\u00dflich auf modernen UEFI-Systemen mit Secure Boot vor. In bestimmten Szenarien \u2013 etwa auf \u00e4lteren Rechnern ohne UEFI oder mit deaktiviertem Secure Boot \u2013 ist es jedoch erforderlich, ein Installationsmedium f\u00fcr den Legacy-BIOS-Modus zu erzeugen. Die zuverl\u00e4ssigsten Methoden zur Erstellung eines Windows-11-Installationsmediums unter Linux sind WoeUSB oder Ventoy.&hellip;","_links":{"self":[{"href":"https:\/\/speefak.spdns.de\/oss_lifestyle\/wp-json\/wp\/v2\/posts\/8364","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/speefak.spdns.de\/oss_lifestyle\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/speefak.spdns.de\/oss_lifestyle\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/speefak.spdns.de\/oss_lifestyle\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/speefak.spdns.de\/oss_lifestyle\/wp-json\/wp\/v2\/comments?post=8364"}],"version-history":[{"count":0,"href":"https:\/\/speefak.spdns.de\/oss_lifestyle\/wp-json\/wp\/v2\/posts\/8364\/revisions"}],"wp:attachment":[{"href":"https:\/\/speefak.spdns.de\/oss_lifestyle\/wp-json\/wp\/v2\/media?parent=8364"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/speefak.spdns.de\/oss_lifestyle\/wp-json\/wp\/v2\/categories?post=8364"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/speefak.spdns.de\/oss_lifestyle\/wp-json\/wp\/v2\/tags?post=8364"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}