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

This commit is contained in:
Anton Hvornum 2020-07-07 23:24:55 +00:00
parent 3b3456b6f9
commit e17fac498a
1 changed files with 3 additions and 1 deletions

View File

@ -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.<br>
`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,<br>
~~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