action #175797
closedcoordination #175608: [WSL][epic] Unattended installation
[WSL] Move unattended XML recipe to media storage
100%
Description
As suggested by @favogt, the .xml file can be used from a mounted drive instead of modifying the whole ISO. This would simplify the process a lot, as there won't be need to edit the ISO file every time a new version is released.
More info about the process can be found here:
https://learn.microsoft.com/en-us/windows-hardware/manufacture/desktop/windows-setup-automation-overview?view=windows-11
Files
Updated by pherranz 4 months ago
- Status changed from Workable to In Progress
- Assignee set to pherranz
This can be done by mounting an additional CDROM drive with an ISO containing the Autounattend.xml
file. The next command shall be used to generate the ISO properly:
mkisofs -J -graft-points -o autounattend_uefi.iso Autounattend.xml=Autounattend_UEFI.xml
Take into account that the language of the downloaded ISO has to match the one specified in the xml file. In our case it should be en-US, not international en-GB.
Updated by pherranz 4 months ago
For adding a third CD drive it's been necessary to switch CDMODEL
variable from ide-cd
to scsi-cd
. This revealed that the virtio drivers need to be updated to add the scsi ones, as the installation is not getting the drivers if so. The drivers are placed under vioscsi\...
.
Updated by pherranz 4 months ago
There are plenty of issues trying to address more than two CDROM in scsi format, so I'm trying to use the two usual disks used for Windows ISO and VirtIO drivers, and then add a third one with a autounattend_<bios/uefi>.raw
image. The disk can be added with: HDD_2=autounattend_bios.raw HDDMODEL_2=usb-storage,removable=true NUMDISKS=2
.
Updated by pherranz 4 months ago
- Related to action #176097: [WSL] Windows Update Agent API Deprecation Prevents Script Execution on Windows 24H2 added
Updated by etchubykalo 4 months ago
- Has duplicate action #176358: [WSL] Windows 11 Installation fails added
Updated by pherranz 3 months ago
- Status changed from Blocked to In Progress
Well, finally and with @favogt's help, I've managed to run the tests by attaching the autounattend_<mode>.raw
as an external USB drive. Here are some examples:
- Win11 24H2
- Win11 24H2 ARM64 (❌ has never worked)
- Win10 22H2 UEFI
- Win10 22H2 BIOS
Updated by pherranz 2 months ago
- Related to action #175800: [WSL] Add installation for aarch64 on OSD added
Updated by ph03nix 2 months ago
- Related to action #175614: [WSL] Extract `prepare_wsl` module from every test suite added
Updated by dimstar 2 months ago
- File clipboard-202503211636-ncl3j.png clipboard-202503211636-ncl3j.png added
- Status changed from Resolved to Workable
This seems to be responsible for all the Windows boot/login failures seen in the snapshot 20250320 QA run of Tumbleweed
Updated by ph03nix about 2 months ago
dimstar wrote in #note-18:
This seems to be responsible for all the Windows boot/login failures seen in the snapshot 20250320 QA run of Tumbleweed
Needle mismatch, should be fixed now.
Updated by pherranz about 2 months ago
- Status changed from Workable to Resolved