Skip to content

Commit 3e2f792

Browse files
authored
Fix qemu command to boot image (#3491)
1 parent c9b0c9f commit 3e2f792

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -226,7 +226,7 @@ This can be done by installing `pacman -S arch-install-scripts util-linux` local
226226
# losetup --partscan --show --find ./testimage.img
227227
# pip install --upgrade archinstall
228228
# python -m archinstall --script guided
229-
# qemu-system-x86_64 -enable-kvm -machine q35,accel=kvm -device intel-iommu -cpu host -m 4096 -boot order=d -drive file=./testimage.img,format=raw -drive if=pflash,format=raw,readonly,file=/usr/share/ovmf/x64/OVMF_CODE.fd -drive if=pflash,format=raw,readonly,file=/usr/share/ovmf/x64/OVMF_VARS.fd
229+
# qemu-system-x86_64 -enable-kvm -machine q35,accel=kvm -device intel-iommu -cpu host -m 4096 -boot order=d -drive file=./testimage.img,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
230230
231231
This will create a *20 GB* `testimage.img` and create a loop device which we can use to format and install to.<br>
232232
`archinstall` is installed and executed in [guided mode](#docs-todo). Once the installation is complete, ~~you can use qemu/kvm to boot the test media.~~<br>

0 commit comments

Comments
 (0)