Files
isobuilder/installmedia/README.md
T

1.3 KiB

Installationsmedium (USB Stick / SATA Adapter)

Partitionierung:

Beispiel: /dev/sda
sda1: FAT32, Label: BOOT
      - Alle Dateien von einer Windows 11 .ISO außer /sources!
      - zusätzlich notwendig: /sources/boot.wim (wird aus dem sources Verzeichnis der Win11 .ISO kopiert)
      - Optional: /autounattend.xml
sda2: NTFS,  Label: INSTALL
      - Alle Dateien der .ISO Datei

Autounattend

Dateiname notautounattend.xml statt autounattend.xml: Windows Setup will not process the notautounattend.xml file automatically. Instead, you need to run a command such as setup.exe /Unattend:D:\notautounattend.xml This is useful to prevent Windows Setup from inadvertently wiping your hard drive, and lets you specify additional parameters such as /NoReboot

Bootfähiges .ISO Image unter Linux bauen

Benötigt:

  • mkisofs

Lösung:

  • Windows 11 .ISO mounten
  • Temporäres Verzeichnis erstellen: mkdir /tmp/Win11
  • Alle Dateien vom gemounteten .ISO nach /tmp/Win11 kopieren: cp -av /path/to/ISO/* /tmp/Win11
  • Dateien anpassen, z.B. autounattend.xml nach /tmp/Win11 kopieren
  • Neue .ISO erstellen mit:
    • sudo mkisofs -o /tmp/output.iso -b efi/microsoft/boot/efisys.bin -no-emul-boot -boot-load-size 4 -boot-info-table -allow-limited-size -iso-level 4 -udf -r -R /tmp/Win11/