From e17fac498a778d5f6c83a40d2334a2af7a0e5397 Mon Sep 17 00:00:00 2001 From: Anton Hvornum Date: Tue, 7 Jul 2020 23:24:55 +0000 Subject: Updated readme with a boot instruction that is partially correct but incomplete. This is because some EFI magic that I can't sort out in a oneliner.. but gives you an idea --- README.md | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index dd66b534..48b85a63 100644 --- a/README.md +++ b/README.md @@ -96,9 +96,11 @@ This can be done by installing `pacman -S arch-install-scripts util-linux` local # losetup -a | grep "testimage.img" | awk -F ":" '{print $1}' # pip install archinstall # python -m archinstall guided + # 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 This will create a *5GB* `testimage.img` and create a loop device which we can use to format and install to.
-`archinstall` is installed and executed in [guided mode](#docs-todo). +`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.~~ *(You'd actually need to do some EFI magic in order to point the EFI vars to the partition 0 in the test medium so this won't work entirely out of the box, but gives you a general idea of what we're going for here)* ## End note -- cgit v1.2.3-70-g09d2