Open 512yottabytes opened 2 years ago
Solution:
Poweroff the VM.
Convert qcow2 to raw img to make editing files inside image easier from Linux:
qemu-img convert /var/lib/libvirt/images/macos_12_template_opencore.qcow2 /var/lib/libvirt/images/macos_12_template_opencore.raw
mv -v /var/lib/libvirt/images/macos_12_template_opencore.raw /var/lib/libvirt/images/macos_12_template_opencore.raw.img
Change disk file in virt-manager from /var/lib/libvirt/images/macos_12_template_opencore.qcow2
to /var/lib/libvirt/images/macos_12_template_opencore.raw.img
.
Loopback the image file and mount it's 1-st partition (EFI):
losetup -Pf /var/lib/libvirt/images/macos_12_template_opencore.raw.img
mount /dev/<YOUR_LOOP>p1 /mnt
Edit ./OC/config.plist
according to https://dortania.github.io/OpenCore-Post-Install/universal/iservices.html#fixing-en0. Save the config.
umount -v /mnt && sync
Poweron the VM
Inside VM open bash. Type ifconfig
.
If you have en1
, en2
or en<ANY_OTHER_NUMBER>
instead of en0
type:
sudo rm /Library/Preferences/SystemConfiguration/NetworkInterfaces.plist && sudo rm /Library/Preferences/SystemConfiguration/preferences.plist
Then reboot the VM.
Now App Store works.
App Store works, but iCloud still isn't. So I reopen the issue. Maybe I'll find the solution, but I'm not interested in iCloud so much as in App Store. .
@512yottabytes Why are you using opencore? My guide for opencore on my repository is here
@notAperson535, opencore is out of the box in this repo. Is there any benefit of changing it? Tried you guide. Still can not use:
@512yottabytes I thought this repo used clover. I specifically forked it and made my own to add opencore.
AFAIK it used to use Clover year or 2 years ago.
@512yottabytes Try the clvoer fix, as this repository is based on clover, not opencore. You are on the macOS-Simple-KVM made by foxlet.
I'm having the same problem, can anyone help me?
@Igor-Sanches follow the guide: https://github.com/foxlet/macOS-Simple-KVM/blob/master/docs/guide-Apple-ID.md
@oxygen that is the clover guide, the open core guide is here: https://oneclick-macos-simple-kvm.notaperson535.is-a.dev/docs/guide-Apple-ID/
@notAperson535 I've managed to fix it by following your guide + making sure the network mac address is an Apple one and making the interface built-in
Hello, Successfully installed Monterey and imported it to the Virt-Manager, but can't use App Store, getting the message: "Unable to sign you in to your Apple ID. Try again later." I've found similar issue, but it was about using Clover, but, as far as I know, nowadays we use OpenCore, so we need solution for OpenCore. Can you give me piece of advice how to solve it? Thank you .