[Support] SpaceinvaderOne - Macinabox


Recommended Posts

On 11/3/2019 at 7:30 PM, nesede said:

Apologies in advance if this is a dumb question, noob here. I am basically just trying to use iMessage on android through AirMessage, and I'm running into one of the following 2 issues:

 

1. If I use the Catalina VM as configured out of the box by spaceinvaderone's docker, it has a 192.168.122.0/24 ip, and I can't port forward to it in my router. I can log in to iMessage and the store just fine though.

2. If I bridge my unraid adapter and get the Catalina VM a 192.168.0.0/24 ip, I am no longer able to log into iMessage.

 

Any thoughts would be greatly appreciated, not sure how to go about this.

Any ideas on this? Or perhaps as an alternative, is it possible to port forward to unraid's 192.168.0.x ip and then inside unraid forward that to the VM's 192.168.122.x ip somehow?

Link to comment

Hi all! @SpaceInvaderOne thanks a ton for this container. I've been thinking about getting a hackintosh up and running and your Catalina update tipped me over the edge.

 

Everything's running just fine as long as I don't touch the CPU pins. I applied the XML corrections, but maybe I've missed something? Screen shots and XML below.

<?xml version='1.0' encoding='UTF-8'?>
<domain type='kvm' xmlns:qemu='http://libvirt.org/schemas/domain/qemu/1.0'>
  <name>MacinaboxCatalina</name>
  <uuid>e930dfa3-ce5f-4a14-a642-d140ed8035bd</uuid>
  <description>MacOS Catalina</description>
  <metadata>
    <vmtemplate xmlns="unraid" name="Windows 10" icon="catalina.png" os="Catalina"/>
  </metadata>
  <memory unit='KiB'>4194304</memory>
  <currentMemory unit='KiB'>4194304</currentMemory>
  <memoryBacking>
    <nosharepages/>
  </memoryBacking>
  <vcpu placement='static'>8</vcpu>
  <cputune>
    <vcpupin vcpu='0' cpuset='1'/>
    <vcpupin vcpu='1' cpuset='13'/>
    <vcpupin vcpu='2' cpuset='3'/>
    <vcpupin vcpu='3' cpuset='15'/>
    <vcpupin vcpu='4' cpuset='5'/>
    <vcpupin vcpu='5' cpuset='17'/>
    <vcpupin vcpu='6' cpuset='7'/>
    <vcpupin vcpu='7' cpuset='19'/>
  </cputune>
  <os>
    <type arch='x86_64' machine='pc-q35-3.1'>hvm</type>
    <loader readonly='yes' type='pflash'>/usr/share/qemu/ovmf-x64/OVMF_CODE-pure-efi.fd</loader>
    <nvram>/etc/libvirt/qemu/nvram/e930dfa3-ce5f-4a14-a642-d140ed8035bd_VARS-pure-efi.fd</nvram>
  </os>
  <features>
    <acpi/>
    <apic/>
  </features>
  <cpu mode='host-passthrough' check='none'/>
  <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='sata' index='0'>
      <address type='pci' domain='0x0000' bus='0x00' slot='0x1f' 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='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'/>
    </controller>
    <controller type='usb' index='0' model='ich9-uhci3'>
      <master startport='4'/>
      <address type='pci' domain='0x0000' bus='0x00' slot='0x07' function='0x2'/>
    </controller>
    <interface type='bridge'>
      <mac address='52:54:00:1d:51:54'/>
      <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='-1' 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>
    <memballoon model='virtio'>
      <address type='pci' domain='0x0000' bus='0x03' slot='0x00' function='0x0'/>
    </memballoon>
  </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=[redacted]'/>
    <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>

 

firefox_CM2ijWq02q.png

Link to comment
On 11/1/2019 at 11:17 PM, G Dog said:

Earlier in this thread are some instructions on replacing the OS Section of your XML.  There are several sections of the XML that get overwritten when you make changes to the VM in the template.  There are certain ones that you have to go back and fix in the XML and the OS section is one of them.

 

Once I put in the vbios and removed the graphics card audio I got it to work. Now I have a self assigned ip for some reason now.

Link to comment
4 hours ago, dexxy said:

Hi all! @SpaceInvaderOne thanks a ton for this container. I've been thinking about getting a hackintosh up and running and your Catalina update tipped me over the edge.

 

Everything's running just fine as long as I don't touch the CPU pins. I applied the XML corrections, but maybe I've missed something? Screen shots and XML below.

 

On 11/4/2019 at 3:17 AM, blaine07 said:

Every time I go through these motions once I start the VM it shows loading bar multiple times and appears to fully boot but graphics super borked of having the desktop like gargley across top of screen several times.

On 10/30/2019 at 3:14 AM, frodr said:

Great docker container and video. Everything worked fine until I changed cpu pinning and memory, then this black screen. Xml mods done.

On 10/29/2019 at 1:11 AM, CorneliousJD said:

Ok so mostly smooth so far but I don't keep my VMs in /mnt/user/domains so i had to do some tweaking.

I'm sure I've mucked something up now in the works but cannot figure it out.

 

Anyone care to take a look?

On 10/31/2019 at 12:03 PM, Young_Max said:

When I use default setting(2 cpu ,4096MB ) to install macos catalina,it's fine. But I change cpu number to 4

 

This post talks about another XML correction. Copying the <os> </os> section of your original xml back in after making edits.

Saved me from the exact same graphical issues you are having when changing cpu threads. 

 

 

Edited by samtrois
Added more users with similar issue
  • Like 1
Link to comment

I am stuck with a black screen after pressing enter on initial boot of the VM.

This is the first VM i have tried on unraid. My first problem was that it would not boot and gave the following error - "Cannot get interface MTU on 'br0': No such device" - this was solved by pressing refresh under "Network MAC" in the template for the vm.   (edit - i should add this is being accessed remotely, not on the machine but in another room)

 

Next problem was i could not see my mouse cursor in the VNC session.  I read here in the forums that that is normal and i should just press enter.  When i do so, i am stuck at a black screen.  Please advice me what information i should post here - I do not see an OSK key in the xml file so i am not posting it until i figure that out.  I am running unraid 6.7.2.  Posting libvert log since it has some warnings - 

 

2019-11-07 18:56:45.242+0000: 25339: info : libvirt version: 5.1.0
2019-11-07 18:56:45.242+0000: 25339: info : hostname: Tower
2019-11-07 18:56:45.242+0000: 25339: error : virNetDevGetMTU:415 : Cannot get interface MTU on 'br0': No such device
2019-11-07 18:57:05.719+0000: 25338: error : virNetDevGetMTU:415 : Cannot get interface MTU on 'br0': No such device
2019-11-07 19:01:22.246+0000: 25340: error : virNetDevGetMTU:415 : Cannot get interface MTU on 'br0': No such device
2019-11-07 19:05:08.741+0000: 25340: error : virNetDevGetMTU:415 : Cannot get interface MTU on 'br0': No such device
2019-11-07 19:14:50.263+0000: 25338: warning : qemuDomainObjTaint:7986 : Domain id=5 name='MacinaboxCatalina' uuid=91b8977d-95ea-4cde-9b39-fefce6b490a4 is tainted: high-privileges
2019-11-07 19:14:50.263+0000: 25338: warning : qemuDomainObjTaint:7986 : Domain id=5 name='MacinaboxCatalina' uuid=91b8977d-95ea-4cde-9b39-fefce6b490a4 is tainted: host-cpu
2019-11-07 19:36:17.454+0000: 25338: warning : qemuDomainObjTaint:7986 : Domain id=6 name='MacinaboxCatalina' uuid=91b8977d-95ea-4cde-9b39-fefce6b490a4 is tainted: high-privileges
2019-11-07 19:36:17.454+0000: 25338: warning : qemuDomainObjTaint:7986 : Domain id=6 name='MacinaboxCatalina' uuid=91b8977d-95ea-4cde-9b39-fefce6b490a4 is tainted: host-cpu
2019-11-07 19:38:36.854+0000: 25338: warning : qemuDomainObjTaint:7986 : Domain id=7 name='MacinaboxCatalina' uuid=91b8977d-95ea-4cde-9b39-fefce6b490a4 is tainted: high-privileges
2019-11-07 19:38:36.854+0000: 25338: warning : qemuDomainObjTaint:7986 : Domain id=7 name='MacinaboxCatalina' uuid=91b8977d-95ea-4cde-9b39-fefce6b490a4 is tainted: host-cpu
2019-11-07 19:42:09.813+0000: 25338: warning : qemuDomainObjTaint:7986 : Domain id=8 name='MacinaboxCatalina' uuid=91b8977d-95ea-4cde-9b39-fefce6b490a4 is tainted: high-privileges
2019-11-07 19:42:09.813+0000: 25338: warning : qemuDomainObjTaint:7986 : Domain id=8 name='MacinaboxCatalina' uuid=91b8977d-95ea-4cde-9b39-fefce6b490a4 is tainted: host-cpu

Edited by FrozenGamer
add info.
Link to comment

I finally got everything up and running. I only have a few minor things left. It's kind of a hassel to get it up as I have to restart the computer then I have to run the script SpaceInvader One has to reset Vega cards. Then I can start the VM and it runs. Also I have two sets of headphone a Pioneer SE-305 that goes through an audio interface. Not much issue with audio on it but my Logitech G605 gets random static when watching videos or listen to music. And lastly is their a way to passthough the RGB on the keyboard and mouse. I know doing it for the case fans would be difficult.

Link to comment

EDIT: Disregard! I saw the comment about changing the <os> section of the xml and it's booting up correctly. I'm new to unraid and vms in general (not including parallels desktop lol), so this has been enlightening! Amazing amount of support!

 

I'm sure this is a noob question, but I have been reading through this thread and may have just missed the solution. I had Mojave running after install, and wanted to add cores/ram. I did that, added the lines at the bottom, changed the virtio network entry, and removed the topology. It does boot all the way, but the bottom 2/3rds are black with the apple logo and the upper 1/3rd is what looks like desktop. No graphics card installed.

image.thumb.png.2b6fd7b370d7ab44262df8c08c9ea6e1.png

 

Here's the xml:

<?xml version='1.0' encoding='UTF-8'?>
<domain type='kvm' xmlns:qemu='http://libvirt.org/schemas/domain/qemu/1.0'>
  <name>MacinaboxMojave</name>
  <uuid>270130d2-f17a-42a2-a1bb-0b9e527a1038</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'>8388608</memory>
  <currentMemory unit='KiB'>8388608</currentMemory>
  <memoryBacking>
    <nosharepages/>
  </memoryBacking>
  <vcpu placement='static'>8</vcpu>
  <cputune>
    <vcpupin vcpu='0' cpuset='4'/>
    <vcpupin vcpu='1' cpuset='12'/>
    <vcpupin vcpu='2' cpuset='5'/>
    <vcpupin vcpu='3' cpuset='13'/>
    <vcpupin vcpu='4' cpuset='6'/>
    <vcpupin vcpu='5' cpuset='14'/>
    <vcpupin vcpu='6' cpuset='7'/>
    <vcpupin vcpu='7' cpuset='15'/>
  </cputune>
  <os>
    <type arch='x86_64' machine='pc-q35-3.1'>hvm</type>
    <loader readonly='yes' type='pflash'>/usr/share/qemu/ovmf-x64/OVMF_CODE-pure-efi.fd</loader>
    <nvram>/etc/libvirt/qemu/nvram/270130d2-f17a-42a2-a1bb-0b9e527a1038_VARS-pure-efi.fd</nvram>
  </os>
  <features>
    <acpi/>
    <apic/>
  </features>
  <cpu mode='host-passthrough' check='none'/>
  <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'/>
      <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/MacinaboxMojave/Mojave-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/MacinaboxMojave/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'/>
    </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:68:aa:0c'/>
      <source bridge='br0'/>
      <model type='e1000-82545em'/>
      <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='-1' 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>
    <memballoon model='virtio'>
      <address type='pci' domain='0x0000' bus='0x03' slot='0x00' function='0x0'/>
    </memballoon>
  </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='itsa-slapple.idk=hihowyoudoin(c)MackleComputerInc'/>
    <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>
 

 

Edited by nitebleu
Update with solution found.
Link to comment
1 hour ago, FrozenGamer said:

I am stuck with a black screen after pressing enter on initial boot of the VM.

This is the first VM i have tried on unraid. My first problem was that it would not boot and gave the following error - "Cannot get interface MTU on 'br0': No such device" - this was solved by pressing refresh under "Network MAC" in the template for the vm.  

 

Next problem was i could not see my mouse cursor in the VNC session.  I read here in the forums that that is normal and i should just press enter.  When i do so, i am stuck at a black screen.  Please advice me what information i should post here - I do not see an OSK key in the xml file so i am not posting it until i figure that out.  I am running unraid 6.7.2.  Posting libvert log since it has some warnings - 

 

2019-11-07 18:56:45.242+0000: 25339: info : libvirt version: 5.1.0
2019-11-07 18:56:45.242+0000: 25339: info : hostname: Tower
2019-11-07 18:56:45.242+0000: 25339: error : virNetDevGetMTU:415 : Cannot get interface MTU on 'br0': No such device
2019-11-07 18:57:05.719+0000: 25338: error : virNetDevGetMTU:415 : Cannot get interface MTU on 'br0': No such device
2019-11-07 19:01:22.246+0000: 25340: error : virNetDevGetMTU:415 : Cannot get interface MTU on 'br0': No such device
2019-11-07 19:05:08.741+0000: 25340: error : virNetDevGetMTU:415 : Cannot get interface MTU on 'br0': No such device
2019-11-07 19:14:50.263+0000: 25338: warning : qemuDomainObjTaint:7986 : Domain id=5 name='MacinaboxCatalina' uuid=91b8977d-95ea-4cde-9b39-fefce6b490a4 is tainted: high-privileges
2019-11-07 19:14:50.263+0000: 25338: warning : qemuDomainObjTaint:7986 : Domain id=5 name='MacinaboxCatalina' uuid=91b8977d-95ea-4cde-9b39-fefce6b490a4 is tainted: host-cpu
2019-11-07 19:36:17.454+0000: 25338: warning : qemuDomainObjTaint:7986 : Domain id=6 name='MacinaboxCatalina' uuid=91b8977d-95ea-4cde-9b39-fefce6b490a4 is tainted: high-privileges
2019-11-07 19:36:17.454+0000: 25338: warning : qemuDomainObjTaint:7986 : Domain id=6 name='MacinaboxCatalina' uuid=91b8977d-95ea-4cde-9b39-fefce6b490a4 is tainted: host-cpu
2019-11-07 19:38:36.854+0000: 25338: warning : qemuDomainObjTaint:7986 : Domain id=7 name='MacinaboxCatalina' uuid=91b8977d-95ea-4cde-9b39-fefce6b490a4 is tainted: high-privileges
2019-11-07 19:38:36.854+0000: 25338: warning : qemuDomainObjTaint:7986 : Domain id=7 name='MacinaboxCatalina' uuid=91b8977d-95ea-4cde-9b39-fefce6b490a4 is tainted: host-cpu
2019-11-07 19:42:09.813+0000: 25338: warning : qemuDomainObjTaint:7986 : Domain id=8 name='MacinaboxCatalina' uuid=91b8977d-95ea-4cde-9b39-fefce6b490a4 is tainted: high-privileges
2019-11-07 19:42:09.813+0000: 25338: warning : qemuDomainObjTaint:7986 : Domain id=8 name='MacinaboxCatalina' uuid=91b8977d-95ea-4cde-9b39-fefce6b490a4 is tainted: host-cpu


 

Hi I cannot help you about the Catalina issue as I am still new at the whole Unraid / Docker Etc.. However I might be able to help with your mouse not showing up. I was able to sort my issue out by clicking on the VNC tab on the left of you screen.  Then Click on the button A and then the crt.alt.del button and your mouse should appear (see below) hope this helps 

 1439349747_ScreenShot2019-11-03at14_39.09(2).thumb.png.0aebd4b004815e6dd93d6aa9695b2591.png

 

Link to comment
11 minutes ago, Martintheshred said:


 

Hi I cannot help you about the Catalina issue as I am still new at the whole Unraid / Docker Etc.. However I might be able to help with your mouse not showing up. I was able to sort my issue out by clicking on the VNC tab on the left of you screen.  Then Click on the button A and then the crt.alt.del button and your mouse should appear (see below) hope this helps 

 1439349747_ScreenShot2019-11-03at14_39.09(2).thumb.png.0aebd4b004815e6dd93d6aa9695b2591.png

 

unfortunately - still no mouse - but i'm able to use arrow keys - space bar - f1 - enter etc, just cant get past the initial screen with space invader - just goes black.

Link to comment
On 11/6/2019 at 8:16 PM, dexxy said:

Hi all! @SpaceInvaderOne thanks a ton for this container. I've been thinking about getting a hackintosh up and running and your Catalina update tipped me over the edge.

 

Everything's running just fine as long as I don't touch the CPU pins. I applied the XML corrections, but maybe I've missed something? Screen shots and XML below.


<?xml version='1.0' encoding='UTF-8'?>
<domain type='kvm' xmlns:qemu='http://libvirt.org/schemas/domain/qemu/1.0'>
  <name>MacinaboxCatalina</name>
  <uuid>e930dfa3-ce5f-4a14-a642-d140ed8035bd</uuid>
  <description>MacOS Catalina</description>
  <metadata>
    <vmtemplate xmlns="unraid" name="Windows 10" icon="catalina.png" os="Catalina"/>
  </metadata>
  <memory unit='KiB'>4194304</memory>
  <currentMemory unit='KiB'>4194304</currentMemory>
  <memoryBacking>
    <nosharepages/>
  </memoryBacking>
  <vcpu placement='static'>8</vcpu>
  <cputune>
    <vcpupin vcpu='0' cpuset='1'/>
    <vcpupin vcpu='1' cpuset='13'/>
    <vcpupin vcpu='2' cpuset='3'/>
    <vcpupin vcpu='3' cpuset='15'/>
    <vcpupin vcpu='4' cpuset='5'/>
    <vcpupin vcpu='5' cpuset='17'/>
    <vcpupin vcpu='6' cpuset='7'/>
    <vcpupin vcpu='7' cpuset='19'/>
  </cputune>
  
  
  
  <os>
    <type arch='x86_64' machine='pc-q35-3.1'>hvm</type>
    <loader readonly='yes' type='pflash'>/usr/share/qemu/ovmf-x64/OVMF_CODE-pure-efi.fd</loader>
    <nvram>/etc/libvirt/qemu/nvram/e930dfa3-ce5f-4a14-a642-d140ed8035bd_VARS-pure-efi.fd</nvram>
  </os>

 

firefox_CM2ijWq02q.png

 

The macinabox template uses  custom ovmf files. If you change

<os>
    <type arch='x86_64' machine='pc-q35-3.1'>hvm</type>
    <loader readonly='yes' type='pflash'>/usr/share/qemu/ovmf-x64/OVMF_CODE-pure-efi.fd</loader>
    <nvram>/etc/libvirt/qemu/nvram/e930dfa3-ce5f-4a14-a642-d140ed8035bd_VARS-pure-efi.fd</nvram>
  </os>

to be as below you will be back without the screen corruption.

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

hope that helps 😀

  • Like 5
  • Thanks 1
Link to comment
On 11/6/2019 at 11:23 PM, ETHREAL1 said:

Another question, do things like AirPods, handoff, iMessage, and Apple Pay work via the VM in Catalina? And if so would I need to pass a WI-FI card to the vm?

iMessage, FaceTime and iCloud work for me after following a guide like this one. AirDrop I have read is tricky and you might have to passthrough Wi-Fi or Bluetooth hardware. I don't have Apple Pay or an iPhone/iPad.

Link to comment
19 hours ago, SpaceInvaderOne said:

 

The macinabox template uses  custom ovmf files. If you change


<os>
    <type arch='x86_64' machine='pc-q35-3.1'>hvm</type>
    <loader readonly='yes' type='pflash'>/usr/share/qemu/ovmf-x64/OVMF_CODE-pure-efi.fd</loader>
    <nvram>/etc/libvirt/qemu/nvram/e930dfa3-ce5f-4a14-a642-d140ed8035bd_VARS-pure-efi.fd</nvram>
  </os>

to be as below you will be back without the screen corruption.


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

hope that helps 😀

Hi! 

I get this problem too but my <os> tag is with the custom ovmf, where is the problem?

 

<?xml version='1.0' encoding='UTF-8'?>
<domain type='kvm' xmlns:qemu='http://libvirt.org/schemas/domain/qemu/1.0'>
  <name>MacinaboxCatalina</name>
  <uuid>3797aa34-6afa-47f7-9c9b-e14caaadfc48</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'>12582912</memory>
  <currentMemory unit='KiB'>12582912</currentMemory>
  <memoryBacking>
    <nosharepages/>
  </memoryBacking>
  <vcpu placement='static'>12</vcpu>
  <cputune>
    <vcpupin vcpu='0' cpuset='2'/>
    <vcpupin vcpu='1' cpuset='18'/>
    <vcpupin vcpu='2' cpuset='3'/>
    <vcpupin vcpu='3' cpuset='19'/>
    <vcpupin vcpu='4' cpuset='4'/>
    <vcpupin vcpu='5' cpuset='20'/>
    <vcpupin vcpu='6' cpuset='5'/>
    <vcpupin vcpu='7' cpuset='21'/>
    <vcpupin vcpu='8' cpuset='6'/>
    <vcpupin vcpu='9' cpuset='22'/>
    <vcpupin vcpu='10' cpuset='7'/>
    <vcpupin vcpu='11' cpuset='23'/>
  </cputune>
  <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'/>
  <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='qcow2' cache='writeback'/>
      <source file='/mnt/user/domains/MacinaboxCatalina/macos_disk.qcow2'/>
      <target dev='hde' bus='sata'/>
      <address type='drive' controller='0' bus='0' target='0' unit='4'/>
    </disk>
    <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='0x8'/>
      <address type='pci' domain='0x0000' bus='0x00' slot='0x01' function='0x0' multifunction='on'/>
    </controller>
    <controller type='pci' index='2' model='pcie-root-port'>
      <model name='pcie-root-port'/>
      <target chassis='2' port='0x9'/>
      <address type='pci' domain='0x0000' bus='0x00' slot='0x01' function='0x1'/>
    </controller>
    <controller type='pci' index='3' model='pcie-root-port'>
      <model name='pcie-root-port'/>
      <target chassis='3' port='0xa'/>
      <address type='pci' domain='0x0000' bus='0x00' slot='0x01' 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>
    <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'/>
    </controller>
    <controller type='usb' index='0' model='ich9-uhci3'>
      <master startport='4'/>
      <address type='pci' domain='0x0000' bus='0x00' slot='0x07' function='0x2'/>
    </controller>
    <interface type='bridge'>
      <mac address='52:54:00:9d:58:d1'/>
      <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'/>
    <hostdev mode='subsystem' type='pci' managed='yes'>
      <driver name='vfio'/>
      <source>
        <address domain='0x0000' bus='0x0a' slot='0x00' function='0x0'/>
      </source>
      <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>
      <address type='pci' domain='0x0000' bus='0x04' slot='0x00' function='0x0'/>
    </hostdev>
    <hostdev mode='subsystem' type='usb' managed='no'>
      <source>
        <vendor id='0x2516'/>
        <product id='0x005b'/>
      </source>
      <address type='usb' bus='0' port='2'/>
    </hostdev>
    <hostdev mode='subsystem' type='usb' managed='no'>
      <source>
        <vendor id='0x2516'/>
        <product id='0x005d'/>
      </source>
      <address type='usb' bus='0' port='3'/>
    </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='-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>

 

Edited by iJumbo
Deleted XML due to OSK
Link to comment

I got it all working - works fine with the novnc, but im trying to setup splashtop - I can't see how to connect locally on the network from a windows 10 pc.  streamer installed on the vm and personal installed on the windows 10 machine - says unable to connect "to access a computer that's on a different wireless network you need the anywhere access pack) - the Mac's local IP is 192.168.122.xxx and my local network is 192.168.1.  Any tips on setting this up or a recommended alternative - i connected to the built in vnc with vnc viewer, but one time the keyboard didn't type and then after a reboot it did.  

Link to comment
3 hours ago, FrozenGamer said:

I got it all working - works fine with the novnc, but im trying to setup splashtop - I can't see how to connect locally on the network from a windows 10 pc.  streamer installed on the vm and personal installed on the windows 10 machine - says unable to connect "to access a computer that's on a different wireless network you need the anywhere access pack) - the Mac's local IP is 192.168.122.xxx and my local network is 192.168.1.  Any tips on setting this up or a recommended alternative - i connected to the built in vnc with vnc viewer, but one time the keyboard didn't type and then after a reboot it did.  

If you change the line 

<source bridge='virbr0'/>

to 

<source bridge='br0'/>

The Mac VM should pull an ip address in the range 192.168.1.0/24

Edited by Jagadguru
correction
Link to comment

Hey all,

 

on my first install i was able to get GPU passthrough via my GT 620 as a secondary card. but the next day i could not get video signal anymore. So i tried reinstalling the OS a few times infact.. (also tried high sierra and mojave) this had no effect.

 

I also think i was served with weird boot screen at one point which allowed me to skip the clover boot loader (i think this is the important part as the GT 620 suffers from the reboot bug)

 

Does anyone know how to adjust the Clover image to allow for me to try and skip the boot loader to rule this out as an issue or any tips for GPU passthrough and these macos images.

 

i know the 620 shouldn't work with catalina but i swear it was working, persisted vm sleep too. i dont know how i got lucky the first time haha..

 

thanks!

Link to comment
36 minutes ago, phyzical said:

Hey all,

 

on my first install i was able to get GPU passthrough via my GT 620 as a secondary card. but the next day i could not get video signal anymore. So i tried reinstalling the OS a few times infact.. (also tried high sierra and mojave) this had no effect.

 

I also think i was served with weird boot screen at one point which allowed me to skip the clover boot loader (i think this is the important part as the GT 620 suffers from the reboot bug)

 

Does anyone know how to adjust the Clover image to allow for me to try and skip the boot loader to rule this out as an issue or any tips for GPU passthrough and these macos images.

 

i know the 620 shouldn't work with catalina but i swear it was working, persisted vm sleep too. i dont know how i got lucky the first time haha..

 

thanks!

I had a "similar" issue, I bought a gt710 just for the purpose of passing though to this vm. Got it up once, then changed something and couldn't get it displaying again after several reinstalls. Then I tried the HDMI cable in my main pc, and it also wasn't displaying anything, which had me quite confused because t it was working on my laptop. Very weird. Anyway, another HDMI cable 'sorted' the issue for me. 

Link to comment
On 11/8/2019 at 9:32 PM, Jagadguru said:

iMessage, FaceTime and iCloud work for me after following a guide like this one. AirDrop I have read is tricky and you might have to passthrough Wi-Fi or Bluetooth hardware. I don't have Apple Pay or an iPhone/iPad.

Do you remember what specifically you did for iMessage/Facetime? The Appstore and iCloud work fine for me, but not the other two.

 

edit:

This vm has two EFI mountable partitions, the top one has the CLOVER directory in it, the bottom one looks similar to the partitions mentioned in every tutorial but only has an APPLE folder. I'm a little lost.

clover.png

Edited by mraneri
Link to comment

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.