foxlet / macOS-Simple-KVM

Tools to set up a quick macOS VM in QEMU, accelerated by KVM.
13.6k stars 1.14k forks source link

Can't get past UEFI Shell #460

Open alkaris2 opened 3 years ago

alkaris2 commented 3 years ago

I followed instructions but I'm stuck at the screen which tells me;

Press Esc in 5 seconds to skip startup.nsh or any other key to continue

Pressing Esc or any other key just drops me to interactive shell and will not progress past this point. What's even going on here?

image

I created my disk image as it said with the jumpstart.sh and I selected High Sierra, and named it as such with the Qemu imager tool;

qemu-img create -f qcow2 HighSierra.qcow2 46G

even added to the basic.sh script as it instructs on those 2 lines;

image

and it's not like I don't have virtualization on, all of that is enabled in my UEFI/BIOS, Qemu just simply fails to do anything beyond this point, I can boot up any other OS in Qemu just fine like Windows or another Linux distribution like Ubuntu. Do I need to convert HighSierra.qcow2 to HighSierra.img to make it work or what?

yavincl commented 3 years ago

Seems like it's trying to boot from the empty HighSierra image, you need to include the bootloader disk as well, it's included in the repository as ESP.qcow

m-7761 commented 3 years ago

Unrelated (just for readers) I ran into ESP.qcow2 not booting. it seems it's not a ROM file and is modified by the booter or installer or something. Mine ended up in an unusable state, maybe because I couldn't under Apple's weirdo Disk Utility. So... if you find yourself stuck at the Shell> prompt on rerun, redownload/overwrite ESP.qcow2 and start over. (Maybe back it up before you start. I feel this should be in the README.md file as cautionary warning.)

notAperson535 commented 2 years ago

@alkaris2 You deleted the ESP.qcow2 from the basic.sh file. Add this to the end of the file and it should work:

    -drive id=ESP,if=none,format=qcow2,file=ESP.qcow2 \
    -device ide-hd,bus=sata.2,drive=ESP \