QEMU/KVM with the foxlet method not booting

QEMU/KVM with the foxlet method not booting

I have created a QEMU/KVM machine using the Foxlet guide. It works, but only when I boot it using virt-manager. The primary method in the guide is using a shell script (basic.sh) that boots directly in QEMU. Ordinarily this wouldn't be a problem because I prefer to use virt-manager anyways. But I would like to increase my resolution to 1080p which requires editing the OVMF resolution which cannot be accessed when booting through virt-manager (see this link). You can see from the photo that the QEMU window opens up to a black screen with a non-blinking cursor and never progresses beyond that. Are there any idea on how I can get macOS to boot in QEMU using basic.sh? I've included my shell script below as well but I don't think anything is amiss there since all I did was add my qcow2 drive.

#!/bin/bashOSK="ourhardworkbythesewordsguardedpleasedontsteal(c)AppleComputerInc"VMDIR=$PWDOVMF=$VMDIR/firmware#export QEMU_AUDIO_DRV=pa#QEMU_AUDIO_DRV=paqemu-system-x86_64 \-enable-kvm \-m 2G \-machine q35,accel=kvm \-smp 4,cores=2 \-cpu Penryn,vendor=GenuineIntel,kvm=on,+sse3,+sse4.2,+aes,+xsave,+avx,+xsaveopt,+xsavec,+xgetbv1,+avx2,+bmi2,+smep,+bmi1,+fma,+movbe,+invtsc \-device isa-applesmc,osk="$OSK" \-smbios type=2 \-drive if=pflash,format=raw,readonly,file="$OVMF/OVMF_CODE.fd" \-drive if=pflash,format=raw,file="$OVMF/OVMF_VARS-1024x768.fd" \-vga qxl \-device ich9-intel-hda -device hda-output \-usb -device usb-kbd -device usb-mouse \-netdev user,id=net0 \-device e1000-82545em,netdev=net0,id=net0,mac=52:54:00:c9:18:27 \-device ich9-ahci,id=sata \-drive id=ESP,if=none,format=qcow2,file=ESP.qcow2 \-device ide-hd,bus=sata.2,drive=ESP \-drive id=InstallMedia,format=raw,if=none,file=BaseSystem.img \-device ide-hd,bus=sata.3,drive=InstallMedia \-drive id=SystemDisk,if=none,file=macOS.qcow2 \-device ide-hd,bus=sata.4,drive=SystemDisk \

https://preview.redd.it/ke9z9lsxw5551.png?width=1288&format=png&auto=webp&s=b2826ed5e81c0cdc7bf160a9da7f8c8c3691568e

submitted by /u/idontliketopick
[link] [comments]