[Support] SpaceinvaderOne - Macinabox


Recommended Posts

Hi

Started this docker 22 hours ago and it does not seem to download anything. On "Docker stats" there is no network activity.

Is it normal that it will take this long? I have 20mbit wan bandwith.

Last lines in the log:

"2020-06-14 20:22:11,011 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
2020-06-14 20:22:15,167 Selected macOS Product: 001-04366"

Link to comment
3 hours ago, Erhnam said:

Hi

Started this docker 22 hours ago and it does not seem to download anything. On "Docker stats" there is no network activity.

Is it normal that it will take this long? I have 20mbit wan bandwith.

Last lines in the log:

"2020-06-14 20:22:11,011 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
2020-06-14 20:22:15,167 Selected macOS Product: 001-04366"

Restarted the docker and then it completed

Link to comment

Does anyone have any advice on how to get temperature monitor working? I have iStat Menus Pro and just tried installing HWSensors on my Catalina build: https://github.com/chris1111/HWSensors-V6.26.1465-EFI But ended up with a black screen after the apple logo.

 

My components:

- passing 4 cores of my 9700k

- rx 580

- passing 24gb of my 64gb total ram

 

Happy I followed @SpaceInvaderOne's tutorial on doing automatic backups so I had something to fall back on.

Link to comment

love macinabox! struggled a few months installing a ryzentosh but never got it to work, macinabox (and unraid was up and running within a weekend - including basic get to know with unraid :)

that being said: i am trying to figure out to move the osx vm to a dedicated disk. preferable as an unassigned device, just like i did with my windows vm.
Is there a way to move the (i think) 3 images (clover, recovery and the vdisk?) onto and `extract` them onto 3 new partitions?
I want to move the whole macos vm onto a dedicated disk, preferable as an unassigned device

Edited by reakwon_floyd
additional info
Link to comment
On 6/13/2020 at 6:39 PM, grizzle said:

hi there i have a similar problem passing through a 5700xt the VM boots but in the logs i get the following errors below

 

-msg timestamp=on
2020-06-13 10:30:10.873+0000: Domain id=4 is tainted: high-privileges
2020-06-13 10:30:10.873+0000: Domain id=4 is tainted: custom-argv
2020-06-13 10:30:10.873+0000: Domain id=4 is tainted: host-cpu
char device redirected to /dev/pts/0 (label charserial0)
2020-06-13T10:30:16.387348Z qemu-system-x86_64: -device vfio-pci,host=0000:45:00.0,id=hostdev0,bus=pci.3,multifunction=on,addr=0x0: Failed to mmap 0000:45:00.0 BAR 0. Performance may be slow

 

I have been trying for days now and i am sure i have just over looked something in the XML 

 

 

 

Hi Grizzle, 

 

Did you get your RX5700 working ? 

 

I managed to get it working for me, however, i had to pass the rom file and enable multifunction, I didnt have to do this in windows. 

 

I also passedthrough an NVME drive for video editing. 

 

 <hostdev mode='subsystem' type='pci' managed='yes'>
      <driver name='vfio'/>
      <source>
        <address domain='0x0000' bus='0x05' slot='0x00' function='0x0'/>
      </source>
      <alias name='hostdev0'/>
      <rom file='/mnt/user/isos/Powercolor.RX5700XT.8176.190808.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='0x05' slot='0x00' function='0x1'/>
      </source>
      <alias name='hostdev1'/>
      <address type='pci' domain='0x0000' bus='0x03' slot='0x00' function='0x1'/>
    </hostdev>

 

Full XML: 

<?xml version='1.0' encoding='UTF-8'?>
<domain type='kvm' id='1' xmlns:qemu='http://libvirt.org/schemas/domain/qemu/1.0'>
  <name>MacinaboxCatalina</name>
  <uuid>ae14c64c-03cc-4b73-a006-85958f10c075</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'>40</vcpu>
  <cputune>
    <vcpupin vcpu='0' cpuset='12'/>
    <vcpupin vcpu='1' cpuset='44'/>
    <vcpupin vcpu='2' cpuset='13'/>
    <vcpupin vcpu='3' cpuset='45'/>
    <vcpupin vcpu='4' cpuset='14'/>
    <vcpupin vcpu='5' cpuset='46'/>
    <vcpupin vcpu='6' cpuset='15'/>
    <vcpupin vcpu='7' cpuset='47'/>
    <vcpupin vcpu='8' cpuset='16'/>
    <vcpupin vcpu='9' cpuset='48'/>
    <vcpupin vcpu='10' cpuset='17'/>
    <vcpupin vcpu='11' cpuset='49'/>
    <vcpupin vcpu='12' cpuset='18'/>
    <vcpupin vcpu='13' cpuset='50'/>
    <vcpupin vcpu='14' cpuset='19'/>
    <vcpupin vcpu='15' cpuset='51'/>
    <vcpupin vcpu='16' cpuset='20'/>
    <vcpupin vcpu='17' cpuset='52'/>
    <vcpupin vcpu='18' cpuset='21'/>
    <vcpupin vcpu='19' cpuset='53'/>
    <vcpupin vcpu='20' cpuset='22'/>
    <vcpupin vcpu='21' cpuset='54'/>
    <vcpupin vcpu='22' cpuset='23'/>
    <vcpupin vcpu='23' cpuset='55'/>
    <vcpupin vcpu='24' cpuset='24'/>
    <vcpupin vcpu='25' cpuset='56'/>
    <vcpupin vcpu='26' cpuset='25'/>
    <vcpupin vcpu='27' cpuset='57'/>
    <vcpupin vcpu='28' cpuset='26'/>
    <vcpupin vcpu='29' cpuset='58'/>
    <vcpupin vcpu='30' cpuset='27'/>
    <vcpupin vcpu='31' cpuset='59'/>
    <vcpupin vcpu='32' cpuset='28'/>
    <vcpupin vcpu='33' cpuset='60'/>
    <vcpupin vcpu='34' cpuset='29'/>
    <vcpupin vcpu='35' cpuset='61'/>
    <vcpupin vcpu='36' cpuset='30'/>
    <vcpupin vcpu='37' cpuset='62'/>
    <vcpupin vcpu='38' cpuset='31'/>
    <vcpupin vcpu='39' cpuset='63'/>
  </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'/>
    <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' 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='pci' index='5' model='pcie-root-port'>
      <model name='pcie-root-port'/>
      <target chassis='5' port='0x8'/>
      <alias name='pci.5'/>
      <address type='pci' domain='0x0000' bus='0x00' slot='0x01' function='0x0'/>
    </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>
    <filesystem type='mount' accessmode='passthrough'>
      <source dir='/mnt/user/Media/Wedding/'/>
      <target dir='Wedding'/>
      <alias name='fs0'/>
      <address type='pci' domain='0x0000' bus='0x00' slot='0x08' function='0x0'/>
    </filesystem>
    <interface type='bridge'>
      <mac address='52:54:00:74:a0:97'/>
      <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-1-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>
    <hostdev mode='subsystem' type='pci' managed='yes'>
      <driver name='vfio'/>
      <source>
        <address domain='0x0000' bus='0x05' slot='0x00' function='0x0'/>
      </source>
      <alias name='hostdev0'/>
      <rom file='/mnt/user/isos/Powercolor.RX5700XT.8176.190808.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='0x05' slot='0x00' function='0x1'/>
      </source>
      <alias name='hostdev1'/>
      <address type='pci' domain='0x0000' bus='0x03' slot='0x00' function='0x1'/>
    </hostdev>
    <hostdev mode='subsystem' type='usb' managed='no'>
      <source>
        <vendor id='0x046d'/>
        <product id='0xc52b'/>
        <address bus='5' device='2'/>
      </source>
      <alias name='hostdev2'/>
      <address type='usb' bus='0' port='4'/>
    </hostdev>
    <hostdev mode='subsystem' type='usb' managed='no'>
      <source>
        <vendor id='0x047f'/>
        <product id='0xc053'/>
        <address bus='5' device='6'/>
      </source>
      <alias name='hostdev3'/>
      <address type='usb' bus='0' port='5'/>
    </hostdev>
    <hostdev mode='subsystem' type='pci' managed='yes'>
      <driver name='vfio'/>
      <source>
        <address domain='0x0000' bus='0x02' slot='0x00' function='0x0'/>
      </source>
      <alias name='hostdev4'/>
      <address type='pci' domain='0x0000' bus='0x04' slot='0x00' function='0x0'/>
    </hostdev>
    <memballoon model='virtio'>
      <alias name='balloon0'/>
      <address type='pci' domain='0x0000' bus='0x05' 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>

 

I still suffer from the AMD reset bug, i need to restart if i want to switch from MAC to Windows, not ideal, but its working... Spaceinvader mentions it in this video, the script stopped working for me also. 

 

 

 

 

 

 

Link to comment

What is a good cheap video card to get for good performance of Catalina over VNC (not direct attached montior).  Preferably something that works out of the box with little to no effort.  I won't be doing any gaming or graphic intense stuff.  Just looking for smooth running experience in MacOS.

Edited by RockDawg
Link to comment

Hello all

i installed High Sierra on unraid with macinabox and passthrough my rtx2060

I can install last nvidia driver but in ''about this mac'' i can not see my 2060 in graphics parts.

i have only 8mb on graphic card.

And i have no sound through display port.

 

I follow this step:

- CPU topology
- Network card
- Reinsert <qemu:commandline> XML at the botom
- Update the <OS> section with the custom <loader> and <nvram> (not mentioned in the @SpaceInvaderOne video)
- Add the multifunction tag to the video card and change the function id to 0x1 for the audio component

- in clover i enable nvidia driver

 

Can someone help me. 

 

here my xml.

 

Thanksxml.txt

 

 

NOTE: I installed the efi file from this video of spaceinvaderone 

 

It's good?

 

Thanks

 

Edited by rachid596
Link to comment
6 hours ago, rachid596 said:

Hello all

i installed High Sierra on unraid with macinabox and passthrough my rtx2060

I can install last nvidia driver but in ''about this mac'' i can not see my 2060 in graphics parts.

i have only 8mb on graphic card.

And i have no sound through display port.

 

 

Your GPU will not work, as it is not supported by macOS!
Unfortunately there is no way to make use of your card so under macOS.

Get a supported GFX like mentioned here...
Also older NVIDIA GPUs will work, GTX 1070, 1080, etc. with webdriver.
All GTX780 will work OOB without the need of any NVIDIA webdrivers.

  • Like 1
Link to comment

Finally I got my macOS working on my Ryzen 3900X, Gigabyte Aorus Pro Z570 setup.
I had some trouble with my RX 5700 XT and spent hours after I found out, that it has a black screen of death at its diplay ports.

So if you guys have troubel, try over HDMI or get a HDMI-dummy-dongle to avoid these problems.
Also I had to modify the cClover config.plist and to add some bootargs, deselct ATI Inject and insert the loading of the VBios.
Also I updated all the three kexts in the EFI kext folder under "other" and added the vodoHDA.kext to get Audio to work.

So far all is running rocksolid.

Next thing I will try is to clone my macOS VM, get rid of the VDISK there replace it and boot macOS from an installed unassigned SSD  devie with a macOS on it.
Any help how I can assign this APFS drive to this VM and boot from it? Is it enough to set the right path in the XML file to it's disk location? Like /dev/sdx and it will boot from APFS then?


Cheers and happy days!

  • Like 1
Link to comment
Your GPU will not work, as it is not supported by macOS!

Unfortunately there is no way to make use of your card so under macOS.

Get a supported GFX like mentioned here...

Also older NVIDIA GPUs will work, GTX 1070, 1080, etc. with webdriver.

All GTX780 will work OOB without the need of any NVIDIA webdrivers.

Thank you very much. I understand now why it's not working .

Have a good day

 

Envoyé de mon HD1913 en utilisant Tapatalk

 

 

 

Link to comment

Thank you @SpaceInvaderOnefor creating this docker. You are very kind. I am going to try this out but wondered after watching the instructions if there is any possible way one can work around having to stop and restart the array. This is difficult for me to do as unraid provides essential services to my network, so thought I would ask if there are any hacks/workarounds that would allow me to avoid doing this. If not I will have to just stay up really late one night to do this.

 

Kind regards

Pete

Link to comment

Thank you for this awesome docker @SpaceInvaderOne!

 

Unfortunately I am experiencing some problems (see below). After pulling the macinabox docker, it won't download any macOS image but instantly tells the "dmg image is corrupted". Can't find any help on this so far.

 

Best regards

<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<
Starting process at Mon Jun 22 15:55:36 Europe 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/45/1e/0c169c6a5381e241ba7404532c16a21d86ab872c9bed8bdcd4c423954103/requests-2.24.0-py2.py3-none-any.whl (61kB)
Collecting click (from -r requirements.txt (line 2))
Downloading https://files.pythonhosted.org/packages/d2/3d/fa76db83bf75c4f8d338c2fd15c8d33fdd7ad23a9b5e57eb6c5de26b430e/click-7.1.2-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/e1/e5/df302e8017440f111c11cc41a6b432838672f5a70aa29227bf58149dc72f/urllib3-1.25.9-py2.py3-none-any.whl (126kB)
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/5e/c4/6c4fe722df5343c33226f0b4e0bb042e4dc13483228b4718baf286f86d87/certifi-2020.6.20-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-2020.6.20 chardet-3.0.4 click-7.1.2 requests-2.24.0 urllib3-1.25.9
2020-06-22 15:55:38,397 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
2020-06-22 15:55:39,336 Selected macOS Product: 001-04366
preparation of install media
.
.
mkdir: created directory '/config/install_media'
mkdir: created directory '/config/install_media/Catalina'
I have created the Macinabox directories
.
.

dmg2img v1.6.7 (c) vu1tur (to@vu1tur.eu.org)

ERROR: dmg image is corrupted

chmod: cannot access '/config/install_media/Catalina/Catalina-install.img': No such file or directory
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
.
Summary of what has been done
.
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
.
MacOS inatall media was put in /config/install_media/Catalina/Catalina-install.img

No Vdisk was created. You will need to manaually do this as prepare option was set in docker container template

Compatible OVMF files vere put in /mnt/user/appdata/Macinabox/ovmf

XML template file for the vm was placed in /mnt/user/appdata/Macinabox

Everything is now prepared. You need to move files to correct place yourself and edit/copy xml then start the install
.
.
OK process has finished at Mon Jun 22 15:55:36 Europe 2020

 

Link to comment

Failing to expand my Macinabox System macOS partition!

imageproxy.php?img=&key=e5eec7c5c933ca16Diskutility won't let me do it.

I expanded my VDISK under UNRAID form 64G to 400G.

Booting back into macOS it shows the free space, if I delete the free space and try to expand the system disk to max new space,

diskutility gives me an error saying "disk already has the space"... which it doesn't, it still stays at 54G.

What am I doing wrong?

Bildschirmfoto 2020-06-23 um 08.05.15.png

Bildschirmfoto 2020-06-23 um 08.20.39.png

Bildschirmfoto 2020-06-23 um 08.20.49.png

Bildschirmfoto 2020-06-23 um 08.21.14.png

Edited by derpuma
Link to comment
23 hours ago, paschtin said:

Thank you for this awesome docker @SpaceInvaderOne!

 

Unfortunately I am experiencing some problems (see below). After pulling the macinabox docker, it won't download any macOS image but instantly tells the "dmg image is corrupted". Can't find any help on this so far.

 

Best regards


<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<
Starting process at Mon Jun 22 15:55:36 Europe 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/45/1e/0c169c6a5381e241ba7404532c16a21d86ab872c9bed8bdcd4c423954103/requests-2.24.0-py2.py3-none-any.whl (61kB)
Collecting click (from -r requirements.txt (line 2))
Downloading https://files.pythonhosted.org/packages/d2/3d/fa76db83bf75c4f8d338c2fd15c8d33fdd7ad23a9b5e57eb6c5de26b430e/click-7.1.2-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/e1/e5/df302e8017440f111c11cc41a6b432838672f5a70aa29227bf58149dc72f/urllib3-1.25.9-py2.py3-none-any.whl (126kB)
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/5e/c4/6c4fe722df5343c33226f0b4e0bb042e4dc13483228b4718baf286f86d87/certifi-2020.6.20-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-2020.6.20 chardet-3.0.4 click-7.1.2 requests-2.24.0 urllib3-1.25.9
2020-06-22 15:55:38,397 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
2020-06-22 15:55:39,336 Selected macOS Product: 001-04366
preparation of install media
.
.
mkdir: created directory '/config/install_media'
mkdir: created directory '/config/install_media/Catalina'
I have created the Macinabox directories
.
.

dmg2img v1.6.7 (c) vu1tur (to@vu1tur.eu.org)

ERROR: dmg image is corrupted

chmod: cannot access '/config/install_media/Catalina/Catalina-install.img': No such file or directory
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
.
Summary of what has been done
.
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
.
MacOS inatall media was put in /config/install_media/Catalina/Catalina-install.img

No Vdisk was created. You will need to manaually do this as prepare option was set in docker container template

Compatible OVMF files vere put in /mnt/user/appdata/Macinabox/ovmf

XML template file for the vm was placed in /mnt/user/appdata/Macinabox

Everything is now prepared. You need to move files to correct place yourself and edit/copy xml then start the install
.
.
OK process has finished at Mon Jun 22 15:55:36 Europe 2020

 

I did sort it out - it was an issue with the squid web proxy which blocked the domain. After whitelisting the domains, the script is working perfectly fine!

Link to comment

As I was not able to manage it, to resize the apfs partition of may macOS after I have installed it (it does not work for me with disk utility and neither with diskutil apfs resizeContainer /dev/diskXsX 0 via terminal), I would like to get rid of some unclarity in regards of booting into the macOS VM.

 

I tried to clone my small 64G partition via Carbon Copy Cloner into a new 500G VM disk of a fresh macOS Catalina install (mounted via Diskimagemounter in macOS). This worked fine so far, I also mounted the EFI partition of the new cloned and larger VDISK and replaced the EFI Folder with the one of my 64G Disk where I have made some changes in the config.plist and updated some kexts. I also copied the Clover.qcow2 image and the ovmf folder of my smaller working macOS Vdisk over to the new bigger VDsik.
Unfortunately the system was not able to boot afterwards. Clover was empty and I was not able to select the boot devices.
What am I missing?
It would be nice, if someone could explain me how booting is done step by step.

What is where, what's the rule of the Clover.qcow2 image? I thought all booting information is in the EFI Folder of the corresponding VM OS VDISK Drive.

Cause I failed, I did another fresh install of macOS into a 500G fresh VDisk and migrated the system via Apples Migration Assistant, which worked flawless.

Anyhow, I would like to understand how booting works to get manual access to some operations via CCC f.ex.
Thanks in advance for some explanation!

 

Link to comment
On 4/22/2020 at 4:33 PM, saskwatch said:

I just so happen to have GTX 650/Ti!!! I am going to try that! I am still interested in a good AMD card.  Who knows, if this works, maybe I might want to video edit or something - LOL!

@saskwatch did you install that GTX 650/Ti you mentioned back in April? If so, were you able to get the sound working? I'm working with one now and the video worked perfectly, but I can't get OSX to see the audio part of the card.  I used the method in @SpaceInvaderOne 's GPU passthrough video, but no luck.

 

This is my config for the card below, I didn't pull the GPU BIOS or install any drivers in OSX. 

Thanks in advance!

Greg

  <hostdev mode='subsystem' type='pci' managed='yes'>
      <driver name='vfio'/>
      <source>
        <address domain='0x0000' bus='0x01' slot='0x00' function='0x0'/>
      </source>
      <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='0x01' slot='0x00' function='0x1'/>
      </source>
      <address type='pci' domain='0x0000' bus='0x03' slot='0x00' function='0x1'/>
    </hostdev>

 

Link to comment

Hi everyone,

 

I got everything working on Catalina, however UI is pretty laggy and slow . I run a couple hackintosh machines bare metal I am wondering if it's due to not passing a gfx card. I just want to run some apps and make the expierence 60fps running via Splashtop or any remote software.

 

VM Setup:

Ryzen 3900x -> Assigned 6 cores

12gb of ram

120gb SSD on an unassigned devices

 

What I have done:

- Added all the CPU instruction sets as per the spaceinvaderone videos

- Updated all the kexts and clover installs

- Ethernet is e1000-82545em (tested the Network speeds, I'm saturating my gigabit network)

 

  • Like 1
Link to comment

I use nomachine mx with it and it seems fine. You can set 60fps in that software with using the h264 codec for fastest results. Its better than vnc for sure. (I also dont have a grphics card passed and just unticked the ‘use acceleration for display processing under server options). 

Edited by PeteAsking
Link to comment

I've had a High Sierra installation working with a 1070ti passed through for months. Today, upon booting up the VM it no longer grabs the GPU. The Nvidia web drivers are still installed and the GPU boots fine into a Windows VM. 

 

Clover still has web drivers checked and it's still a 14,1 Mac.

 

How can I rework getting this VM to grab this GPU? What are the correct steps so that I don't have to start all over?

Link to comment
2 hours ago, PeteAsking said:

I use nomachine mx with it and it seems fine. You can set 60fps in that software with using the h264 codec for fastest results. Its better than vnc for sure. (I also dont have a grphics card passed and just unticked the ‘use acceleration for display processing under server options). 


Do you experience any lag using nomachine? I usually remote into the VM.

no point passing through a GPU.

 

 

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.