[Support] SpaceinvaderOne - Macinabox


Recommended Posts

ALMOST got this going lol. I have everything going perfectly other than my GPU Passthrough. Radeon RT 5700 XT. It worked in my bare metal windows build, had it working in a bare metal opencore hackintosh, and currently works in my Windows 10 VM, but does not wish to play with the Mac VM. Can’t for the life of me figure out why. I have scoured the forums, had help from a few awesome people along the way (including using the correct opencore configurator version) but no luck. EVERYTHING works fine with VNC, and as soon as I switch to GPU it will go through the boot until the apple logo “loading” spot and black screen on me.  Anyone else out there have any ideas?

Here are the VM logs
 

 

1A3C0523-B0A4-4DC9-8559-E8FA9105D553.jpeg

F910ED17-BB45-4BA9-8972-6F16461E7D10.jpeg

Link to comment
1 hour ago, Malachi89 said:

ALMOST got this going lol. I have everything going perfectly other than my GPU Passthrough. Radeon RT 5700 XT. It worked in my bare metal windows build, had it working in a bare metal opencore hackintosh, and currently works in my Windows 10 VM, but does not wish to play with the Mac VM. Can’t for the life of me figure out why. I have scoured the forums, had help from a few awesome people along the way (including using the correct opencore configurator version) but no luck. EVERYTHING works fine with VNC, and as soon as I switch to GPU it will go through the boot until the apple logo “loading” spot and black screen on me.  Anyone else out there have any ideas?

Here are the VM logs
 

 

1A3C0523-B0A4-4DC9-8559-E8FA9105D553.jpeg

F910ED17-BB45-4BA9-8972-6F16461E7D10.jpeg

1. Go into your EFI boot configuration and load your config.plist into your opencore configurator. 


2. If you loaded it, go to the NVRAM Settings on the left side bar.

 

3. There are some properties and boot args. Now edit the entry with UUID “7C436110-AB2A-4BBB-A880-FE41995C9F82” and add in the boot args, under column “VALUE”, the argument “agdpmod=pikera”(it enables the support for GPUs with “NAVI” architecture).

 

(Optional)4. If there is already an entry in the “VALUE” column leave it there(it should be important) and add your argument to it with space.

 

Now your MacOS should be run fine without getting a black screen after verbose or apple logo loading screen.

Link to comment
1. Go into your EFI boot configuration and load your config.plist into your opencore configurator. 

2. If you loaded it, go to the NVRAM Settings on the left side bar.
 
3. There are some properties and boot args. Now edit the entry with UUID “7C436110-AB2A-4BBB-A880-FE41995C9F82” and add in the boot args, under column “VALUE”, the argument “agdpmod=pikera”(it enables the support for GPUs with “NAVI” architecture).
 
(Optional)4. If there is already an entry in the “VALUE” column leave it there(it should be important) and add your argument to it with space.
 
Now your MacOS should be run fine without getting a black screen after verbose or apple logo loading screen.

Oh my god you are my friggin hero!!!! I can’t believe I didn’t think of that as that is one of the big things I had to make sure I had in my opencore boot args when I had this guy in the hackintosh. i should’ve just pulled the old opencore file and compared. lol.

IT’S UP AND RUNNING!!!


Sent from my iPad using Tapatalk
  • Like 1
Link to comment
43 minutes ago, Malachi89 said:


Oh my god you are my friggin hero!!!! I can’t believe I didn’t think of that as that is one of the big things I had to make sure I had in my opencore boot args when I had this guy in the hackintosh. i should’ve just pulled the old opencore file and compared. lol.

IT’S UP AND RUNNING!!!


Sent from my iPad using Tapatalk

You are welcome my friend, thank you :)

Link to comment

My performance is just horrible!  I have a server which should be powerful enough to handle the VM:

  • i7-10700
  • 64GB Ram

I follow the Youtube guide for macinabox and the installation goes really well, it seems in line with a normal hackintosh install speed. While in the VM though performance is just awful. I've changed the CPU and Ram allocation but that only helped slightly.

 

The only thing I did differently from the Spaceinvader One youtube tutorial is that I did not delete the other disks used in the install. I find that If I delete those then I cannot boot the macos, leaving them in lets me continue to boot.

 

Can I have someone look over my XML and let me know if I should change anything? Any ideas?

 

<?xml version='1.0' encoding='UTF-8'?>
<domain type='kvm' xmlns:qemu='http://libvirt.org/schemas/domain/qemu/1.0'>
  <name>Macinabox BigSur</name>
  <uuid>randomnumbershere</uuid>
  <description>MacOS Big Sur</description>
  <metadata>
    <vmtemplate xmlns="unraid" name="Windows 10" icon="BigSur.png" os="osx"/>
  </metadata>
  <memory unit='KiB'>16777216</memory>
  <currentMemory unit='KiB'>16777216</currentMemory>
  <memoryBacking>
    <nosharepages/>
  </memoryBacking>
  <vcpu placement='static'>8</vcpu>
  <cputune>
    <vcpupin vcpu='0' cpuset='0'/>
    <vcpupin vcpu='1' cpuset='8'/>
    <vcpupin vcpu='2' cpuset='2'/>
    <vcpupin vcpu='3' cpuset='10'/>
    <vcpupin vcpu='4' cpuset='4'/>
    <vcpupin vcpu='5' cpuset='12'/>
    <vcpupin vcpu='6' cpuset='6'/>
    <vcpupin vcpu='7' cpuset='14'/>
  </cputune>
  <os>
    <type arch='x86_64' machine='pc-q35-4.2'>hvm</type>
    <loader readonly='yes' type='pflash'>/mnt/user/system/custom_ovmf/Macinabox_CODE-pure-efi.fd</loader>
    <nvram>/etc/libvirt/qemu/nvram/a08bdee3-8bcc-4a18-a20e-c5760e5b4854_VARS-pure-efi.fd</nvram>
  </os>
  <features>
    <acpi/>
    <apic/>
  </features>
  <cpu mode='host-passthrough' check='none' migratable='on'/>
  <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='raw' cache='writeback'/>
      <source file='/mnt/user/isos/BigSur-opencore.img'/>
      <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/isos/BigSur-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/Macinabox BigSur/macos_disk.img'/>
      <target dev='hde' bus='sata'/>
      <address type='drive' controller='0' bus='0' target='0' unit='4'/>
    </disk>
    <controller type='usb' index='0' model='ich9-ehci1'>
      <address type='pci' domain='0x0000' bus='0x00' slot='0x07' function='0x7'/>
    </controller>
    <controller type='usb' index='0' model='ich9-uhci1'>
      <master startport='0'/>
      <address type='pci' domain='0x0000' bus='0x00' slot='0x07' function='0x0' multifunction='on'/>
    </controller>
    <controller type='usb' index='0' model='ich9-uhci2'>
      <master startport='2'/>
      <address type='pci' domain='0x0000' bus='0x00' slot='0x07' function='0x1' multifunction='on'/>
    </controller>
    <controller type='usb' index='0' model='ich9-uhci3'>
      <master startport='4'/>
      <address type='pci' domain='0x0000' bus='0x00' slot='0x07' function='0x2'/>
    </controller>
    <controller type='pci' index='0' model='pcie-root'/>
    <controller type='pci' index='1' model='pcie-root-port'>
      <model name='pcie-root-port'/>
      <target chassis='1' port='0x10'/>
      <address type='pci' domain='0x0000' bus='0x00' slot='0x02' function='0x0' multifunction='on'/>
    </controller>
    <controller type='pci' index='2' model='pcie-root-port'>
      <model name='pcie-root-port'/>
      <target chassis='2' port='0x11'/>
      <address type='pci' domain='0x0000' bus='0x00' slot='0x02' function='0x1'/>
    </controller>
    <controller type='pci' index='3' model='pcie-root-port'>
      <model name='pcie-root-port'/>
      <target chassis='3' port='0x12'/>
      <address type='pci' domain='0x0000' bus='0x00' slot='0x02' function='0x2'/>
    </controller>
    <controller type='pci' index='4' model='pcie-root-port'>
      <model name='pcie-root-port'/>
      <target chassis='4' port='0x13'/>
      <address type='pci' domain='0x0000' bus='0x00' slot='0x02' function='0x3'/>
    </controller>
    <controller type='virtio-serial' index='0'>
      <address type='pci' domain='0x0000' bus='0x02' slot='0x00' function='0x0'/>
    </controller>
    <controller type='sata' index='0'>
      <address type='pci' domain='0x0000' bus='0x00' slot='0x1f' function='0x2'/>
    </controller>
    <interface type='bridge'>
      <mac address='52:54:00:fa:4f:a2'/>
      <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='************************'/>
    <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 Viperean
Link to comment
9 minutes ago, Viperean said:

My performance is just horrible!  I have a server which should be powerful enough to handle the VM:

  • i7-10700
  • 64GB Ram

I follow the Youtube guide for macinabox and the installation goes really well, it seems in line with a normal hackintosh install speed. While in the VM though performance is just awful. I've changed the CPU and Ram allocation but that only helped slightly.

 

The only thing I did differently from the Spaceinvader One youtube tutorial is that I did not delete the other disks used in the install. I find that If I delete those then I cannot boot the macos, leaving them in lets me continue to boot.

 

Can I have someone look over my XML and let me know if I should change anything? Any ideas?

 

<?xml version='1.0' encoding='UTF-8'?>
<domain type='kvm' xmlns:qemu='http://libvirt.org/schemas/domain/qemu/1.0'>
  <name>Macinabox BigSur</name>
  <uuid>randomnumbershere</uuid>
  <description>MacOS Big Sur</description>
  <metadata>
    <vmtemplate xmlns="unraid" name="Windows 10" icon="BigSur.png" os="osx"/>
  </metadata>
  <memory unit='KiB'>16777216</memory>
  <currentMemory unit='KiB'>16777216</currentMemory>
  <memoryBacking>
    <nosharepages/>
  </memoryBacking>
  <vcpu placement='static'>8</vcpu>
  <cputune>
    <vcpupin vcpu='0' cpuset='0'/>
    <vcpupin vcpu='1' cpuset='8'/>
    <vcpupin vcpu='2' cpuset='2'/>
    <vcpupin vcpu='3' cpuset='10'/>
    <vcpupin vcpu='4' cpuset='4'/>
    <vcpupin vcpu='5' cpuset='12'/>
    <vcpupin vcpu='6' cpuset='6'/>
    <vcpupin vcpu='7' cpuset='14'/>
  </cputune>
  <os>
    <type arch='x86_64' machine='pc-q35-4.2'>hvm</type>
    <loader readonly='yes' type='pflash'>/mnt/user/system/custom_ovmf/Macinabox_CODE-pure-efi.fd</loader>
    <nvram>/etc/libvirt/qemu/nvram/a08bdee3-8bcc-4a18-a20e-c5760e5b4854_VARS-pure-efi.fd</nvram>
  </os>
  <features>
    <acpi/>
    <apic/>
  </features>
  <cpu mode='host-passthrough' check='none' migratable='on'/>
  <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='raw' cache='writeback'/>
      <source file='/mnt/user/isos/BigSur-opencore.img'/>
      <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/isos/BigSur-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/Macinabox BigSur/macos_disk.img'/>
      <target dev='hde' bus='sata'/>
      <address type='drive' controller='0' bus='0' target='0' unit='4'/>
    </disk>
    <controller type='usb' index='0' model='ich9-ehci1'>
      <address type='pci' domain='0x0000' bus='0x00' slot='0x07' function='0x7'/>
    </controller>
    <controller type='usb' index='0' model='ich9-uhci1'>
      <master startport='0'/>
      <address type='pci' domain='0x0000' bus='0x00' slot='0x07' function='0x0' multifunction='on'/>
    </controller>
    <controller type='usb' index='0' model='ich9-uhci2'>
      <master startport='2'/>
      <address type='pci' domain='0x0000' bus='0x00' slot='0x07' function='0x1' multifunction='on'/>
    </controller>
    <controller type='usb' index='0' model='ich9-uhci3'>
      <master startport='4'/>
      <address type='pci' domain='0x0000' bus='0x00' slot='0x07' function='0x2'/>
    </controller>
    <controller type='pci' index='0' model='pcie-root'/>
    <controller type='pci' index='1' model='pcie-root-port'>
      <model name='pcie-root-port'/>
      <target chassis='1' port='0x10'/>
      <address type='pci' domain='0x0000' bus='0x00' slot='0x02' function='0x0' multifunction='on'/>
    </controller>
    <controller type='pci' index='2' model='pcie-root-port'>
      <model name='pcie-root-port'/>
      <target chassis='2' port='0x11'/>
      <address type='pci' domain='0x0000' bus='0x00' slot='0x02' function='0x1'/>
    </controller>
    <controller type='pci' index='3' model='pcie-root-port'>
      <model name='pcie-root-port'/>
      <target chassis='3' port='0x12'/>
      <address type='pci' domain='0x0000' bus='0x00' slot='0x02' function='0x2'/>
    </controller>
    <controller type='pci' index='4' model='pcie-root-port'>
      <model name='pcie-root-port'/>
      <target chassis='4' port='0x13'/>
      <address type='pci' domain='0x0000' bus='0x00' slot='0x02' function='0x3'/>
    </controller>
    <controller type='virtio-serial' index='0'>
      <address type='pci' domain='0x0000' bus='0x02' slot='0x00' function='0x0'/>
    </controller>
    <controller type='sata' index='0'>
      <address type='pci' domain='0x0000' bus='0x00' slot='0x1f' function='0x2'/>
    </controller>
    <interface type='bridge'>
      <mac address='52:54:00:fa:4f:a2'/>
      <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='************************'/>
    <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>

 

If you want to delete the other two virtual disks in your VM settings, don’t forget to run the Macinabox Helper Script after change something in the VM Settings. 
 

You are missing the last few lines in your xml file that are important to run the VM well. 
 

For your performance issues, don’t forget that if you don’t passthrough a dedicated GPU for the VM, you have no graphic acceleration. Your mouse movement over VNC is horrible, as well single graphic applications and so forth.

 

The CPU performance should be fine respectively any CPU intense applications.

Edited by DerSnitzki
Link to comment
5 minutes ago, DerSnitzki said:

If you want to delete the other to virtual disks in your VM settings, don’t forget to run the Macinabox Helper Script after change something in the VM Settings. 
 

You are missing the last few lines in your xml file that are important to run the VM well. 

So when I deleted those other disks I ran the helper script and I am at the UEFI Interactive Shell with the "Shell>" command.  I did re run the helper script.  This is the XML after running it.  

 

<?xml version='1.0' encoding='UTF-8'?>
<domain type='kvm' xmlns:qemu='http://libvirt.org/schemas/domain/qemu/1.0'>
  <name>Macinabox BigSur</name>
  <uuid>a08bdee3-8bcc-4a18-a20e-c5760e5b4854</uuid>
  <description>MacOS Big Sur</description>
  <metadata>
    <vmtemplate xmlns="unraid" name="Windows 10" icon="BigSur.png" os="osx"/>
  </metadata>
  <memory unit='KiB'>16777216</memory>
  <currentMemory unit='KiB'>16777216</currentMemory>
  <memoryBacking>
    <nosharepages/>
  </memoryBacking>
  <vcpu placement='static'>8</vcpu>
  <cputune>
    <vcpupin vcpu='0' cpuset='0'/>
    <vcpupin vcpu='1' cpuset='8'/>
    <vcpupin vcpu='2' cpuset='2'/>
    <vcpupin vcpu='3' cpuset='10'/>
    <vcpupin vcpu='4' cpuset='4'/>
    <vcpupin vcpu='5' cpuset='12'/>
    <vcpupin vcpu='6' cpuset='6'/>
    <vcpupin vcpu='7' cpuset='14'/>
  </cputune>
  <os>
    <type arch='x86_64' machine='pc-q35-4.2'>hvm</type>
    <loader readonly='yes' type='pflash'>/mnt/user/system/custom_ovmf/Macinabox_CODE-pure-efi.fd</loader>
    <nvram>/etc/libvirt/qemu/nvram/a08bdee3-8bcc-4a18-a20e-c5760e5b4854_VARS-pure-efi.fd</nvram>
  </os>
  <features>
    <acpi/>
    <apic/>
  </features>
  <cpu mode='host-passthrough' check='none' migratable='on'>
    <topology sockets='1' dies='1' cores='4' threads='2'/>
    <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='raw' cache='writeback'/>
      <source file='/mnt/user/domains/Macinabox BigSur/macos_disk.img'/>
      <target dev='hdc' bus='sata'/>
      <boot order='1'/>
      <address type='drive' controller='0' bus='0' target='0' unit='2'/>
    </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='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>
    <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:fa:4f:a2'/>
      <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='************************'/>
    <qemu:arg value='-smbios'/>
    <qemu:arg value='type=2'/>
    <qemu:arg value='-cpu'/>
    <qemu:arg value='Penryn,kvm=on,vendor=GenuineIntel,+invtsc,vmware-cpuid-freq=on,+pcid,+ssse3,+sse4.2,+popcnt,+avx,+aes,+xsave,+xsaveopt,check'/>
  </qemu:commandline>
</domain>

 

Link to comment
1 minute ago, Viperean said:

So when I deleted those other disks I ran the helper script and I am at the UEFI Interactive Shell with the "Shell>" command.  I did re run the helper script.  This is the XML after running it.  

 

<?xml version='1.0' encoding='UTF-8'?>
<domain type='kvm' xmlns:qemu='http://libvirt.org/schemas/domain/qemu/1.0'>
  <name>Macinabox BigSur</name>
  <uuid>a08bdee3-8bcc-4a18-a20e-c5760e5b4854</uuid>
  <description>MacOS Big Sur</description>
  <metadata>
    <vmtemplate xmlns="unraid" name="Windows 10" icon="BigSur.png" os="osx"/>
  </metadata>
  <memory unit='KiB'>16777216</memory>
  <currentMemory unit='KiB'>16777216</currentMemory>
  <memoryBacking>
    <nosharepages/>
  </memoryBacking>
  <vcpu placement='static'>8</vcpu>
  <cputune>
    <vcpupin vcpu='0' cpuset='0'/>
    <vcpupin vcpu='1' cpuset='8'/>
    <vcpupin vcpu='2' cpuset='2'/>
    <vcpupin vcpu='3' cpuset='10'/>
    <vcpupin vcpu='4' cpuset='4'/>
    <vcpupin vcpu='5' cpuset='12'/>
    <vcpupin vcpu='6' cpuset='6'/>
    <vcpupin vcpu='7' cpuset='14'/>
  </cputune>
  <os>
    <type arch='x86_64' machine='pc-q35-4.2'>hvm</type>
    <loader readonly='yes' type='pflash'>/mnt/user/system/custom_ovmf/Macinabox_CODE-pure-efi.fd</loader>
    <nvram>/etc/libvirt/qemu/nvram/a08bdee3-8bcc-4a18-a20e-c5760e5b4854_VARS-pure-efi.fd</nvram>
  </os>
  <features>
    <acpi/>
    <apic/>
  </features>
  <cpu mode='host-passthrough' check='none' migratable='on'>
    <topology sockets='1' dies='1' cores='4' threads='2'/>
    <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='raw' cache='writeback'/>
      <source file='/mnt/user/domains/Macinabox BigSur/macos_disk.img'/>
      <target dev='hdc' bus='sata'/>
      <boot order='1'/>
      <address type='drive' controller='0' bus='0' target='0' unit='2'/>
    </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='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>
    <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:fa:4f:a2'/>
      <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='************************'/>
    <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>

 

You have to add the name of the VM in your Helper script before you run it.

 

if you get the shell screen, type in “exit” and press enter, now the VM should be run normal.

Link to comment
13 minutes ago, DerSnitzki said:

You have to add the name of the VM in your Helper script before you run it.

 

if you get the shell screen, type in “exit” and press enter, now the VM should be run normal.

Yes I have done that, I even renamed it to "bigsur" and pasted that name in the helper script.  

 

Typing exit at the shell screen takes me to the BIOS screen.

Link to comment

I'm just today trying to install a bigsur VM but I'm getting a similar error to DerSnitzki above.  I get all the way through to starting the VM backup after adding cpu/cores, ram and changing the primary vdisk location.  And of course running the helper script with the VM name and firstinstall changed.  When I start the VM I get the 1st image below.  Hitting enter or waiting takes me to the 2nd image.  This is on a Ryzen 7 3700X.  I've tried installing twice following spaceinvaderone's video with no success.  Ideas? 

1st.PNG

2nd.PNG

xml.txt

Link to comment
13 minutes ago, RichJacot said:

I copied the folder and file from the opencore image over to the bigsur desktop then copied the file and folder onto the EFI bigsur disk. Once there I edited the config.plist file has SI has in his video.

Something went wrong with the copy or with the config.plist modification.

To boot again you can re download the bootloader from here:

https://github.com/SpaceinvaderOne/Macinabox/blob/master/bootloader/OpenCore.img.zip

 

extract it and copy it somewhere, edit your xml to add this new disk with boot order 1 and it should boot again; once in mac os delete the efi folder you copied on the mac os vdisk.

You can try again but be careful to not mess with the config.plist or with the file copy.

 

How did you edit the config.plist and what did you change?Please don't tell me you used opencore configurator... :D

 

Edited by ghost82
Link to comment
8 minutes ago, ghost82 said:

Something went wrong with the copy or with the config.plist modification.

To boot again you can re download the bootloader from here:

https://github.com/SpaceinvaderOne/Macinabox/blob/master/bootloader/OpenCore.img.zip

 

extract it and copy it somewhere, edit your xml to add this new disk with boot order 1 and it should boot again; once in mac os delete the efi folder you copied on the mac os vdisk.

You can try again but be careful to not mess with the config.plist or with the file copy.

 

How did you edit the config.plist and what did you change?Please don't tell me you used opencore configurator... :D

 

I'll try what you suggest above.  Yes, I used the opencore configurator, to edit the config.plist, on the bigsur desktop he instructs you to download and use.  Am I missing something should I not be using that?  I chose the late 2013 Mac Pro.  Maybe that's the mistake?

Link to comment
8 minutes ago, RichJacot said:

Yes, I used the opencore configurator, to edit the config.plist, on the bigsur desktop he instructs you to download and use.

That's why I'm against the use of opencore configurator!

I'm quite sure the issue is in the config.plist then.

You probably downloaded the latest version of opencore configurator but you were editing a config.plist of opencore 0.7.0.

Opencore configurator is a third party app that was never approved nor developed by the opencore developers.

If the opencore configurator is not built vs the exact version of opencore it was built for, it will mess the config.plist, resulting in an unbootable system.

Opencore is in continuous development and things get added and or removed from the config.plist depending on its version.

Opencore configurator is continuosly trying to follow opencore changes but it's not backward or forward compatible.

So, next time use the simple textedit if you need to modify the config.plist.

Edited by ghost82
Link to comment
2 hours ago, RichJacot said:

I'm just today trying to install a bigsur VM but I'm getting a similar error to DerSnitzki above.  I get all the way through to starting the VM backup after adding cpu/cores, ram and changing the primary vdisk location.  And of course running the helper script with the VM name and firstinstall changed.  When I start the VM I get the 1st image below.  Hitting enter or waiting takes me to the 2nd image.  This is on a Ryzen 7 3700X.  I've tried installing twice following spaceinvaderone's video with no success.  Ideas? 

1st.PNG

2nd.PNG

xml.txt 5.88 kB · 1 download

Do you want to passthrough a GPU or did you connect to the VM via VNC?

 

Some posts before I already explained a solution for this.

 

And I had not this problem, I guess you mixed something up :D :) 
 

REMINDER:

If you want use the OpenCore Configurator with the OpenCore version in SpaceInvadors Tutorial, I guess it’s Version 0.7.0, you need configurator Version 2.19.1.0, then it will work fine.

But it has nothing to do with a working GPU passthrough, this will be another topic.

Edited by DerSnitzki
  • Like 1
Link to comment

I added a GPU to the macos VM (dumped the VBIOS).  It started fine but there is no longer an option to VNC Remote - which is understandable since I'm not using VNC any longer as the graphics card.  But how do I view the MacOS screen then using the GPU?  Should I have kept the VNC GPU and made the NVidia GPU a secondary one?  

Link to comment
On 10/1/2021 at 1:56 AM, Linguafoeda said:

 

Just wanted to quickly update that this fixed my issue with the install. Using 2.19.1 is critical. this should be pinned to front of guide :).

 

A few follow-ups: 

 

1. how do i make the VM automatically start the mac partition when booted? found instructions on reddit

Open OpenCore Configurator -> mount the EFI -> open the config.plist -> "Misc" -> disable picker and otherwise make it look like the below

ilgfyHg.png

2. how do i rename the VM itself from "Macinbox Big Sur" to say just "macOS"? actually it was quite easy lol...just rename then run the script again with the new name

3. How do i get audio working on the basic mac install (i.e. no GPU being passed through)? For my windows 11 VM, i had to download a driver called VB Cable that allowed me to get audio. is something similar available for mac VMs?

4. can i delete the macinabox container once done or do i still need it?

5. is it safe to update macOS from within the VM once you've successfully installed?

 

On 10/7/2021 at 1:37 PM, Viperean said:

One more question, how do you set the bootloader to autoboot to the bigsur partition?  I tried to update OpenCore but I think I ruined the VM.  Is there an option somewhere to do this without updating opencore?

 

See my reply quoted above.

 

Separately - anyone know if it’s safe to delete macinabox container once you are installed?

 

Link to comment

Hi,

 

i have the following problem:

I installed BigSur sucessfully on my Unraid V6.9.0, but if i want to connect to the Virtual Manager, i always get this message "Unable to connect to libvirt qemu+ssh://[email protected]/system  (see attached png)

The system is set up new and i followed strictly the video on youtube "How to Install Big Sur and Other macOS Versions with New Macinabox".

grafik.png

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.