From 072519ad11448053cc062ac4efa66c624b4aa887 Mon Sep 17 00:00:00 2001 From: codefiles <11915375+codefiles@users.noreply.github.com> Date: Wed, 27 Sep 2023 11:20:13 -0400 Subject: Simplify command in `README.md` example (#2122) --- README.md | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/README.md b/README.md index 84520d6b..5c799116 100644 --- a/README.md +++ b/README.md @@ -196,8 +196,7 @@ To test this without a live ISO, the simplest approach is to use a local image a This can be done by installing `pacman -S arch-install-scripts util-linux` locally and doing the following: # truncate -s 20G testimage.img - # losetup -fP ./testimage.img - # losetup -a | grep "testimage.img" | awk -F ":" '{print $1}' + # losetup --partscan --show --find ./testimage.img # pip install --upgrade archinstall # python -m archinstall --script 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 -- cgit v1.2.3-70-g09d2