macOS-Simple-KVM icon indicating copy to clipboard operation
macOS-Simple-KVM copied to clipboard

Can't get past UEFI Shell

Open alkaris2 opened this issue 3 years ago • 3 comments

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?

alkaris2 avatar May 19 '21 05:05 alkaris2

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

yavincl avatar May 28 '21 17:05 yavincl

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.)

m-7761 avatar Jun 08 '21 06:06 m-7761

@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 \

notAperson535 avatar Jan 25 '22 21:01 notAperson535