From 8390759a51e372abc76b36a1d6afaf48cc33965a Mon Sep 17 00:00:00 2001 From: Daniel Girtler Date: Sun, 28 Dec 2025 11:42:26 +1100 Subject: [PATCH 1/2] Add instructions to boot ISO in VM --- README.md | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) diff --git a/README.md b/README.md index 11690dc9e5..8199ecc649 100644 --- a/README.md +++ b/README.md @@ -174,6 +174,22 @@ This will create a *20 GB* `testimage.img` and create a loop device which we can There's also a [Building and Testing](https://github.com/archlinux/archinstall/wiki/Building-and-Testing) guide.
It will go through everything from packaging, building and running *(with qemu)* the installer against a dev branch. +## Boot a ISO image in a VM + +You may want to boot an Arch ISO image in a VM to test it. + +* Download the latest [Arch ISO](https://archlinux.org/download/) +* Use the the below command to boot the ISO in a VM + +``` + qemu-system-x86_64 -enable-kvm -machine q35,accel=kvm -device intel-iommu -cpu host -m 4096 -boot order=d -drive file=./archlinux-2025.12.01-x86_64.iso,format=raw -drive if=pflash,format=raw,readonly,file=/usr/share/ovmf/x64/OVMF.4m.fd -drive if=pflash,format=raw,readonly,file=/usr/share/ovmf/x64/OVMF.4m.fd +``` + +HINT: For espeakup support +``` + qemu-system-x86_64 -enable-kvm -machine q35,accel=kvm -device intel-iommu -cpu host -m 4096 -boot order=d -drive file=./archlinux-2025.12.01-x86_64.iso,format=raw -drive if=pflash,format=raw,readonly,file=/usr/share/ovmf/x64/OVMF.4m.fd -drive if=pflash,format=raw,readonly,file=/usr/share/ovmf/x64/OVMF.4m.fd -device intel-hda -device hda-duplex,audiodev=snd0 -audiodev pa,id=snd0,server=/run/user/1000/pulse/native +``` + # FAQ From d03d74fc59ad8a4a3837335d1ab932ed32b72df5 Mon Sep 17 00:00:00 2001 From: Daniel Girtler Date: Sun, 28 Dec 2025 11:45:50 +1100 Subject: [PATCH 2/2] Update --- README.md | 20 ++++++++++++++++---- 1 file changed, 16 insertions(+), 4 deletions(-) diff --git a/README.md b/README.md index 8199ecc649..04825bd4cf 100644 --- a/README.md +++ b/README.md @@ -174,20 +174,32 @@ This will create a *20 GB* `testimage.img` and create a loop device which we can There's also a [Building and Testing](https://github.com/archlinux/archinstall/wiki/Building-and-Testing) guide.
It will go through everything from packaging, building and running *(with qemu)* the installer against a dev branch. -## Boot a ISO image in a VM +## Boot an Arch ISO image in a VM -You may want to boot an Arch ISO image in a VM to test it. +You may want to boot an ISO image in a VM to test `archinstall` in there. * Download the latest [Arch ISO](https://archlinux.org/download/) * Use the the below command to boot the ISO in a VM ``` - qemu-system-x86_64 -enable-kvm -machine q35,accel=kvm -device intel-iommu -cpu host -m 4096 -boot order=d -drive file=./archlinux-2025.12.01-x86_64.iso,format=raw -drive if=pflash,format=raw,readonly,file=/usr/share/ovmf/x64/OVMF.4m.fd -drive if=pflash,format=raw,readonly,file=/usr/share/ovmf/x64/OVMF.4m.fd +qemu-system-x86_64 -enable-kvm \ +-machine q35,accel=kvm -device intel-iommu \ +-cpu host -m 4096 -boot order=d \ +-drive if=pflash,format=raw,readonly,file=/usr/share/ovmf/x64/OVMF.4m.fd \ +-drive if=pflash,format=raw,readonly,file=/usr/share/ovmf/x64/OVMF.4m.fd \ +-drive file=./archlinux-2025.12.01-x86_64.iso,format=raw ``` HINT: For espeakup support ``` - qemu-system-x86_64 -enable-kvm -machine q35,accel=kvm -device intel-iommu -cpu host -m 4096 -boot order=d -drive file=./archlinux-2025.12.01-x86_64.iso,format=raw -drive if=pflash,format=raw,readonly,file=/usr/share/ovmf/x64/OVMF.4m.fd -drive if=pflash,format=raw,readonly,file=/usr/share/ovmf/x64/OVMF.4m.fd -device intel-hda -device hda-duplex,audiodev=snd0 -audiodev pa,id=snd0,server=/run/user/1000/pulse/native +qemu-system-x86_64 -enable-kvm \ +-machine q35,accel=kvm -device intel-iommu \ +-cpu host -m 4096 -boot order=d \ +-drive if=pflash,format=raw,readonly,file=/usr/share/ovmf/x64/OVMF.4m.fd \ +-drive if=pflash,format=raw,readonly,file=/usr/share/ovmf/x64/OVMF.4m.fd \ +-drive file=./archlinux-2025.12.01-x86_64.iso,format=raw \ +-device intel-hda -device hda-duplex,audiodev=snd0 \ +-audiodev pa,id=snd0,server=/run/user/1000/pulse/native ```