33 lines
1.4 KiB
Markdown
33 lines
1.4 KiB
Markdown
# 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 xorriso -as mkisofs -iso-level 4 -rock -disable-deep-relocation -untranslated-filenames -b boot/etfsboot.com -no-emul-boot -boot-load-size 8 -eltorito-alt-boot -eltorito-platform efi -b efi/microsoft/boot/efisys_noprompt.bin -o /tmp/output.iso /tmp/Win11
|
|
``
|