MacOS Image Loads in QEMU Not in Virt Manager

MacOS Image Loads in QEMU Not in Virt Manager

I have been trying to set up an image using https://github.com/foxlet/macOS-Simple-KVM. It works successfully when launching via a command like this

HEADLESS=1 MEM=6G CPUS=4 SYSTEM_DISK=MyDisk.qcow2 ./headless.sh

However, when the time has come to move it to Virtual Manager and do some passing through, I was not able to get it to load.

To move the VM to Virtual Manager, I did ./make.sh --add from within the VM's directory. It successfully created the VM entry in Virt Manager. I then added the drive to which I installed the MacOS earlier.

The boot sequence of this new machines looks as follows:

<devices>

<emulator>/usr/bin/qemu-system-x86_64</emulator>

<disk type="file" device="disk">

<driver name="qemu" type="qcow2"/>

<source file="/media/user/Storage/macOS/macOS-Simple-KVM/ESP.qcow2"/>

<target dev="sda" bus="sata"/>

<boot order="1"/>

<address type="drive" controller="0" bus="0" target="0" unit="0"/>

</disk>

<disk type="file" device="disk">

<driver name="qemu" type="raw"/>

<source file="/media/user/Storage/macOS/macOS-Simple-KVM/BaseSystem.img"/>

<target dev="sdb" bus="sata"/>

<address type="drive" controller="0" bus="0" target="0" unit="1"/>

</disk>

<disk type="file" device="disk">

<driver name="qemu" type="qcow2"/>

<source file="/media/user/Storage/macOS/macOS-Simple-KVM/MyDisk.qcow2"/>

<target dev="sdc" bus="sata"/>

<address type="drive" controller="0" bus="0" target="0" unit="2"/>

</disk>

MyDisk.qcow2 is the one containing the image with the installed MacOS. Whenever I try to start this VM, I get this:

https://preview.redd.it/uou4eezj74b71.png?width=1465&format=png&auto=webp&s=ebc7522291948a55ddbd6ba7693020cbfc459997

That is, it appears to be booting from one of the other images specified in the config by default.

If I change the config to make it boot from MyDisk.qcow2, the following happens:

https://preview.redd.it/f9wa6bfv74b71.png?width=1160&format=png&auto=webp&s=9accb635f83dc590fb1b7e493bee675aff5e469f

I am not sure how to proceed from here. In the past, it would load Clover and have a few boxes with the Apple logo, one of which was the one with the system installed on MyDisk.qcow2.

submitted by /u/rawlimerick
[link] [comments]
Share: