[Support] SpaceinvaderOne - Macinabox


1855 posts in this topic Last Reply

Recommended Posts

11 hours ago, ghost82 said:

Try the attached clover qcow2, backup yours first if this doesn't work.

I modified the original Clover.qcow2 from the macinabox github repository, so if you changed SMBIOS data you need to change them again.

Config.plist is also the same as the original macinabox, sligtly modified, it should be compatible with the latest revision.

It's the latest release, revision 5114 but I cannot test, so not sure if it will boot or not.

Just try..

 

Clover.qcow2.zip 5.85 MB · 4 downloads

So mixed news :)

Firstly the qcow2 you generated, the VM started and Clover was updated so thanks for that it saved me a lot of time. Unfortunately no change to the behaviour.

 

I've restored from a TimeMachine backup and the VM is running fine again now however I'm still stuck with the core problem that if I update UnRaid or Catalina it breaks the VM and both exhibit the same issue which I find confusing. 

Link to post
  • Replies 1.9k
  • Created
  • Last Reply

Top Posters In This Topic

Top Posters In This Topic

Popular Posts

PLEASE - PLEASE - PLEASE EVERYONE POSTING IN THIS THREAD IF YOU POST YOUR XML FOR THE VM HERE PLEASE REMOVE/OBSCURE THE OSK KEY AT THE BOTTOM. IT IS AGAINST THE RULES OF THE FORUM FOR OSK K

09 Dec 2020   Basic usage instructions.   Macinabox needs the following other apps to be installed. CA User Scripts (macinabox will inject a user script. This is what fixes th

Do you like this for an icon? I think its appropriate.

Posted Images

9 hours ago, Lee.B said:

Unfortunately no change to the behaviour.

That's strange..can you post your vm xml?

Please when you post it delete the osk.

 

And also please confirm the following:

1- Catalina 10.15.1 and unraid 6.8.2 works well

2- Catalina 10.15.4 and unraid 6.8.2 has issues

3- Catalina 10.15.1 and unraid 6.8.3 has issues

Edited by ghost82
Link to post
12 hours ago, Lee.B said:

Firstly the qcow2 you generated, the VM started and Clover was updated so thanks for that it saved me a lot of time

Can you try to switch to opencore to see if the issue is with the bootloader?

Simply download the attached file, decompress and overwrite Clover.qcow2 (first make a backup).

The file name is Clover, but it's opencore (so you don't have to change xml, but simply replacing the qcow2).

I changed smbios data too (still iMac14,1).

 

Clover.qcow2.zip

Edited by ghost82
Link to post
20 hours ago, jboku said:

My Imessage_debug shows a changing UUID

If I look at the macinabox clover config.plist I can see 2 different values for SmUUID and CustomUUID: delete the CustomUUID:

		<key>CustomUUID</key>
		<string></string>

Disable also inject system id in the same section:

		<key>InjectSystemID</key>
		<false/>

 

Edited by ghost82
Link to post
17 hours ago, ghost82 said:

That's strange..can you post your vm xml?

Please when you post it delete the osk.

 

And also please confirm the following:

1- Catalina 10.15.1 and unraid 6.8.2 works well

2- Catalina 10.15.4 and unraid 6.8.2 has issues

3- Catalina 10.15.1 and unraid 6.8.3 has issues

Good news this time, I tried to be more systematic in how I approached this to try and figure out what was broken. So from a working state;

- Added switched to opencore and booted to make sure it worked fine (it did)

- Rolled back to the updated Clover qcow2

- Updated to UnRaid 6.8.3, VM now booted fine

- Updated to Catalina 10.5.4, VM now booted fine

 

So I'm now on 6.8.3 & 10.15.4 without issue. Without going back and doing more testing the thing seems to be having the updated clover during the update process has fixed the issue. No idea why that would be that case *shrug*

Thanks a lot for your help, especially around the quick responses and generating the qcow files it saved me a lot of time. Can I tip you a coffee?

Link to post
On 4/29/2020 at 3:34 AM, Lee.B said:

So I'm now on 6.8.3 & 10.15.4 without issue.

Nice to see you solved the issue. A thank you is enough and so you did :)

Now that the vm is working again you should check if the bootloader is logging to file (otherwise files will be written in the efi folder at every boot):

If you are using clover: Download clover configurator, menu bar --> tools --> mount efi

Mount the clover EFI (name should be "EFI")

Open the mounted EFI: Inside there's a folder "EFI" --> "BOOT" and "CLOVER"

Enter EFI/CLOVER/ folder and open config.plist with text edit

Inside the "Boot" section, search for "Debug" and change it to false (log to file disabled)

Delete log files in the root

 

If you are using opencore: Download opencore configurator, menu bar --> tools --> mount efi

Mount the opencore EFI (name should be "EFI" or "NO NAME")

Open the mounted EFI: Inside there's a folder "EFI" --> "BOOT" and "OC"

Enter EFI/OC/ folder and open config.plist with text edit

Change "Target" from 83 to 0 (log to file disabled)

Delete log files in the root

Edited by ghost82
Link to post

Hi, I'm hoping someone can help with USB passthrough. I'm trying to passthrough an iPhone but the MacOS VM is not recognizing it. Unraid sees it and I have configured the device for passthrough, but nothing inside the VM. Is there a trick to passing through to Mac? Currently running Catalina.

 

Thanks!

Link to post

Can anyone help me to install MAC VM?

 

My setup:

- Unraid: 6.8.3

- CPU: Ryzen 7 3700x

- Main: AOG Strix x570

 

1st time install:

- I can boot to Mac installation, can format it, install it until it almost done (after almost 5-6 hours). Then it got stuck at last step about finalizing something I don't quite remember.

- It is stucked so I have to remove everything (in docker data, domains and etc/libvirt/qemu folder)  to start again.

 

2nd + time install:

- I can finish install docker container, download everything, restart Unraid and VM appeared.

- However, everytime I start VM, it get stuck at first logo: "TianoCore". I waited for an hour but nothing change.

 

Now I don't know how to do to install Mac in Unraid anymore.

 

Please help me...

Link to post

Hi. I have managed to set up the standard OSX Catalina VM without passthru and am able to connect to it using VNC. Now I am trying to passthrough a graphics card which works perfectly in Windows 10 VMs. It is however going into a bootloop whenever I passthrough the graphics card.

 

My specs:

  • Unraid 6.8.3
  • Gigabyte B450 Aorus Pro Wifi-CF
  • AMD Ryzen 5 3600
  • Sapphire RX580 Pulse 8GB (got this as I assumed it is very likely to be OSX compatible)

Below is my XML:

<?xml version='1.0' encoding='UTF-8'?>
<domain type='kvm' xmlns:qemu='http://libvirt.org/schemas/domain/qemu/1.0'>
  <name>MacinaboxCatalina</name>
  <uuid>8e7f9acd-7900-4502-9384-01cc9ed1fc03</uuid>
  <description>MacOS Catalina</description>
  <metadata>
    <vmtemplate xmlns="unraid" name="MacOS" icon="/mnt/user/domains/MacinaboxCatalina/icon/catalina.png" os="Catalina"/>
  </metadata>
  <memory unit='KiB'>8388608</memory>
  <currentMemory unit='KiB'>8388608</currentMemory>
  <memoryBacking>
    <nosharepages/>
  </memoryBacking>
  <vcpu placement='static'>4</vcpu>
  <cputune>
    <vcpupin vcpu='0' cpuset='2'/>
    <vcpupin vcpu='1' cpuset='8'/>
    <vcpupin vcpu='2' cpuset='3'/>
    <vcpupin vcpu='3' cpuset='9'/>
  </cputune>
  <resource>
    <partition>/machine</partition>
  </resource>
  <os>
    <type arch='x86_64' machine='pc-q35-3.1'>hvm</type>
    <loader readonly='yes' type='pflash'>/mnt/user/domains/MacinaboxCatalina/ovmf/OVMF_CODE.fd</loader>
    <nvram>/mnt/user/domains/MacinaboxCatalina/ovmf/OVMF_VARS.fd</nvram>
  </os>
  <features>
    <acpi/>
    <apic/>
  </features>
  <cpu mode='host-passthrough' check='none'>
    <topology sockets='1' cores='4' threads='1'/>
    <cache mode='passthrough'/>
    <feature policy='require' name='topoext'/>
  </cpu>
  <clock offset='utc'>
    <timer name='rtc' tickpolicy='catchup'/>
    <timer name='pit' tickpolicy='delay'/>
    <timer name='hpet' present='no'/>
  </clock>
  <on_poweroff>destroy</on_poweroff>
  <on_reboot>restart</on_reboot>
  <on_crash>restart</on_crash>
  <devices>
    <emulator>/usr/local/sbin/qemu</emulator>
    <disk type='file' device='disk'>
      <driver name='qemu' type='qcow2' cache='writeback'/>
      <source file='/mnt/user/domains/MacinaboxCatalina/Clover.qcow2'/>
      <target dev='hdc' bus='sata'/>
      <boot order='1'/>
      <address type='drive' controller='0' bus='0' target='0' unit='2'/>
    </disk>
    <disk type='file' device='disk'>
      <driver name='qemu' type='raw' cache='writeback'/>
      <source file='/mnt/user/domains/MacinaboxCatalina/Catalina-install.img'/>
      <target dev='hdd' bus='sata'/>
      <address type='drive' controller='0' bus='0' target='0' unit='3'/>
    </disk>
    <disk type='file' device='disk'>
      <driver name='qemu' type='raw' cache='writeback'/>
      <source file='/mnt/user/domains/MacinaboxCatalina/macos_disk.img'/>
      <target dev='hde' bus='sata'/>
      <address type='drive' controller='0' bus='0' target='0' unit='4'/>
    </disk>
    <controller type='usb' index='0' model='ich9-ehci1'>
      <address type='pci' domain='0x0000' bus='0x00' slot='0x07' function='0x7'/>
    </controller>
    <controller type='usb' index='0' model='ich9-uhci1'>
      <master startport='0'/>
      <address type='pci' domain='0x0000' bus='0x00' slot='0x07' function='0x0' multifunction='on'/>
    </controller>
    <controller type='usb' index='0' model='ich9-uhci2'>
      <master startport='2'/>
      <address type='pci' domain='0x0000' bus='0x00' slot='0x07' function='0x1' multifunction='on'/>
    </controller>
    <controller type='usb' index='0' model='ich9-uhci3'>
      <master startport='4'/>
      <address type='pci' domain='0x0000' bus='0x00' slot='0x07' function='0x2'/>
    </controller>
    <controller type='pci' index='0' model='pcie-root'/>
    <controller type='pci' index='1' model='pcie-root-port'>
      <model name='pcie-root-port'/>
      <target chassis='1' port='0x10'/>
      <address type='pci' domain='0x0000' bus='0x00' slot='0x02' function='0x0' multifunction='on'/>
    </controller>
    <controller type='pci' index='2' model='pcie-root-port'>
      <model name='pcie-root-port'/>
      <target chassis='2' port='0x11'/>
      <address type='pci' domain='0x0000' bus='0x00' slot='0x02' function='0x1'/>
    </controller>
    <controller type='pci' index='3' model='pcie-root-port'>
      <model name='pcie-root-port'/>
      <target chassis='3' port='0x12'/>
      <address type='pci' domain='0x0000' bus='0x00' slot='0x02' function='0x2'/>
    </controller>
    <controller type='pci' index='4' model='pcie-root-port'>
      <model name='pcie-root-port'/>
      <target chassis='4' port='0x13'/>
      <address type='pci' domain='0x0000' bus='0x00' slot='0x02' function='0x3'/>
    </controller>
    <controller type='virtio-serial' index='0'>
      <address type='pci' domain='0x0000' bus='0x02' slot='0x00' function='0x0'/>
    </controller>
    <controller type='sata' index='0'>
      <address type='pci' domain='0x0000' bus='0x00' slot='0x1f' function='0x2'/>
    </controller>
    <interface type='bridge'>
      <mac address='52:54:00:c6:ad:ad'/>
      <source bridge='br0'/>
      <model type='vmxnet3'/>
      <address type='pci' domain='0x0000' bus='0x01' slot='0x00' function='0x0'/>
    </interface>
    <serial type='pty'>
      <target type='isa-serial' port='0'>
        <model name='isa-serial'/>
      </target>
    </serial>
    <console type='pty'>
      <target type='serial' port='0'/>
    </console>
    <channel type='unix'>
      <target type='virtio' name='org.qemu.guest_agent.0'/>
      <address type='virtio-serial' controller='0' bus='0' port='1'/>
    </channel>
    <input type='tablet' bus='usb'>
      <address type='usb' bus='0' port='1'/>
    </input>
    <input type='mouse' bus='ps2'/>
    <input type='keyboard' bus='ps2'/>
    <graphics type='vnc' port='-1' autoport='yes' websocket='5700' listen='0.0.0.0' keymap='en-us'>
      <listen type='address' address='0.0.0.0'/>
    </graphics>
    <video>
      <model type='qxl' ram='65536' vram='65536' vgamem='16384' heads='1' primary='yes'/>
      <address type='pci' domain='0x0000' bus='0x00' slot='0x01' function='0x0'/>
    </video>
    <hostdev mode='subsystem' type='pci' managed='yes'>
      <driver name='vfio'/>
      <source>
        <address domain='0x0000' bus='0x08' slot='0x00' function='0x0'/>
      </source>
      <rom file='/mnt/user/domains/vbios/Sapphire.RX580.8192.180719.rom'/>
      <address type='pci' domain='0x0000' bus='0x03' slot='0x00' function='0x0' multifunction='on'/>
    </hostdev>
    <hostdev mode='subsystem' type='pci' managed='yes'>
      <driver name='vfio'/>
      <source>
        <address domain='0x0000' bus='0x08' slot='0x00' function='0x1'/>
      </source>
      <address type='pci' domain='0x0000' bus='0x03' slot='0x00' function='0x1'/>
    </hostdev>
    <memballoon model='none'/>
  </devices>
  <qemu:commandline>
    <qemu:arg value='-usb'/>
    <qemu:arg value='-device'/>
    <qemu:arg value='usb-kbd,bus=usb-bus.0'/>
    <qemu:arg value='-device'/>
    <qemu:arg value='isa-applesmc,osk=XXX'/>
    <qemu:arg value='-smbios'/>
    <qemu:arg value='type=2'/>
    <qemu:arg value='-cpu'/>
    <qemu:arg value='Penryn,kvm=on,vendor=GenuineIntel,+invtsc,vmware-cpuid-freq=on,+pcid,+ssse3,+sse4.2,+popcnt,+avx,+aes,+xsave,+xsaveopt,check'/>
  </qemu:commandline>
</domain>

I have run the clover boot in verbose mode and attached is where the boot process reaches, hang for a while and then reboots. Also attached the debug log of the boot. It does seem like the GPU is being recognized but the VM is not booting fully.

 

Any thoughts on where I may be going wrong?

CatalinaRX580Passthru.jpg

debug.log

Link to post
On 11/4/2019 at 5:05 AM, oc3lot said:

Thanks so much for this @SpaceInvaderOne. I have installed Catalina using your instructions and it worked perfectly. However, to get my Nvidia passthru working, I'm now installing High Sierra, and getting an error at the beginning of the install saying 'The Recovery Server Could Not Be Contacted'.

 

I'm have removed and re-added 3 or 4 High Sierra VM's, but they're all doing the same thing using the out-of-the-box config. I even tried copying the network interface XML over from the working Catalina build, but no luck. Any tips?

Did you manage to find a fix for this at all? I've been experiencing the same issue with all my VM. I have tried Catalina, Mojave and High Sierra with the same error each time. 

 

I've changed everything i can think of and i'm still getting that error. 

Link to post

Hello Guys,

 

i have a graphical problem with the vm.

If i install the VM it works fine i can change the networkadapter type in the XML file without problems.

As soon as i touch ram or cpu cores (of cause adding the nessesary XML Code at the bottom afterwards) the VM still starts but i get a graphical glitsch.

Thats makes the VM unusable. Even if i revert back to the default settings this glitsch doenst go away.

 

I'm using VMC..

 

looks like this

 

20200504-160554-HDR.jpg

20200504-160624.jpg

 

 

Is there an easy fix for this?

Edited by Salamy
Link to post
On 11/28/2019 at 8:25 AM, newmember said:

Thank you.

 

I changed my NIC from vmxnet3 to 

<model type='e1000-82545em'/>

 

All good

This disables network on mine.


I've tried all tutorials and every thing I can find on this topic and nothing will work.  For most it seem just swap NIC to e1000-82545em works. I only have network access with the vmxnet3

 

I've read through all 29 pages here and other forum posts about icloud/imessage/appstore

Edited by in_trauma
Link to post
13 minutes ago, in_trauma said:

This disables network on mine.

You are not the first reporting this..still I don't get how it is possible that for somebody is working and for somebody else it's not working...different qemu version? different unraid version? different mac os? different xml?

Edited by ghost82
Link to post
Just now, ghost82 said:

You are not the first reporting this..still I don't get how is it possible that for somebody is working and for somebody else it's not working...different qemu version? different unraid version? different mac os? different xml?

  • unraid 6.8.2
  • Mojave install 10.14.6
  • Don't know how/where to check qemu

I installed the macinabox docker yesterday. Should be the most up to date for everything.
 

I have network access with vmxnet3. Set static IP with my router and manually configure DHCP and still says ethernet not connect/unplugged.
 

XML mods, all I've done is change the network setting.

 

My Current xml:
<?xml version='1.0' encoding='UTF-8'?>
<domain type='kvm' id='20' xmlns:qemu='http://libvirt.org/schemas/domain/qemu/1.0'>
  <name>MacinaboxMojave</name>
  <uuid>27e8e578-72f2-4248-93da-5817f2547df0</uuid>
  <description>MacOS-Mojave</description>
  <metadata>
    <vmtemplate xmlns="unraid" name="Windows 10" icon="/mnt/user/domains/MacinaboxMojave/icon/mojave.png" os="Mojave"/>
  </metadata>
  <memory unit='KiB'>4194304</memory>
  <currentMemory unit='KiB'>4194304</currentMemory>
  <memoryBacking>
    <nosharepages/>
  </memoryBacking>
  <vcpu placement='static'>2</vcpu>
  <cputune>
    <vcpupin vcpu='0' cpuset='0'/>
    <vcpupin vcpu='1' cpuset='1'/>
  </cputune>
  <resource>
    <partition>/machine</partition>
  </resource>
  <os>
    <type arch='x86_64' machine='pc-q35-3.1'>hvm</type>
    <loader readonly='yes' type='pflash'>/mnt/user/domains/MacinaboxMojave/ovmf/OVMF_CODE.fd</loader>
    <nvram>/mnt/user/domains/MacinaboxMojave/ovmf/OVMF_VARS.fd</nvram>
  </os>
  <features>
    <acpi/>
    <apic/>
  </features>
  <cpu mode='host-passthrough' check='none'>
    <topology sockets='1' cores='2' threads='1'/>
  </cpu>
  <clock offset='utc'>
    <timer name='rtc' tickpolicy='catchup'/>
    <timer name='pit' tickpolicy='delay'/>
    <timer name='hpet' present='no'/>
  </clock>
  <on_poweroff>destroy</on_poweroff>
  <on_reboot>restart</on_reboot>
  <on_crash>restart</on_crash>
  <devices>
    <emulator>/usr/local/sbin/qemu</emulator>
    <disk type='file' device='disk'>
      <driver name='qemu' type='qcow2' cache='writeback'/>
      <source file='/mnt/user/domains/MacinaboxMojave/Clover.qcow2' index='3'/>
      <backingStore/>
      <target dev='hdc' bus='sata'/>
      <boot order='1'/>
      <alias name='sata0-0-2'/>
      <address type='drive' controller='0' bus='0' target='0' unit='2'/>
    </disk>
    <disk type='file' device='disk'>
      <driver name='qemu' type='raw' cache='writeback'/>
      <source file='/mnt/user/domains/MacinaboxMojave/Mojave-install.img' index='2'/>
      <backingStore/>
      <target dev='hdd' bus='sata'/>
      <alias name='sata0-0-3'/>
      <address type='drive' controller='0' bus='0' target='0' unit='3'/>
    </disk>
    <disk type='file' device='disk'>
      <driver name='qemu' type='raw' cache='writeback'/>
      <source file='/mnt/user/domains/MacinaboxMojave/macos_disk.img' index='1'/>
      <backingStore/>
      <target dev='hde' bus='sata'/>
      <alias name='sata0-0-4'/>
      <address type='drive' controller='0' bus='0' target='0' unit='4'/>
    </disk>
    <controller type='pci' index='0' model='pcie-root'>
      <alias name='pcie.0'/>
    </controller>
    <controller type='pci' index='1' model='pcie-root-port'>
      <model name='pcie-root-port'/>
      <target chassis='1' port='0x10'/>
      <alias name='pci.1'/>
      <address type='pci' domain='0x0000' bus='0x00' slot='0x02' function='0x0' multifunction='on'/>
    </controller>
    <controller type='pci' index='2' model='pcie-root-port'>
      <model name='pcie-root-port'/>
      <target chassis='2' port='0x11'/>
      <alias name='pci.2'/>
      <address type='pci' domain='0x0000' bus='0x00' slot='0x02' function='0x1'/>
    </controller>
    <controller type='pci' index='3' model='pcie-root-port'>
      <model name='pcie-root-port'/>
      <target chassis='3' port='0x12'/>
      <alias name='pci.3'/>
      <address type='pci' domain='0x0000' bus='0x00' slot='0x02' function='0x2'/>
    </controller>
    <controller type='pci' index='4' model='pcie-root-port'>
      <model name='pcie-root-port'/>
      <target chassis='4' port='0x13'/>
      <alias name='pci.4'/>
      <address type='pci' domain='0x0000' bus='0x00' slot='0x02' function='0x3'/>
    </controller>
    <controller type='virtio-serial' index='0'>
      <alias name='virtio-serial0'/>
      <address type='pci' domain='0x0000' bus='0x02' slot='0x00' function='0x0'/>
    </controller>
    <controller type='sata' index='0'>
      <alias name='ide'/>
      <address type='pci' domain='0x0000' bus='0x00' slot='0x1f' function='0x2'/>
    </controller>
    <controller type='usb' index='0' model='ich9-ehci1'>
      <alias name='usb'/>
      <address type='pci' domain='0x0000' bus='0x00' slot='0x07' function='0x7'/>
    </controller>
    <controller type='usb' index='0' model='ich9-uhci1'>
      <alias name='usb'/>
      <master startport='0'/>
      <address type='pci' domain='0x0000' bus='0x00' slot='0x07' function='0x0' multifunction='on'/>
    </controller>
    <controller type='usb' index='0' model='ich9-uhci2'>
      <alias name='usb'/>
      <master startport='2'/>
      <address type='pci' domain='0x0000' bus='0x00' slot='0x07' function='0x1'/>
    </controller>
    <controller type='usb' index='0' model='ich9-uhci3'>
      <alias name='usb'/>
      <master startport='4'/>
      <address type='pci' domain='0x0000' bus='0x00' slot='0x07' function='0x2'/>
    </controller>
    <interface type='bridge'>
      <mac address='52:54:00:f3:7e:a2'/>
      <source bridge='br0'/>
      <target dev='vnet0'/>
      <model type='e1000-82545em'/>
      <alias name='net0'/>
      <address type='pci' domain='0x0000' bus='0x01' slot='0x00' function='0x0'/>
    </interface>
    <serial type='pty'>
      <source path='/dev/pts/0'/>
      <target type='isa-serial' port='0'>
        <model name='isa-serial'/>
      </target>
      <alias name='serial0'/>
    </serial>
    <console type='pty' tty='/dev/pts/0'>
      <source path='/dev/pts/0'/>
      <target type='serial' port='0'/>
      <alias name='serial0'/>
    </console>
    <channel type='unix'>
      <source mode='bind' path='/var/lib/libvirt/qemu/channel/target/domain-20-MacinaboxMojave/org.qemu.guest_agent.0'/>
      <target type='virtio' name='org.qemu.guest_agent.0' state='disconnected'/>
      <alias name='channel0'/>
      <address type='virtio-serial' controller='0' bus='0' port='1'/>
    </channel>
    <input type='tablet' bus='usb'>
      <alias name='input0'/>
      <address type='usb' bus='0' port='1'/>
    </input>
    <input type='mouse' bus='ps2'>
      <alias name='input1'/>
    </input>
    <input type='keyboard' bus='ps2'>
      <alias name='input2'/>
    </input>
    <graphics type='vnc' port='5900' autoport='yes' websocket='5700' listen='0.0.0.0' keymap='en-us'>
      <listen type='address' address='0.0.0.0'/>
    </graphics>
    <video>
      <model type='qxl' ram='65536' vram='65536' vgamem='16384' heads='1' primary='yes'/>
      <alias name='video0'/>
      <address type='pci' domain='0x0000' bus='0x00' slot='0x01' function='0x0'/>
    </video>
    <memballoon model='virtio'>
      <alias name='balloon0'/>
      <address type='pci' domain='0x0000' bus='0x03' slot='0x00' function='0x0'/>
    </memballoon>
  </devices>
  <seclabel type='dynamic' model='dac' relabel='yes'>
    <label>+0:+100</label>
    <imagelabel>+0:+100</imagelabel>
  </seclabel>
  <qemu:commandline>
    <qemu:arg value='-usb'/>
    <qemu:arg value='-device'/>
    <qemu:arg value='usb-kbd,bus=usb-bus.0'/>
    <qemu:arg value='-device'/>
    <qemu:arg value='************************'/>
    <qemu:arg value='-smbios'/>
    <qemu:arg value='type=2'/>
    <qemu:arg value='-cpu'/>
    <qemu:arg value='Penryn,kvm=on,vendor=GenuineIntel,+invtsc,vmware-cpuid-freq=on,+pcid,+ssse3,+sse4.2,+popcnt,+avx,+aes,+xsave,+xsaveopt,check'/>
  </qemu:commandline>
</domain>727470311_2020-05-0409_18_28-QEMU(MacinaboxMojave)-noVNC.thumb.jpg.1f8e6db2127a21eb9c85d7625f2b7f9d.jpg
 

 

tower-diagnostics-20200504-0918.zip

Link to post
2 minutes ago, in_trauma said:

and still says ethernet not connect/unplugged

Does it work if you disable and enable again that ethernet in the mac os prefpane?

If this works try to increase the slot value, for example from slot='0x00' to slot='0x08'

Link to post
7 minutes ago, ghost82 said:

Does it work if you disable and enable again that ethernet in the mac os prefpane?

If this works try to increase the slot value, for example from slot='0x00' to slot='0x08'

Well I don't know what happened I restarted a couple more times but now it works and i've signed into imessage successfully I think the restart with auto DHCP might have been the ticket.🤷‍♂️

If you mean "make inactive" and reactivate the connection the Network panel of my screenshot, then yes I've tried this and nothing happens. Tried auto and manual DHCP. I've remove the ethernet connection and made a new one.  

In Terminal when I listall hardwareports I have the following
Hardware Port: Ethernet
Device : en0
Ethernet Address : (my MAC address)
 

Changing slot value: I assume you mean in the xml?

Link to post
5 minutes ago, in_trauma said:

Changing slot value: I assume you mean in the xml?

Yes, sometimes there can be the issue of virtual network down after booting mac os, which seems solved if you use a higher slot number.

Link to post

Thanks for a great plugin! The install process went smooth for me.

 

Anyone get an RX580 HDMI audio working successfully with Catalina? I have my GPU/KB/Mouse all passed through in UNRAID but cant get audio to be recognized by the VM I've tried injecting various numbers for my audio codec in Clover via other instructions found online but no luck whatsoever.

 

I've installed Kexts Lilu, Whatevergreen,AppleACL, and the passthrough boots the VM just fine. All are the latest versions. Lastly, I was able to pass-through a USB audio headset just fine but the sound is all garbled.

 

Here my unraid host specs:

 

CPU: AMD Ryzen 5 1600 Processor
MOBO: GIGABYTE GA-AX370 Gaming
GPU: XFX Radeon RX 580 GTS XXX Edition
PSU: EVGA 500 BQ
RAM: Corsair Vengeance LPX 16GB

Link to post
On 11/12/2019 at 12:46 PM, SpaceInvaderOne said:

For sound you should be able to get it working through splashtop by adding a virtual sound card. (also i think splashtop supports clipboard sharing..)

Please add this to the xml


  <sound model='ich9'>
  </sound>

 

 

Trying to get this working, but from my first bit of googling, it seems ich9 requires pulseaudio, which isn't working on unraid.  Am I understanding that correctly?

Link to post
On 5/7/2020 at 1:28 AM, renegade5150 said:

Thanks for a great plugin! The install process went smooth for me.

 

Anyone get an RX580 HDMI audio working successfully with Catalina? I have my GPU/KB/Mouse all passed through in UNRAID but cant get audio to be recognized by the VM I've tried injecting various numbers for my audio codec in Clover via other instructions found online but no luck whatsoever.

 

I've installed Kexts Lilu, Whatevergreen,AppleACL, and the passthrough boots the VM just fine. All are the latest versions. Lastly, I was able to pass-through a USB audio headset just fine but the sound is all garbled.

 

Here my unraid host specs:

 

CPU: AMD Ryzen 5 1600 Processor
MOBO: GIGABYTE GA-AX370 Gaming
GPU: XFX Radeon RX 580 GTS XXX Edition
PSU: EVGA 500 BQ
RAM: Corsair Vengeance LPX 16GB

To get the sound working you will need edit the xml of the gpu and its sound conterpart to be multifunction.

Please see this video here

 

Link to post
14 hours ago, acosmichippo said:

 

Trying to get this working, but from my first bit of googling, it seems ich9 requires pulseaudio, which isn't working on unraid.  Am I understanding that correctly?

This will only work using splashtop desktop to remotely connect to the vm, doesnt work using vnc. The virtual soundcard will be heard on the splashtop client.

The sound unfortunately will not come out of the soundcard of the host Unraid server.

Link to post

Hi! I also tested the Macinabox Docker on my system (unRAID v6.8.3). Because of my Nvidia card I set up a VM with High Sierra. But I actually have the known weird graphic issues: three little duplicated screens and the Apple logo on the top left.. 

I tested all the mentioned possible solutions and it still does not work. Can anyone help me please? 

Below my XML-File: 

<?xml version='1.0' encoding='UTF-8'?>
<domain type='kvm' id='15' xmlns:qemu='http://libvirt.org/schemas/domain/qemu/1.0'>
  <name>MacinaboxHighSierra</name>
  <uuid>61ae6c41-3443-4e64-8987-29fde1a4bb8e</uuid>
  <description>MacOS High Sierra</description>
  <metadata>
    <vmtemplate xmlns="unraid" name="MacOS" icon="/mnt/user/domains/MacinaboxHighSierra/icon/highsierra.png" os="HighSierra"/>
  </metadata>
  <memory unit='KiB'>8388608</memory>
  <currentMemory unit='KiB'>8388608</currentMemory>
  <memoryBacking>
    <nosharepages/>
  </memoryBacking>
  <vcpu placement='static'>8</vcpu>
  <cputune>
    <vcpupin vcpu='0' cpuset='8'/>
    <vcpupin vcpu='1' cpuset='20'/>
    <vcpupin vcpu='2' cpuset='9'/>
    <vcpupin vcpu='3' cpuset='21'/>
    <vcpupin vcpu='4' cpuset='10'/>
    <vcpupin vcpu='5' cpuset='22'/>
    <vcpupin vcpu='6' cpuset='11'/>
    <vcpupin vcpu='7' cpuset='23'/>
  </cputune>
  <resource>
    <partition>/machine</partition>
  </resource>
  <os>
    <type arch='x86_64' machine='pc-q35-3.1'>hvm</type>
    <loader readonly='yes' type='pflash'>/mnt/user/domains/MacinaboxHighSierra/ovmf/OVMF_CODE.fd</loader>
    <nvram>/mnt/user/domains/MacinaboxHighSierra/ovmf/OVMF_VARS.fd</nvram>
  </os>
  <features>
    <acpi/>
    <apic/>
  </features>
  <cpu mode='host-passthrough' check='none'>
    <topology sockets='1' cores='4' threads='2'/>
    <cache mode='passthrough'/>
    <feature policy='require' name='topoext'/>
  </cpu>
  <clock offset='utc'>
    <timer name='rtc' tickpolicy='catchup'/>
    <timer name='pit' tickpolicy='delay'/>
    <timer name='hpet' present='no'/>
  </clock>
  <on_poweroff>destroy</on_poweroff>
  <on_reboot>restart</on_reboot>
  <on_crash>restart</on_crash>
  <devices>
    <emulator>/usr/local/sbin/qemu</emulator>
    <disk type='file' device='disk'>
      <driver name='qemu' type='qcow2' cache='writeback'/>
      <source file='/mnt/user/domains/MacinaboxHighSierra/Clover.qcow2' index='3'/>
      <backingStore/>
      <target dev='hdc' bus='sata'/>
      <boot order='1'/>
      <alias name='sata0-0-2'/>
      <address type='drive' controller='0' bus='0' target='0' unit='2'/>
    </disk>
    <disk type='file' device='disk'>
      <driver name='qemu' type='raw' cache='writeback'/>
      <source file='/mnt/user/domains/MacinaboxHighSierra/HighSierra-install.img' index='2'/>
      <backingStore/>
      <target dev='hdd' bus='sata'/>
      <alias name='sata0-0-3'/>
      <address type='drive' controller='0' bus='0' target='0' unit='3'/>
    </disk>
    <disk type='file' device='disk'>
      <driver name='qemu' type='raw' cache='writeback'/>
      <source file='/mnt/user/domains/MacinaboxHighSierra/macos_disk.img' index='1'/>
      <backingStore/>
      <target dev='hde' bus='sata'/>
      <alias name='sata0-0-4'/>
      <address type='drive' controller='0' bus='0' target='0' unit='4'/>
    </disk>
    <controller type='pci' index='0' model='pcie-root'>
      <alias name='pcie.0'/>
    </controller>
    <controller type='pci' index='1' model='pcie-root-port'>
      <model name='pcie-root-port'/>
      <target chassis='1' port='0x10'/>
      <alias name='pci.1'/>
      <address type='pci' domain='0x0000' bus='0x00' slot='0x02' function='0x0' multifunction='on'/>
    </controller>
    <controller type='pci' index='2' model='pcie-root-port'>
      <model name='pcie-root-port'/>
      <target chassis='2' port='0x11'/>
      <alias name='pci.2'/>
      <address type='pci' domain='0x0000' bus='0x00' slot='0x02' function='0x1'/>
    </controller>
    <controller type='pci' index='3' model='pcie-root-port'>
      <model name='pcie-root-port'/>
      <target chassis='3' port='0x12'/>
      <alias name='pci.3'/>
      <address type='pci' domain='0x0000' bus='0x00' slot='0x02' function='0x2'/>
    </controller>
    <controller type='pci' index='4' model='pcie-root-port'>
      <model name='pcie-root-port'/>
      <target chassis='4' port='0x13'/>
      <alias name='pci.4'/>
      <address type='pci' domain='0x0000' bus='0x00' slot='0x02' function='0x3'/>
    </controller>
    <controller type='virtio-serial' index='0'>
      <alias name='virtio-serial0'/>
      <address type='pci' domain='0x0000' bus='0x02' slot='0x00' function='0x0'/>
    </controller>
    <controller type='sata' index='0'>
      <alias name='ide'/>
      <address type='pci' domain='0x0000' bus='0x00' slot='0x1f' function='0x2'/>
    </controller>
    <controller type='usb' index='0' model='ich9-ehci1'>
      <alias name='usb'/>
      <address type='pci' domain='0x0000' bus='0x00' slot='0x07' function='0x7'/>
    </controller>
    <controller type='usb' index='0' model='ich9-uhci1'>
      <alias name='usb'/>
      <master startport='0'/>
      <address type='pci' domain='0x0000' bus='0x00' slot='0x07' function='0x0' multifunction='on'/>
    </controller>
    <controller type='usb' index='0' model='ich9-uhci2'>
      <alias name='usb'/>
      <master startport='2'/>
      <address type='pci' domain='0x0000' bus='0x00' slot='0x07' function='0x1'/>
    </controller>
    <controller type='usb' index='0' model='ich9-uhci3'>
      <alias name='usb'/>
      <master startport='4'/>
      <address type='pci' domain='0x0000' bus='0x00' slot='0x07' function='0x2'/>
    </controller>
    <interface type='bridge'>
      <mac address='52:54:00:de:48:71'/>
      <source bridge='br0'/>
      <target dev='vnet0'/>
      <model type='e1000-82545em'/>
      <alias name='net0'/>
      <address type='pci' domain='0x0000' bus='0x01' slot='0x00' function='0x0'/>
    </interface>
    <serial type='pty'>
      <source path='/dev/pts/0'/>
      <target type='isa-serial' port='0'>
        <model name='isa-serial'/>
      </target>
      <alias name='serial0'/>
    </serial>
    <console type='pty' tty='/dev/pts/0'>
      <source path='/dev/pts/0'/>
      <target type='serial' port='0'/>
      <alias name='serial0'/>
    </console>
    <channel type='unix'>
      <source mode='bind' path='/var/lib/libvirt/qemu/channel/target/domain-15-MacinaboxHighSierra/org.qemu.guest_agent.0'/>
      <target type='virtio' name='org.qemu.guest_agent.0' state='disconnected'/>
      <alias name='channel0'/>
      <address type='virtio-serial' controller='0' bus='0' port='1'/>
    </channel>
    <input type='tablet' bus='usb'>
      <alias name='input0'/>
      <address type='usb' bus='0' port='1'/>
    </input>
    <input type='mouse' bus='ps2'>
      <alias name='input1'/>
    </input>
    <input type='keyboard' bus='ps2'>
      <alias name='input2'/>
    </input>
    <hostdev mode='subsystem' type='pci' managed='yes'>
      <driver name='vfio'/>
      <source>
        <address domain='0x0000' bus='0x0a' slot='0x00' function='0x0'/>
      </source>
      <alias name='hostdev0'/>
      <rom file='/mnt/user/domains/gtx1080.dump'/>
      <address type='pci' domain='0x0000' bus='0x03' slot='0x00' function='0x0'/>
    </hostdev>
    <hostdev mode='subsystem' type='pci' managed='yes'>
      <driver name='vfio'/>
      <source>
        <address domain='0x0000' bus='0x0a' slot='0x00' function='0x1'/>
      </source>
      <alias name='hostdev1'/>
      <address type='pci' domain='0x0000' bus='0x04' slot='0x00' function='0x0'/>
    </hostdev>
    <hostdev mode='subsystem' type='usb' managed='no'>
      <source>
        <vendor id='0x046a'/>
        <product id='0x010d'/>
        <address bus='1' device='2'/>
      </source>
      <alias name='hostdev2'/>
      <address type='usb' bus='0' port='2'/>
    </hostdev>
    <hostdev mode='subsystem' type='usb' managed='no'>
      <source>
        <vendor id='0x046d'/>
        <product id='0xc539'/>
        <address bus='1' device='6'/>
      </source>
      <alias name='hostdev3'/>
      <address type='usb' bus='0' port='3'/>
    </hostdev>
    <memballoon model='none'/>
  </devices>
  <seclabel type='dynamic' model='dac' relabel='yes'>
    <label>+0:+100</label>
    <imagelabel>+0:+100</imagelabel>
  </seclabel>
  <qemu:commandline>
    <qemu:arg value='-usb'/>
    <qemu:arg value='-device'/>
    <qemu:arg value='usb-kbd,bus=usb-bus.0'/>
    <qemu:arg value='-device'/>
    <qemu:arg value='************************'/>
    <qemu:arg value='-smbios'/>
    <qemu:arg value='type=2'/>
    <qemu:arg value='-cpu'/>
    <qemu:arg value='Penryn,kvm=on,vendor=GenuineIntel,+invtsc,vmware-cpuid-freq=on,+pcid,+ssse3,+sse4.2,+popcnt,+avx,+aes,+xsave,+xsaveopt,check'/>
  </qemu:commandline>
</domain>

 

Link to post

I have been having a look at this and I seem to get stuck at the first hurdle.  I have gone through the process that the video tutorial says and I get to the press enter to boot into the recovery part and I just get the apple logo and no progress bar.  I have changed no setting in the VM and I have nothing else running on the server.  In the logs I just get the following.

 

2020-05-15 10:12:07.329+0000: Domain id=1 is tainted: custom-argv
2020-05-15 10:12:07.329+0000: Domain id=1 is tainted: host-cpu
char device redirected to /dev/pts/1 (label charserial0)
2020-05-15T10:12:07.437962Z qemu-system-x86_64: warning: host doesn't support requested feature: CPUID.01H:ECX.ssse3 [bit 9]
2020-05-15T10:12:07.438058Z qemu-system-x86_64: warning: host doesn't support requested feature: CPUID.01H:ECX.pcid [bit 17]
2020-05-15T10:12:07.438065Z qemu-system-x86_64: warning: host doesn't support requested feature: CPUID.01H:ECX.sse4.1 [bit 19]
2020-05-15T10:12:07.438070Z qemu-system-x86_64: warning: host doesn't support requested feature: CPUID.01H:ECX.sse4.2 [bit 20]
2020-05-15T10:12:07.438075Z qemu-system-x86_64: warning: host doesn't support requested feature: CPUID.01H:ECX.aes [bit 25]
2020-05-15T10:12:07.438081Z qemu-system-x86_64: warning: host doesn't support requested feature: CPUID.01H:ECX.xsave [bit 26]
2020-05-15T10:12:07.438086Z qemu-system-x86_64: warning: host doesn't support requested feature: CPUID.01H:ECX.avx [bit 28]
2020-05-15T10:12:07.438096Z qemu-system-x86_64: warning: host doesn't support requested feature: CPUID.0DH:EAX.xsaveopt [bit 0]
2020-05-15T10:12:07.438101Z qemu-system-x86_64: warning: host doesn't support requested feature: CPUID.0DH:EAX [bit 0]
2020-05-15T10:12:07.438106Z qemu-system-x86_64: warning: host doesn't support requested feature: CPUID.0DH:EAX [bit 1]
2020-05-15T10:12:07.438112Z qemu-system-x86_64: warning: host doesn't support requested feature: CPUID.0DH:EAX [bit 2]
2020-05-15T10:12:07.441474Z qemu-system-x86_64: warning: host doesn't support requested feature: CPUID.01H:ECX.ssse3 [bit 9]
2020-05-15T10:12:07.441503Z qemu-system-x86_64: warning: host doesn't support requested feature: CPUID.01H:ECX.pcid [bit 17]
2020-05-15T10:12:07.441513Z qemu-system-x86_64: warning: host doesn't support requested feature: CPUID.01H:ECX.sse4.1 [bit 19]
2020-05-15T10:12:07.441520Z qemu-system-x86_64: warning: host doesn't support requested feature: CPUID.01H:ECX.sse4.2 [bit 20]
2020-05-15T10:12:07.441527Z qemu-system-x86_64: warning: host doesn't support requested feature: CPUID.01H:ECX.aes [bit 25]
2020-05-15T10:12:07.441534Z qemu-system-x86_64: warning: host doesn't support requested feature: CPUID.01H:ECX.xsave [bit 26]
2020-05-15T10:12:07.441541Z qemu-system-x86_64: warning: host doesn't support requested feature: CPUID.01H:ECX.avx [bit 28]
2020-05-15T10:12:07.441556Z qemu-system-x86_64: warning: host doesn't support requested feature: CPUID.0DH:EAX.xsaveopt [bit 0]
2020-05-15T10:12:07.441564Z qemu-system-x86_64: warning: host doesn't support requested feature: CPUID.0DH:EAX [bit 0]
2020-05-15T10:12:07.441571Z qemu-system-x86_64: warning: host doesn't support requested feature: CPUID.0DH:EAX [bit 1]
2020-05-15T10:12:07.441579Z qemu-system-x86_64: warning: host doesn't support requested feature: CPUID.0DH:EAX [bit 2]

The host-cpu line (line 2) is an error and all the rest are warnings.  I have left it for a good while and its just sat there with CPU0 pegged at 100%.

Link to post
1 hour ago, nturton said:

The host-cpu line (line 2) is an error and all the rest are warnings.

It seems you are trying to passthrough your cpu (cpu host)?

Change the xml and check if with Penryn you are able to boot: cpu host passthrough may not work with clover, and I recently submitted an issue for opencore, which got fixed (in 0.5.9 master). --> reading of msr register values is problematic in qemu.

https://github.com/acidanthera/bugtracker/issues/914

 

BTW they are not errors, it is simply telling you that you are using custom args in your vm settings.

Edited by ghost82
Link to post

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.