Files
isobuilder/installmedia

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: mkisofs -o output.iso -b isolinux.bin -c boot.cat -no-emul-boot -boot-load-size 4 -boot-info-table -J -R -V "Ubuntu Custom ISO Preseed" .