[Support] SpaceinvaderOne - Macinabox


Recommended Posts

On 3/8/2020 at 9:06 PM, AgentXXL said:

Change the folders used for appdata and Basesystem to something other than the default locations. I had a working Catalina VM alongside a High Sierra VM on my older system still listed in my signature. As mentioned in my post above, I just transplanted my entire unRAID setup to a used Supermicro CSE-847 system. Alas the dual Xeon x5650 CPUs don't support AVX2 so I can no longer use the Catalina VM.

 

I tried that, but no vm appear. 

Link to comment
1 minute ago, frodr said:

Jups!

Did you verify that MacinaBox created the full VM or was it set to just do the pre-install? By default the Docker container is set to pre-install so you have to change that parameter to 'full install'. Check your log for the 'MacinaBox' container on the Docker tab - it should end looking something like this if you have it set to 'full install'. If your log verifies that the vdisk was created, once you stop and then restart the array it should appear in the VM tab and in the VM section on the Dashboard tab.

 

Quote

>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>

Summary of what has been done

>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
.
.
The reference /image below refers to where you mapped that folder in the docker template on your server
(normally to /mnt/user/doamins)
.
.
MacOS install media was put in /image/MacinaboxHighSierra/HighSierra-install.img
.
.
A raw Vdisk of 64G was created in /image/MacinaboxHighSierra
.
.
Uptodate clover image was put in /image/MacinaboxHighSierra
.
.
Compatible OVMF files vere put in /image/MacinaboxHighSierra/ovmf
.
.
XML template file for the vm was placed in Unraid system files. This file assumes your vm path
is /mnt/user/domains if it isnt you will need to manually edit the template changing the locations accordingly
.
.
OK process has finished at Fri Mar 13 14:34:07 America 2020
.
.
Now you must stop and start the array. The vm will be visible in the Unraid VM manager

 

Link to comment

I've been playing with this a bit and I have Catalina up and running but it is very slow and laggy.  I set the domains share as cache only and my cache drive is a SSD.  I haven;t passed through any hardware and I just use VNC to access it.

 

I have a Win 10 VM that I've been using for a couple years now with no speed issues.  It is setup the same way (no hardware passthourgh and accessed via VNC).  The only difference is that it was setup with a share named VM which has the domains folder in it.  So the path to it's virtual disk it cache/VM/domains/Windows 10/vdisk1.img

 

Here is my xml.  Any idea what is causing the issue?

 

<?xml version='1.0' encoding='UTF-8'?>
<domain type='kvm' id='2' xmlns:qemu='http://libvirt.org/schemas/domain/qemu/1.0'>
  <name>MacinaboxCatalina</name>
  <uuid>11ef4cfb-e787-4029-9198-4d3d5f0f6175</uuid>
  <description>MacOS Catalina</description>
  <metadata>
    <vmtemplate xmlns="unraid" name="Windows 10" 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'>8</vcpu>
  <cputune>
    <vcpupin vcpu='0' cpuset='8'/>
    <vcpupin vcpu='1' cpuset='24'/>
    <vcpupin vcpu='2' cpuset='10'/>
    <vcpupin vcpu='3' cpuset='26'/>
    <vcpupin vcpu='4' cpuset='12'/>
    <vcpupin vcpu='5' cpuset='28'/>
    <vcpupin vcpu='6' cpuset='14'/>
    <vcpupin vcpu='7' cpuset='30'/>
  </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='2'/>
  </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' 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/MacinaboxCatalina/Catalina-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/MacinaboxCatalina/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='sata' index='0'>
      <alias name='ide'/>
      <address type='pci' domain='0x0000' bus='0x00' slot='0x1f' function='0x2'/>
    </controller>
    <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='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:e5:b3:92'/>
      <source bridge='br0'/>
      <target dev='vnet1'/>
      <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/1'/>
      <target type='isa-serial' port='0'>
        <model name='isa-serial'/>
      </target>
      <alias name='serial0'/>
    </serial>
    <console type='pty' tty='/dev/pts/1'>
      <source path='/dev/pts/1'/>
      <target type='serial' port='0'/>
      <alias name='serial0'/>
    </console>
    <channel type='unix'>
      <source mode='bind' path='/var/lib/libvirt/qemu/channel/target/domain-2-MacinaboxCatalina/org.qemu.guest_agent.0'/>
      <target type='virtio' name='org.qemu.guest_agent.0' state='connected'/>
      <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='5901' autoport='yes' websocket='5701' 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>

 

Edited by RockDawg
Link to comment
1 minute ago, newmember said:

I updated the network card to vmxnet3 and when I reboot I see this issue with the vnc video.

 

Thoughts?

 

Thanks

 

image.thumb.png.400555e2be4d367fe59d2653098da27d.png

Just coming into this thread...is your bios resolution the same as clover? that's required.

 

vnc back into macOS, edit clover resolution to match your monitors NATIVE resolution (under gui section).

 

Hit esc rapidly while booting back up so you get into the OVMF menu and change target resolution to match.

Link to comment

So, I'm stuck in a Catalina boot loop. There are a couple older mentions of similar symptoms, but one of them never got answered, and the other seemed to be during install. The install finished and I got to the OS, set up remote login. I shut it down to edit config, and it won't boot back up. I get it even if I restore everything back to the default settings before I made any changes. I get the Apple logo, the progress bar gets a few ticks along, then it loops back to a terminal window (I've attached a screenshot of that) then it goes to the Clover screen, then it tries to boot again until I force a stop.

I can mess with settings and force the graphical issues if I want, and in that case, it seems to actually boot, but I need to get in to some system settings.

I am going to try a High Sierra install, I need to access this remotely for emulating iOS for Xamarin, so I don't care if it's headless, but I need to get at some settings. I can't spin down my array at the moment, as it's rebuilding and has 20 hours to go, so all I can do is poke at the XML and I'm just learning what these things all do.

Here is my XML as it currently stands (mostly OOB standard, but I did add a couple cores just to see if the problem was not enough resources when it just got a couple old-ass cores). But I think 8GB and 4 cores (even if these are 10 year old Xeons) should be enough to at least boot.

 

<?xml version='1.0' encoding='UTF-8'?>
<domain type='kvm' id='24' xmlns:qemu='http://libvirt.org/schemas/domain/qemu/1.0'>
  <name>MacinaboxCatalina</name>
  <uuid>ea1709d5-785d-4d23-bdfc-383b21348d4f</uuid>
  <description>MacOS Catalina</description>
  <metadata>
    <vmtemplate xmlns="unraid" name="Windows 10" 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='0'/>
    <vcpupin vcpu='1' cpuset='1'/>
    <vcpupin vcpu='2' cpuset='2'/>
    <vcpupin vcpu='3' cpuset='3'/>
  </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'>
    <cache mode='passthrough'/>
  </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' 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/MacinaboxCatalina/Catalina-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/MacinaboxCatalina/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='sata' index='0'>
      <alias name='ide'/>
      <address type='pci' domain='0x0000' bus='0x00' slot='0x1f' function='0x2'/>
    </controller>
    <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='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:74:ff:3a'/>
      <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-24-MacinaboxCatalina/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='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>

 

Untitled.jpg

Edited by reggieb
Link to comment

Hi there,

thank you for this great container!
I got two questions regarding my Catalina-VM:

1. I accidentally changed the resolution from 1920x1080 to 2536x1536 (or sth. like this) in the clover.plist (via Clover Configurator). I forgot, that Mac OS needs Hardware Acceleration (or at least mor VRam) to support higher resolutions. This is not the case as I do not passthrough a graphics card. Instead I am using VNC/Fluid desktop via JumpDesktop from my IPad.
My intention was to optimize/align the resolution for my IPad, otherwise I can only use a small potion of the screen when using VNC.
However, I am getting glitches, which do not allow me to boot up properly / sign in into my user account. Is there a way to override the setting with a boot arg or within Clover at boot time?

2. As graphic performance is really bad via VNC (some programs do not render properly, e.g. OpenVPN just displays a black background which renders it unusable), I thought of buying another dedicated graphics card. At the moment I am running a Nvidia 1060 GTX which I passthrough to my Windows VM (would not be compatible with Mac OS anyway, as there is no WebDriver / support for the Nvidia 1000 series at the moment).

What would be a cheap graphics card, which allow me to do 4k for Office / Desktop usage (no gaming)?

Thanks for your input.

Link to comment
On 3/13/2020 at 3:50 PM, AgentXXL said:

Did you verify that MacinaBox created the full VM or was it set to just do the pre-install? By default the Docker container is set to pre-install so you have to change that parameter to 'full install'. Check your log for the 'MacinaBox' container on the Docker tab - it should end looking something like this if you have it set to 'full install'. If your log verifies that the vdisk was created, once you stop and then restart the array it should appear in the VM tab and in the VM section on the Dashboard tab.

 

 

 

I changed name to xxx_MacinaBox, Appdata and Basesystem folders, but no VM was created. Anything I am missing?

 

828367144_Screenshot2020-03-18at18_59_38.thumb.png.5efc405c335d22e8663ca6dd5c5de216.png

 

 

 

>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>

Summary of what has been done

>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
.
.
The reference /image below refers to where you mapped that folder in the docker template on your server
(normally to /mnt/user/doamins)
.
.
Install media was already present
.
.
Vdisk was already present
.
.
Uptodate clover image was put in /image/MacinaboxCatalina
.
.
Compatible OVMF files vere put in /image/MacinaboxCatalina/ovmf
.
.
An XML file was already present for MacinaboxCatalina you will need to manually delete if you want me to replace this
.
.
OK process has finished at Wed Mar 18 18:00:10 Europe 2020
.

 

 

Edited by frodr
Link to comment
3 hours ago, frodr said:

 

I changed name to xxx_MacinaBox, Appdata and Basesystem folders, but no VM was created. Anything I am missing?

 

828367144_Screenshot2020-03-18at18_59_38.thumb.png.5efc405c335d22e8663ca6dd5c5de216.png

 

 

 

>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>

Summary of what has been done

>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
.
.
The reference /image below refers to where you mapped that folder in the docker template on your server
(normally to /mnt/user/doamins)
.
.
Install media was already present
.
.
Vdisk was already present
.
.
Uptodate clover image was put in /image/MacinaboxCatalina
.
.
Compatible OVMF files vere put in /image/MacinaboxCatalina/ovmf
.
.
An XML file was already present for MacinaboxCatalina you will need to manually delete if you want me to replace this
.
.
OK process has finished at Wed Mar 18 18:00:10 Europe 2020
.

 

 

 

I deleted the Macinabox docker and reinstalled it, set appfolder and basefolder different from current VM and full install. The same log file. No additional folders in /domains was created. The Docker seems to be referencing the current VM. 

 

Thoughts?

 

 

maxx-diagnostics-20200318-2239.zip

Link to comment
23 hours ago, frodr said:

 

I deleted the Macinabox docker and reinstalled it, set appfolder and basefolder different from current VM and full install. The same log file. No additional folders in /domains was created. The Docker seems to be referencing the current VM. 

 

Thoughts?

 

I was having issues with my High Sierra VM so I decided to try a full de-install/cleanup and then start from scratch. I removed the MacinaBox docker and deleted all folders related to it on both the flash drive and in /appdata and /domains. So neither the MacinaBox docker nor any VMs were on my unRAID build.

 

When I re-installed the docker and ran it, I initially installed a new High Sierra VM that's been working well. But I also noticed that there were still two folders created under /appdata - 'MacinaBox' for the main appdata folder and 'macinabox' for Basesystem. This was corrected again by changing the case of the letters so both paths used the /appdata/MacinaBox folder.

 

I then decided to try another Catalina VM after reading up on AVX2. While my older x5650 Xeons don't support AVX2, it's really only needed to improve overall performance. The older AVX support still functions. All I changed in the MacinaBox docker were the OS choice (--catalina) and edit of the paths under 'Show more settings' as the attached image shows - change the 'MacinaBox' to 'MacinaBoxCat'.

 

MacinaBoxCat.thumb.jpg.bdd9b574044ef0d1f480b848e9755602.jpg

 

The docker ran, created the VM (as I chose --full install) and after stopping and restarting the array, both it and the High Sierra VM were available. I've run them both since the install and they both continue to function. Note that I did not pin any cores to the VMs at this time... just wanted to see how they perform 1st and so far everything is running pretty well.

 

So for those that want to do dual (or more) Mac VMs, it looks like the key is to make sure you set your appdata and Basesystem paths correctly. I'm not sure if them both using the same case for the spelling of 'MacinaBox' had an effect, but since it's working I'm going to say that mixed case spellings between the two paths may be part of the issues others are seeing.

 

Link to comment

I am having an issue where after I try to pass through the video card the vm is no longer accessible. Here is the log.

 

Quote

ErrorWarningSystemArrayLogin


-device ich9-usb-uhci3,masterbus=usb.0,firstport=4,bus=pcie.0,addr=0x7.0x2 \
-device virtio-serial-pci,id=virtio-serial0,bus=pci.2,addr=0x0 \
-blockdev '{"driver":"file","filename":"/mnt/user/domains/MacinaboxCatalina/Clover.qcow2","node-name":"libvirt-3-storage","cache":{"direct":false,"no-flush":false},"auto-read-only":true,"discard":"unmap"}' \
-blockdev '{"node-name":"libvirt-3-format","read-only":false,"cache":{"direct":false,"no-flush":false},"driver":"qcow2","file":"libvirt-3-storage","backing":null}' \
-device ide-hd,bus=ide.2,drive=libvirt-3-format,id=sata0-0-2,bootindex=1,write-cache=on \
-blockdev '{"driver":"file","filename":"/mnt/user/domains/MacinaboxCatalina/Catalina-install.img","node-name":"libvirt-2-storage","cache":{"direct":false,"no-flush":false},"auto-read-only":true,"discard":"unmap"}' \
-blockdev '{"node-name":"libvirt-2-format","read-only":false,"cache":{"direct":false,"no-flush":false},"driver":"raw","file":"libvirt-2-storage"}' \
-device ide-hd,bus=ide.3,drive=libvirt-2-format,id=sata0-0-3,write-cache=on \
-blockdev '{"driver":"file","filename":"/mnt/user/domains/MacinaboxCatalina/macos_disk.img","node-name":"libvirt-1-storage","cache":{"direct":false,"no-flush":false},"auto-read-only":true,"discard":"unmap"}' \
-blockdev '{"node-name":"libvirt-1-format","read-only":false,"cache":{"direct":false,"no-flush":false},"driver":"raw","file":"libvirt-1-storage"}' \
-device ide-hd,bus=ide.4,drive=libvirt-1-format,id=sata0-0-4,write-cache=on \
-netdev tap,fd=37,id=hostnet0,vhost=on,vhostfd=38 \
-device virtio-net-pci,netdev=hostnet0,id=net0,mac=52:54:00:93:c7:94,bus=pci.3,addr=0x0 \
-chardev pty,id=charserial0 \
-device isa-serial,chardev=charserial0,id=serial0 \
-chardev socket,id=charchannel0,fd=40,server,nowait \
-device virtserialport,bus=virtio-serial0.0,nr=1,chardev=charchannel0,id=channel0,name=org.qemu.guest_agent.0 \
-device usb-tablet,id=input0,bus=usb.0,port=1 \
-device vfio-pci,host=0000:09:00.0,id=hostdev0,bus=pci.6,addr=0x1 \
-device vfio-pci,host=0000:09:00.1,id=hostdev1,bus=pci.6,addr=0x2 \
-usb \
-device usb-kbd,bus=usb-bus.0 \
-device '************************' \
-smbios type=2 \
-cpu Penryn,kvm=on,vendor=GenuineIntel,+invtsc,vmware-cpuid-freq=on,+pcid,+ssse3,+sse4.2,+popcnt,+avx,+aes,+xsave,+xsaveopt,check \
-sandbox on,obsolete=deny,elevateprivileges=deny,spawn=deny,resourcecontrol=deny \
-msg timestamp=on
2020-03-17 03:39:23.575+0000: Domain id=2 is tainted: high-privileges
2020-03-17 03:39:23.575+0000: Domain id=2 is tainted: custom-argv
2020-03-17 03:39:23.575+0000: Domain id=2 is tainted: host-cpu
char device redirected to /dev/pts/1 (label charserial0)
2020-03-17T03:39:23.604722Z qemu-system-x86_64: warning: host doesn't support requested feature: CPUID.01H:ECX.pcid [bit 17]
2020-03-17T03:39:23.605876Z qemu-system-x86_64: warning: host doesn't support requested feature: CPUID.01H:ECX.pcid [bit 17]
2020-03-17T03:39:23.606708Z qemu-system-x86_64: warning: host doesn't support requested feature: CPUID.01H:ECX.pcid [bit 17]
2020-03-17T03:39:23.607571Z qemu-system-x86_64: warning: host doesn't support requested feature: CPUID.01H:ECX.pcid [bit 17]
2020-03-17T03:39:25.864710Z qemu-system-x86_64: vfio: Unable to power on device, stuck in D3
2020-03-17T03:40:37.287751Z qemu-system-x86_64: vfio: Unable to power on device, stuck in D3
2020-03-18T01:50:04.726123Z qemu-system-x86_64: terminating on signal 15 from pid 9569 (/usr/sbin/libvirtd)
2020-03-18 01:50:48.740+0000: shutting down, reason=destroyed
2020-03-18 01:59:21.627+0000: shutting down, reason=failed
2020-03-20 17:28:47.163+0000: shutting down, reason=failed

 

Link to comment

No VNC Remote after vm restart:

 

After MacOS VM restart, VNC Remote is not working. The VM starts fine I think, but VNC Remote is this blurred screen with Apple logo. Adding a remote software before starting is possible. This connection, (RealVNC. Apple Remote Desktop and Splashtop), all connects after VM restart, all of them in 800 x 600 resolution. Can it be that the MacOS VM setting resolution to 800x600 is causing the problem. 

 

Thoughts.....

 

I have adde a few files. 

 

MacOS_xml.rtf macos_vm_logfile.rtf maxx-diagnostics-20200321-1740.zip

Link to comment

Hoping to get some help.

I have a Mojave vm running great with pass through Quadro K4200, everything works as expected.

However I can not seem to get a Catalina VM to see my GPU.

when I access it via splash top the gpu section in about this Mac is just blank.

I can’t seem to get my head around this.

any suggestions?

Link to comment

I use splashtop for all my VM and physical machines. I been struggling on my MacOS vm where splashtop just doesn't connect and if it does nothing happens. Can't move the mouse or when it moves its delayed.

 

I wondered if it was the the vm or network, windows vm with splashtop works flawlessly, so I installed teamviewer and man it just worked.

 

So I searched the topic where spaceinvader recommends using the intel nic instead of the vmxnet. I made the changed and tried it again same result.

Splashtop struggles while teamviewer just sails.

 

My windows vm no issues and my physical mac also no issues.

 

Any other suggestions?

 

 

Edited by ijuarez
derp
Link to comment
On 3/20/2020 at 12:30 PM, joecool169 said:

I am having an issue where after I try to pass through the video card the vm is no longer accessible. Here is the log.

 

 

This is the exact problem I've been hitting with my 5700 XT: 

Been searching for days trying to fix it.

 

 

Link to comment

Thanks for all the great work you do. 

 

I'm trying to install Catalina via Macinabox and the log in the docker container is displaying "Product ID 061-44387 could not be found".   Is there an updated product ID that needs to be changed in the /Macinabox/unraid.sh file?

 

 

Link to comment

I just tried following the install instructions but get this error in the log:

 

<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<
Starting process at Wed Mar 25 01:30:21 Australia 2020
<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<

I am going to download the Catalina recovery media. Please be patient!
.
.
Requirement already satisfied: requests in /root/.local/lib/python2.7/site-packages (from -r requirements.txt (line 1))
Requirement already satisfied: click in /root/.local/lib/python2.7/site-packages (from -r requirements.txt (line 2))
Requirement already satisfied: urllib3!=1.25.0,!=1.25.1,<1.26,>=1.21.1 in /root/.local/lib/python2.7/site-packages (from requests->-r requirements.txt (line 1))
Requirement already satisfied: chardet<4,>=3.0.2 in /root/.local/lib/python2.7/site-packages (from requests->-r requirements.txt (line 1))
Requirement already satisfied: certifi>=2017.4.17 in /root/.local/lib/python2.7/site-packages (from requests->-r requirements.txt (line 1))
Requirement already satisfied: idna<3,>=2.5 in /usr/lib/python2.7/dist-packages (from requests->-r requirements.txt (line 1))
2020-03-25 01:30:21,956 Network Request: Fetching https://swscan.apple.com/content/catalogs/others/index-10.15-10.14-10.13-10.12-10.11-10.10-10.9-mountainlion-lion-snowleopard-leopard.merged-1.sucatalog
Product ID 061-44387 could not be found.
Product ID 061-44387 could not be found.

 

Link to comment

I just started using Unraid a few months ago so sorry if I sound a little new.

 

Anyways a few months back, I installed this container and installed Catalina with no issues and was super simple. I just upgraded my server and now I had to redo my containers. I installed this and tried to install Catalina. Unfortunately, I got an error doing so. Here is the error I am receiving: "Product ID 061-44387 could not be found" I saw someone said to change it to 061-10700 (which I believe is an older version and gave the same error. Is there anything else I can try or how I go about fixing this?

 

Note: I am able to install Mojave and High Sierra just fine. It is just Catalina that seems to be giving this issue.

 

Thanks!

Link to comment

Hi why my unRaid say Product ID 061-44387 could not be found......

thank you all

Quote

<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<
Starting process at Wed Mar 25 07:01:07 Asia 2020
<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<

I am going to download the Catalina recovery media. Please be patient!
.
.
Collecting requests (from -r requirements.txt (line 1))
Downloading https://files.pythonhosted.org/packages/1a/70/1935c770cb3be6e3a8b78ced23d7e0f3b187f5cbfab4749523ed65d7c9b1/requests-2.23.0-py2.py3-none-any.whl (58kB)
Collecting click (from -r requirements.txt (line 2))
Downloading https://files.pythonhosted.org/packages/dd/c0/4d8f43a9b16e289f36478422031b8a63b54b6ac3b1ba605d602f10dd54d6/click-7.1.1-py2.py3-none-any.whl (82kB)
Collecting urllib3!=1.25.0,!=1.25.1,<1.26,>=1.21.1 (from requests->-r requirements.txt (line 1))
Downloading https://files.pythonhosted.org/packages/e8/74/6e4f91745020f967d09332bb2b8b9b10090957334692eb88ea4afe91b77f/urllib3-1.25.8-py2.py3-none-any.whl (125kB)
Collecting chardet<4,>=3.0.2 (from requests->-r requirements.txt (line 1))
Downloading https://files.pythonhosted.org/packages/bc/a9/01ffebfb562e4274b6487b4bb1ddec7ca55ec7510b22e4c51f14098443b8/chardet-3.0.4-py2.py3-none-any.whl (133kB)
Collecting certifi>=2017.4.17 (from requests->-r requirements.txt (line 1))
Downloading https://files.pythonhosted.org/packages/b9/63/df50cac98ea0d5b006c55a399c3bf1db9da7b5a24de7890bc9cfd5dd9e99/certifi-2019.11.28-py2.py3-none-any.whl (156kB)
Requirement already satisfied: idna<3,>=2.5 in /usr/lib/python2.7/dist-packages (from requests->-r requirements.txt (line 1))
Installing collected packages: urllib3, chardet, certifi, requests, click
Successfully installed certifi-2019.11.28 chardet-3.0.4 click-7.1.1 requests-2.23.0 urllib3-1.25.8
2020-03-25 07:01:08,731 Network Request: Fetching https://swscan.apple.com/content/catalogs/others/index-10.15-10.14-10.13-10.12-10.11-10.10-10.9-mountainlion-lion-snowleopard-leopard.merged-1.sucatalog
Product ID 061-44387 could not be found.

 

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.