Open ivankoma opened 3 years ago
It seems to me that there is something wrong with https://github.com/kholia/OSX-KVM. I cannot generate valid OpenCore.qcow2
from my custom config.plist
because I get the same mentioned error: OC: Failed to load configuration!
git clone https://github.com/kholia/OSX-KVM.git
git clone https://github.com/sickcodes/osx-serial-generator.git
cd OSX-KVM/OpenCore-Catalina/
rm OpenCore.qcow2; sudo ./opencore-image-ng.sh --cfg config.plist --img OpenCore.qcow2
cd ../../osx-serial-generator/
./generate-unique-machine-values.sh --bootdisks
cd OSX-KVM/OpenCore-Catalina
rm OpenCore.qcow2; sudo ./opencore-image-ng.sh --cfg config.plist --img OpenCore.qcow2
Notice that OSX-KVM
repo produces bad OpenCore.qcow2
file with a size of 5.9MiB
instead od 16.1MiB
like osx-serial-generator
does.
When I place same files:
BaseSystem.img
mac_hdd_ng.img`
and run ./OpenCore-Boot.sh
only the one in osx-serial-generator/OSX-KVM
repo works.
@ivankoma in my config.plist for OS X serial generator, there are placeholders, which need to be manually changed.
That's why I made the generator :)
Warning this is broken on 5.14 Kernel.
I was able to create a boot image. Just run into a boot loop after finishing fresh install of osx . Recovery baseimg working. I'm still investigating if it's related.
If I run
./generate-unique-machine-values.sh -c 1 --model iMacPro1,1 --custom-plist=./config-custom.plist --create-bootdisks
file./bootdisks/AAAAAAAAAAAA.OpenCore-nopicker.qcow2
with a size of5.9MiB
is created however/osx-serial-generator/OSX-KVM/OpenCore-Catalina/OpenCore.qcow2
is16.1MiB
.-nopicker
argument do?OpenCore.qcow2
smaller in size compared to/OSX-KVM/OpenCore-Catalina/OpenCore.qcow2
?When I run these commands:
And try to run:
I get these messages:
It says here in order to generate a valid
OpenCore.qcow2
file fromconfig.plist
to execute:Now file
OpenCore.qcow2
is16.1MiB
and--create-bootdisks
doesn't work as expected.