[Support] SpaceinvaderOne - Macinabox


Recommended Posts

New Macinabox almost complete. Should be out soon. Hoping for the end of next week or shortly there after
Will have a few new features such as Ventura and Sonoma support
Also the companion User Scripts will no longer be necessary, the container will do everything itself.
Also I plan to add checks so the container can see that your cpu has the correct features to be able to run macOS ie checking for AVX2 etc
And a few other new things :)

 

  • Like 7
  • Thanks 6
Link to comment
5 minutes ago, PicPoc said:

Nice ! Again a good & hard work !!!

What about the aivability to install from an image on USB stick ?

;)

Hi there. Unfortunately, integrating the ability to install from a usb stick directly into macinabox is not feasible due to the existing mechanisms and how the vm templates are generated. To utilise USB media for installation, a manual edit of a vm template to enable usb passthrough would be necessary. However, a simpler alternative, if you need to install the os from a usb, would be converting your usb media to an image file. This would allow you to utilise an existing image on your usb without requiring direct passthrough of the actual physical device to the VM template.

  • Like 1
Link to comment

the macinabox docker seems to stop itself after creating the user scripts; if i start it again, i do not see the option to launch the WebUI for virt-manager. Is virt-manager no longer included in the docker image? have i missed a part of the procedure?

My Big Sur installs have been successful following the video guide in this post, but i would like to manage with virt-manager if still possible.

  • Like 1
Link to comment

Thanks for the great work.  I have been unsuccessful getting the mac VM to install.  It creates the VM, but then when I choose macOS Base System, I get a message that the computer restarted because of an error.  It then goes back to the screen with macOS Base System, UEFI Sherr, Reset NVRAM and seems to loop thru this.  I have tried installing both Monterey and Big Sur with no luck.  My unraid server has a ryzen 7 5700g.  Any help you can give is greatly appreciated.

Link to comment
On 12/14/2022 at 2:26 AM, BUSTER said:

I have been using Macinabox Monterey on my Unraid for a long time and now I would like to connect my macOS to a monitor without VNC,

 

After a lot of research, I decided AMD Radeon HD 7770, I Dump the Vbios self and also assigned it in Unraid, but when I start it, the VM goes to a CPU 100% and it doesn't run, also downloaded Bios Dump from TechpowerUP same issue.

 

As a test I assign the macOS the Graphics card from my Windows VM, it is an Nvidia Quadro P600, this works, I get screen on the Monitor, but since High Sierra there has been no Nvidia driver for macOS.

 

Tested the AMD HD 7770 on Windows VM with self generated and Downloaded Bios Dump it Works be fine.

 

On the Dortania page I read that I have to include the following in the config.plist "radpg=15" (Fixes initialization for HD 7730/7750/7770/R7 250/R7 250X), I did that too, but still no success.

 

On the Dortania page there is also the following about this AMD HD 7770 card --> InjectAMD: While deprecated, some users require this for proper initialization, avoid unless absolutely necessary,

I didn't understand what is meant by that --> InjectAMD, can anyone comment on it , would be super nice :)

 

My XML --> (Don't be unsettled by the name of the machine in the xml, I'll have to rename it later, I installed BigSur first and then updated it to Monterey)

  Reveal hidden contents

<?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>0c84f110-2682-48e5-aad4-1bb2558f7e84</uuid>
  <description>MacOS Big Sur</description>
  <metadata>
    <vmtemplate xmlns="unraid" name="Windows 10" icon="default.png" os="osx"/>
  </metadata>
  <memory unit='KiB'>8388608</memory>
  <currentMemory unit='KiB'>8388608</currentMemory>
  <memoryBacking>
    <nosharepages/>
  </memoryBacking>
  <vcpu placement='static'>8</vcpu>
  <cputune>
    <vcpupin vcpu='0' cpuset='4'/>
    <vcpupin vcpu='1' cpuset='12'/>
    <vcpupin vcpu='2' cpuset='5'/>
    <vcpupin vcpu='3' cpuset='13'/>
    <vcpupin vcpu='4' cpuset='6'/>
    <vcpupin vcpu='5' cpuset='14'/>
    <vcpupin vcpu='6' cpuset='7'/>
    <vcpupin vcpu='7' cpuset='15'/>
  </cputune>
  <os>
    <type arch='x86_64' machine='pc-q35-4.1'>hvm</type>
    <loader readonly='yes' type='pflash'>/mnt/user/system/custom_ovmf/Macinabox_CODE-pure-efi.fd</loader>
    <nvram>/etc/libvirt/qemu/nvram/0c84f110-2682-48e5-aad4-1bb2558f7e84_VARS-pure-efi.fd</nvram>
    <boot dev='hd'/>
  </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'/>
    <feature policy='require' name='topoext'/>
  </cpu>
  <clock offset='localtime'>
    <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/virtualmachines/VirtualMachines/Macinabox BigSur/macos_disk.img'/>
      <target dev='hdc' bus='sata'/>
      <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='0x8'/>
      <address type='pci' domain='0x0000' bus='0x00' slot='0x01' function='0x0' multifunction='on'/>
    </controller>
    <controller type='pci' index='2' model='pcie-root-port'>
      <model name='pcie-root-port'/>
      <target chassis='2' port='0x9'/>
      <address type='pci' domain='0x0000' bus='0x00' slot='0x01' function='0x1'/>
    </controller>
    <controller type='pci' index='3' model='pcie-root-port'>
      <model name='pcie-root-port'/>
      <target chassis='3' port='0xa'/>
      <address type='pci' domain='0x0000' bus='0x00' slot='0x01' function='0x2'/>
    </controller>
    <controller type='pci' index='4' model='pcie-root-port'>
      <model name='pcie-root-port'/>
      <target chassis='4' port='0x13'/>
      <address type='pci' domain='0x0000' bus='0x00' slot='0x02' function='0x3'/>
    </controller>
    <controller type='virtio-serial' index='0'>
      <address type='pci' domain='0x0000' bus='0x02' slot='0x00' function='0x0'/>
    </controller>
    <controller type='sata' index='0'>
      <address type='pci' domain='0x0000' bus='0x00' slot='0x1f' function='0x2'/>
    </controller>
    <controller type='usb' index='0' model='ich9-ehci1'>
      <address type='pci' domain='0x0000' bus='0x00' slot='0x07' function='0x7'/>
    </controller>
    <controller type='usb' index='0' model='ich9-uhci1'>
      <master startport='0'/>
      <address type='pci' domain='0x0000' bus='0x00' slot='0x07' function='0x0' multifunction='on'/>
    </controller>
    <controller type='usb' index='0' model='ich9-uhci2'>
      <master startport='2'/>
      <address type='pci' domain='0x0000' bus='0x00' slot='0x07' function='0x1'/>
    </controller>
    <controller type='usb' index='0' model='ich9-uhci3'>
      <master startport='4'/>
      <address type='pci' domain='0x0000' bus='0x00' slot='0x07' function='0x2'/>
    </controller>
    <interface type='bridge'>
      <mac address='52:54:00:5f:d8:d4'/>
      <source bridge='br0'/>
      <model type='virtio'/>
      <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'/>
    <audio id='1' type='none'/>
    <hostdev mode='subsystem' type='pci' managed='yes'>
      <driver name='vfio'/>
      <source>
        <address domain='0x0000' bus='0x04' slot='0x00' function='0x0'/>
      </source>
      <rom file='/mnt/user/isos/AMD.Radeon.HD.7700.rom'/>
      <address type='pci' domain='0x0000' bus='0x03' slot='0x00' function='0x0'/>
    </hostdev>
    <hostdev mode='subsystem' type='pci' managed='yes'>
      <driver name='vfio'/>
      <source>
        <address domain='0x0000' bus='0x04' slot='0x00' function='0x1'/>
      </source>
      <address type='pci' domain='0x0000' bus='0x04' slot='0x00' function='0x0'/>
    </hostdev>
    <hostdev mode='subsystem' type='usb' managed='no'>
      <source>
        <vendor id='0x24ae'/>
        <product id='0x2013'/>
      </source>
      <address type='usb' bus='0' port='2'/>
    </hostdev>
    <memballoon model='none'/>
  </devices>
  <qemu:commandline>
    <qemu:arg value='-usb'/>
    <qemu:arg value='-device'/>
    <qemu:arg value='usb-kbd,bus=usb-bus.0'/>
    <qemu:arg value='-device'/>
    <qemu:arg value='************************'/>
    <qemu:arg value='-smbios'/>
    <qemu:arg value='type=2'/>
    <qemu:arg value='-cpu'/>
    <qemu:arg value='Penryn,kvm=on,vendor=GenuineIntel,+kvm_pv_unhalt,+kvm_pv_eoi,+hypervisor,+invtsc,+pcid,+ssse3,+sse4.2,+popcnt,+avx,+avx2,+aes,+fma,+fma4,+bmi1,+bmi2,+xsave,+xsaveopt,+rdrand,check'/>
  </qemu:commandline>
</domain>

 

My System: MSI B550 Gaming Plus, Ryzen 3700X, 32GB DDR4 3200MHz Ram,

Windows 10 VM Passthrough´ed NVIDIA Quadro P600 Works fine.

issue, wold be like Passthrough AMD HD 7770 to macOS

 

I'm grateful for every tip and help

 

cYa BUSTER

 

 

Do you remember how you updated from Big Sur to Monterey? I have not been able to achieve this yet.

Link to comment

Hi, im getting the following error and Big Sur not showing up under the VM tab. Any suggestion on how to resolve: Script location: /tmp/user.scripts/tmpScripts/1_macinabox_helper/script
Note that closing this window will abort the execution of this script
Starting to Fix XML
error: failed to get domain 'Big Sur'
No network adapters in xml to change. Network adapter is already virtio











Added custom qemu:args for macOS
topolgy line left as is
custom ovmf added
error: Failed to define domain from /tmp/Big Surfixed.xml
error: (domain_definition):3: Extra content at the end of the document

^

This is what has been done to the xml

Your network type was already correct. Network has not been changed.
The custom qemu:args have been added to you xml.
VM is set to use custom ovmf files.
xml is now fixed. Now goto your vm tab and run the VM
Rerun this script if you make any other changes to the macOS VM using the Unraid VM manger
 

Docker.png

Macinabox.png

VM's.png

Link to comment
On 10/6/2023 at 4:05 AM, SpaceInvaderOne said:

New Macinabox almost complete. Should be out soon. Hoping for the end of next week or shortly there after
Will have a few new features such as Ventura and Sonoma support
Also the companion User Scripts will no longer be necessary, the container will do everything itself.
Also I plan to add checks so the container can see that your cpu has the correct features to be able to run macOS ie checking for AVX2 etc
And a few other new things :)

 

May I ask if there is a more detailed release plan at the moment?

Link to comment
On 10/5/2023 at 10:05 PM, SpaceInvaderOne said:

New Macinabox almost complete. Should be out soon. Hoping for the end of next week or shortly there after
Will have a few new features such as Ventura and Sonoma support
Also the companion User Scripts will no longer be necessary, the container will do everything itself.
Also I plan to add checks so the container can see that your cpu has the correct features to be able to run macOS ie checking for AVX2 etc
And a few other new things :)

 

 

Great news! Any updates yet about the release date?

Edited by Helmer
  • Upvote 2
Link to comment
On 10/5/2023 at 3:05 PM, SpaceInvaderOne said:

New Macinabox almost complete. Should be out soon. Hoping for the end of next week or shortly there after
Will have a few new features such as Ventura and Sonoma support
Also the companion User Scripts will no longer be necessary, the container will do everything itself.
Also I plan to add checks so the container can see that your cpu has the correct features to be able to run macOS ie checking for AVX2 etc
And a few other new things :)

 

Also looking forward to this 😇

  • Like 1
Link to comment

I'm willing to be a lab rat tester as well.  I am a well educated novice of both VM and Mac, but recently have upgraded my server enough that I've been setting up several VMs just for the learning experience.  My fresh eyes may see things that other folks who have spent more time doing this would just accept (or had configured long in the past).

Link to comment

Was following your YouTube video here: How to Install Big Sur and Other macOS Versions with New Macinabox - YouTube

Love this docker and its evolutions. Have it currently working with a Catalina and BigSur Instance.

 

Unfortunately went to try Monterey to use my AMD 6600 non xtx for pass-through (as Monterey has a kext native without having to spoof). Using the AMD GPU Compatibility List for macOS | EliteMacx86 Forum to see what os supported what G card...

 

The docker macinthe box downloads the installer for macOS Sonoma and not Monterey as expected. I believe this to be an issue in the github where it downloads the latest shothand Monterey, but it loses Monterey and gets the latest witch as of writing is sonma...(Line 467)

 

Will there be an update / fix to https://hub.docker.com/r/spaceinvaderone/macinabox


to have the correct base OS recovery image installer?
https://support.apple.com/en-us/HT201372

my xml config:

<?xml version='1.0' encoding='UTF-8'?>
<domain type='kvm' id='10' xmlns:qemu='http://libvirt.org/schemas/domain/qemu/1.0'>
  <name>Macinabox Monterey</name>
  <uuid>5f5afdbb-8746-4e4d-9c23-293232449aa5</uuid>
  <description>MacOS Monterey</description>
  <metadata>
    <vmtemplate xmlns="unraid" name="Windows 10" icon="Monterey.png" os="osx"/>
  </metadata>
  <memory unit='KiB'>8388608</memory>
  <currentMemory unit='KiB'>8388608</currentMemory>
  <memoryBacking>
    <nosharepages/>
  </memoryBacking>
  <vcpu placement='static'>4</vcpu>
  <resource>
    <partition>/machine</partition>
  </resource>
  <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>/mnt/user/system/custom_ovmf/Macinabox_VARS-pure-efi.fd</nvram>
    <boot dev='hd'/>
  </os>
  <features>
    <acpi/>
    <apic/>
  </features>
  <cpu mode='host-passthrough' check='none' migratable='on'>
    <topology sockets='1' dies='1' cores='4' threads='1'/>
    <cache mode='passthrough'/>
    <feature policy='require' name='topoext'/>
  </cpu>
  <clock offset='utc'>
    <timer name='rtc' tickpolicy='catchup'/>
    <timer name='pit' tickpolicy='delay'/>
    <timer name='hpet' present='no'/>
  </clock>
  <on_poweroff>destroy</on_poweroff>
  <on_reboot>restart</on_reboot>
  <on_crash>restart</on_crash>
  <devices>
    <emulator>/usr/local/sbin/qemu</emulator>
    <disk type='file' device='disk'>
      <driver name='qemu' type='raw' cache='writeback'/>
      <source file='/mnt/user/domains/Macinabox Monterey/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='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' multifunction='on'/>
    </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>
    <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='0x14'/>
      <alias name='pci.5'/>
      <address type='pci' domain='0x0000' bus='0x00' slot='0x02' function='0x4'/>
    </controller>
    <controller type='virtio-serial' index='0'>
      <alias name='virtio-serial0'/>
      <address type='pci' domain='0x0000' bus='0x02' slot='0x00' function='0x0'/>
    </controller>
    <controller type='sata' index='0'>
      <alias name='ide'/>
      <address type='pci' domain='0x0000' bus='0x00' slot='0x1f' function='0x2'/>
    </controller>
    <interface type='bridge'>
      <mac address='52:54:00:89:1f:91'/>
      <source bridge='br0'/>
      <target dev='vnet9'/>
      <model type='virtio'/>
      <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-10-Macinabox Monterey/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='5900' autoport='yes' websocket='5700' listen='0.0.0.0' keymap='en-us'>
      <listen type='address' address='0.0.0.0'/>
    </graphics>
    <audio id='1' type='none'/>
    <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>
    <hostdev mode='subsystem' type='pci' managed='yes'>
      <driver name='vfio'/>
      <source>
        <address domain='0x0000' bus='0x03' slot='0x00' function='0x0'/>
      </source>
      <alias name='hostdev0'/>
      <address type='pci' domain='0x0000' bus='0x05' slot='0x00' function='0x0' multifunction='on'/>
    </hostdev>
    <hostdev mode='subsystem' type='pci' managed='yes'>
      <driver name='vfio'/>
      <source>
        <address domain='0x0000' bus='0x03' slot='0x00' function='0x1'/>
      </source>
      <alias name='hostdev1'/>
      <address type='pci' domain='0x0000' bus='0x05' slot='0x00' function='0x1'/>
    </hostdev>
    <hostdev mode='subsystem' type='usb' managed='no'>
      <source>
        <vendor id='0x046d'/>
        <product id='0xc08b'/>
        <address bus='5' device='2'/>
      </source>
      <alias name='hostdev2'/>
      <address type='usb' bus='0' port='2'/>
    </hostdev>
    <hostdev mode='subsystem' type='usb' managed='no'>
      <source>
        <vendor id='0x0d8c'/>
        <product id='0x0102'/>
        <address bus='5' device='3'/>
      </source>
      <alias name='hostdev3'/>
      <address type='usb' bus='0' port='3'/>
    </hostdev>
    <hostdev mode='subsystem' type='usb' managed='no'>
      <source>
        <vendor id='0x1532'/>
        <product id='0x0203'/>
        <address bus='1' device='2'/>
      </source>
      <alias name='hostdev4'/>
      <address type='usb' bus='0' port='4'/>
    </hostdev>
    <memballoon model='none'/>
  </devices>
  <seclabel type='dynamic' model='dac' relabel='yes'>
    <label>+0:+100</label>
    <imagelabel>+0:+100</imagelabel>
  </seclabel>
  <qemu:commandline>
    <qemu:arg value='-usb'/>
    <qemu:arg value='-device'/>
    <qemu:arg value='usb-kbd,bus=usb-bus.0'/>
    <qemu:arg value='-device'/>
    <!-- apple osk key -->
    <qemu:arg value='-smbios'/>
    <qemu:arg value='type=2'/>
    <qemu:arg value='-cpu'/>
    <qemu:arg value='Penryn,kvm=on,vendor=GenuineIntel,+kvm_pv_unhalt,+kvm_pv_eoi,+hypervisor,+invtsc,+pcid,+ssse3,+sse4.2,+popcnt,+avx,+avx2,+aes,+fma,+fma4,+bmi1,+bmi2,+xsave,+xsaveopt,+rdrand,check'/>
  </qemu:commandline>
</domain>

 

Hoping to get a download of the pre packaged montery-installer.img from the past as the current run packages a non working instance...

Edited by bmartino1
update links and fix spelling
Link to comment

Hi all,
Yesterday I finally finished installing vm in my Unraid server following the YouTube video (ever if some passage - for example the EFI part - was a bit different.

I rebooted then my VM and now it is stuck at boot: I see Apple logo and the bar at 33% . No changes or progression in at least 3 hours. Before last tentative I clicked on recover and was able to reach the setup guide page but frankly I don’t want to start from scratch once again.

Any suggestions?

Thanks in advance

Link to comment

Glad to see a revision / evolution coming: 

 

 

Been a year since any update. We are on v20 KVM open core and current release is v9.5 for opencore

 

using custom: and adding this to the folder per template information and readme file created:

https://github.com/thenickdude/KVM-Opencore/releases/download/v20/OpenCore-v20.iso.gz

 

but not sure if that is causing problem:

 

xml: no edits form docker...

<?xml version='1.0' encoding='UTF-8'?>
<domain type='kvm' xmlns:qemu='http://libvirt.org/schemas/domain/qemu/1.0'>
  <name>Macinabox Monterey</name>
  <uuid>7e9747e0-a4a3-43be-9027-d58837094c57</uuid>
  <description>MacOS Monterey</description>
  <metadata>
    <vmtemplate xmlns="unraid" name="Windows 10" icon="Monterey.png" os="osx"/>
  </metadata>
  <memory unit='KiB'>4194304</memory>
  <currentMemory unit='KiB'>4194304</currentMemory>
  <memoryBacking>
    <nosharepages/>
  </memoryBacking>
  <vcpu placement='static'>2</vcpu>
  <cputune>
    <vcpupin vcpu='0' cpuset='0'/>
    <vcpupin vcpu='1' cpuset='1'/>
  </cputune>
  <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>/mnt/user/system/custom_ovmf/Macinabox_VARS-pure-efi.fd</nvram>
  </os>
  <features>
    <acpi/>
    <apic/>
  </features>
  <cpu mode='host-passthrough' check='none' migratable='on'>
    <topology sockets='1' dies='1' cores='2' threads='1'/>
  </cpu>
  <clock offset='utc'>
    <timer name='rtc' tickpolicy='catchup'/>
    <timer name='pit' tickpolicy='delay'/>
    <timer name='hpet' present='no'/>
  </clock>
  <on_poweroff>destroy</on_poweroff>
  <on_reboot>restart</on_reboot>
  <on_crash>restart</on_crash>
  <devices>
    <emulator>/usr/local/sbin/qemu</emulator>
    <disk type='file' device='disk'>
      <driver name='qemu' type='raw' cache='writeback'/>
      <source file='/mnt/user/VM/Macinabox Monterey/Monterey-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/ISO/Apple/Monterey-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/VM/Macinabox Monterey/macos_disk.img'/>
      <target dev='hde' bus='virtio'/>
      <address type='pci' domain='0x0000' bus='0x03' slot='0x00' function='0x0'/>
    </disk>
    <controller type='usb' index='0' model='ich9-ehci1'>
      <address type='pci' domain='0x0000' bus='0x00' slot='0x07' function='0x7'/>
    </controller>
    <controller type='usb' index='0' model='ich9-uhci1'>
      <master startport='0'/>
      <address type='pci' domain='0x0000' bus='0x00' slot='0x07' function='0x0' multifunction='on'/>
    </controller>
    <controller type='usb' index='0' model='ich9-uhci2'>
      <master startport='2'/>
      <address type='pci' domain='0x0000' bus='0x00' slot='0x07' function='0x1'/>
    </controller>
    <controller type='usb' index='0' model='ich9-uhci3'>
      <master startport='4'/>
      <address type='pci' domain='0x0000' bus='0x00' slot='0x07' function='0x2'/>
    </controller>
    <controller type='sata' index='0'>
      <address type='pci' domain='0x0000' bus='0x00' slot='0x1f' function='0x2'/>
    </controller>
    <controller type='pci' index='0' model='pcie-root'/>
    <controller type='pci' index='1' model='pcie-root-port'>
      <model name='pcie-root-port'/>
      <target chassis='1' port='0x10'/>
      <address type='pci' domain='0x0000' bus='0x00' slot='0x02' function='0x0' multifunction='on'/>
    </controller>
    <controller type='pci' index='2' model='pcie-root-port'>
      <model name='pcie-root-port'/>
      <target chassis='2' port='0x11'/>
      <address type='pci' domain='0x0000' bus='0x00' slot='0x02' function='0x1'/>
    </controller>
    <controller type='pci' index='3' model='pcie-root-port'>
      <model name='pcie-root-port'/>
      <target chassis='3' port='0x12'/>
      <address type='pci' domain='0x0000' bus='0x00' slot='0x02' function='0x2'/>
    </controller>
    <controller type='pci' index='4' model='pcie-root-port'>
      <model name='pcie-root-port'/>
      <target chassis='4' port='0x13'/>
      <address type='pci' domain='0x0000' bus='0x00' slot='0x02' function='0x3'/>
    </controller>
    <controller type='virtio-serial' index='0'>
      <address type='pci' domain='0x0000' bus='0x02' slot='0x00' function='0x0'/>
    </controller>
    <interface type='bridge'>
      <mac address='52:54:00:11:90:17'/>
      <source bridge='br0'/>
      <model type='virtio'/>
      <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>
    <audio id='1' type='none'/>
    <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='none'/>
  </devices>
  <qemu:commandline>
    <qemu:arg value='-usb'/>
    <qemu:arg value='-device'/>
    <qemu:arg value='usb-kbd,bus=usb-bus.0'/>
    <qemu:arg value='-device'/>
    <qemu:arg value='isa-applesmc,osk=[blablabla...]'/>
    <qemu:arg value='-smbios'/>
    <qemu:arg value='type=2'/>
    <qemu:arg value='-cpu'/>
    <qemu:arg value='Penryn,kvm=on,vendor=GenuineIntel,+kvm_pv_unhalt,+kvm_pv_eoi,+hypervisor,+invtsc,+pcid,+ssse3,+sse4.2,+popcnt,+avx,+avx2,+aes,+fma,+fma4,+bmi1,+bmi2,+xsave,+xsaveopt,+rdrand,check'/>
  </qemu:commandline>
</domain>

 

boots montery with error

 

image.thumb.png.98e569389893ef8d058b97758272e311.png

 

image.thumb.png.b32c6f86e3d89e57ea1824c60e2b2ddf.png

 

If I move the installer disk image to a working OSX VM the installer for Monterey shows an installer for Sonoma. But I don't believe the efi or pconfig list is updated for this OS installer. Attempts from bigsur to Monterey have failed as well.

 

any help would be appreciated.

 

Edited by bmartino1
Retraction and update. FIx spelling and data.
Link to comment

Hi, I managed to create Sonoma vm with some tweaks to spaceinvaderone's macinabox created template, maybe someone will find this helpful.

 

1. Firstly I have created Sonoma image with this tutorial: https://i12bretro.github.io/tutorials/0763.html (method of obtaining macOS does not matter and you skip usb creation part, just go straight to "creating bootable .iso"), but in "creating bootable.iso" part you have to make an image at least 15000m in size and change image name from *.cdr to *.img not to *.iso. than copy this image to unraid

 

2. Download mentioned earlier: https://github.com/thenickdude/KVM-Opencore/releases/download/v20/OpenCore-v20.iso.gz this also copy to unraid

 

3. Run macinabox with Monterey option (you can try custom open core, but this option didn't worked for me, I had just manually changed path in automatically created Monterey vm) and override network interface to "vmxnet3", than normally go to user scripts and run vmready_notify and helper scripts as in spaceinvaderone's tutorial but do not run newly created vm

 

4. In new monterey vm, change opencore image path to downloaded one, and change Monterey path to Sonoma path. and in the last part of xml (qemu commandline) add missing flags from part 22 of this tutorial: https://i12bretro.github.io/tutorials/0566.html , mine tweaked part looks like this:

 

  <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='-global'/>
    <qemu:arg value='nec-usb-xhci.msi=off'/>
    <qemu:arg value='-global'/>
    <qemu:arg value='ICH9-LPC.acpi-pci-hotplug-with-bridge-support=off'/>
    <qemu:arg value='-cpu'/>
    <qemu:arg value='host,kvm=on,vendor=GenuineIntel,vmware-cpuid-freq=on,+kvm_pv_unhalt,+kvm_pv_eoi,+hypervisor,+invtsc,+pcid,+ssse3,+sse4.2,+popcnt,+avx,+avx2,+aes,+fma,+bmi1,+bmi2,+xsave,+xsaveopt,+rdrand,check'/>
  </qemu:commandline>

 

this tweaks are working for xeon e5-2690v4

 

5.now run vm and go to UEFI shell, in UEFI shell type System\Library\CoreServices\boot.efi and it should take you to standard recovery screen, next steps are as in spaceinvaderone's tutorial

 

6. after configuration you can copy open core files (https://github.com/thenickdude/KVM-Opencore/releases/download/v20/OpenCoreEFIFolder-v20.zip) to efi partition of Sonoma installation and remove opencore and Sonoma installer entries from xml

 

7. if everything works, you can change core assignment to 4 cores 2 threads, 8gb of ram and it should boot just fine without any additional things, keep in mind that you have to edit everything in xml view because spaceinvaderone's xml fixing script won't work anymore in present form

(you can try different core count and ram size, but these just worked for me)

 

8. you can fix performance of this vm with this guide: https://github.com/sickcodes/osx-optimizer , it made huge difference with my setup

 

Performance isn't terrific, but vm is totally usable, in my case the biggest issue is graphics performance because I don't have suitable graphics for macOS and I'm stuck with qemu emulated graphics

 

edit: idk why but after posting this part of qemu args with apple osk changed to asterisks

 

edit2: i have just ran passmark, and it hit 9449, not bad I think

Edited by Pirokiki
  • Like 1
Link to comment
On 11/6/2023 at 10:34 AM, Pirokiki said:

Hi, I managed to create Sonoma vm with some tweaks to spaceinvaderone's macinabox created template, maybe someone will find this helpful.

 

1. Firstly I have created Sonoma image with this tutorial: https://i12bretro.github.io/tutorials/0763.html (method of obtaining macOS does not matter and you skip usb creation part, just go straight to "creating bootable .iso"), but in "creating bootable.iso" part you have to make an image at least 15000m in size and change image name from *.cdr to *.img not to *.iso. than copy this image to unraid

 

2. Download mentioned earlier: https://github.com/thenickdude/KVM-Opencore/releases/download/v20/OpenCore-v20.iso.gz this also copy to unraid

 

3. Run macinabox with Monterey option (you can try custom open core, but this option didn't worked for me, I had just manually changed path in automatically created Monterey vm) and override network interface to "vmxnet3", than normally go to user scripts and run vmready_notify and helper scripts as in spaceinvaderone's tutorial but do not run newly created vm

 

4. In new monterey vm, change opencore image path to downloaded one, and change Monterey path to Sonoma path. and in the last part of xml (qemu commandline) add missing flags from part 22 of this tutorial: https://i12bretro.github.io/tutorials/0566.html , mine tweaked part looks like this:

 

  <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='-global'/>
    <qemu:arg value='nec-usb-xhci.msi=off'/>
    <qemu:arg value='-global'/>
    <qemu:arg value='ICH9-LPC.acpi-pci-hotplug-with-bridge-support=off'/>
    <qemu:arg value='-cpu'/>
    <qemu:arg value='host,kvm=on,vendor=GenuineIntel,vmware-cpuid-freq=on,+kvm_pv_unhalt,+kvm_pv_eoi,+hypervisor,+invtsc,+pcid,+ssse3,+sse4.2,+popcnt,+avx,+avx2,+aes,+fma,+bmi1,+bmi2,+xsave,+xsaveopt,+rdrand,check'/>
  </qemu:commandline>

 

this tweaks are working for xeon e5-2690v4

 

5.now run vm and go to UEFI shell, in UEFI shell type System\Library\CoreServices\boot.efi and it should take you to standard recovery screen, next steps are as in spaceinvaderone's tutorial

 

6. after configuration you can copy open core files (https://github.com/thenickdude/KVM-Opencore/releases/download/v20/OpenCoreEFIFolder-v20.zip) to efi partition of Sonoma installation and remove opencore and Sonoma installer entries from xml

 

7. if everything works, you can change core assignment to 4 cores 2 threads, 8gb of ram and it should boot just fine without any additional things, keep in mind that you have to edit everything in xml view because spaceinvaderone's xml fixing script won't work anymore in present form

(you can try different core count and ram size, but these just worked for me)

 

8. you can fix performance of this vm with this guide: https://github.com/sickcodes/osx-optimizer , it made huge difference with my setup

 

Performance isn't terrific, but vm is totally usable, in my case the biggest issue is graphics performance because I don't have suitable graphics for macOS and I'm stuck with qemu emulated graphics

 

edit: idk why but after posting this part of qemu args with apple osk changed to asterisks

 

edit2: i have just ran passmark, and it hit 9449, not bad I think

 

Thank you for this information, this helped alot !!! . Unfortunate, I still seem to have an issue with getting a Monterey or newer installer working. I have a amd board and this boots bigsur.

 

my edited xml config:

<?xml version='1.0' encoding='UTF-8'?>
<domain type='kvm' xmlns:qemu='http://libvirt.org/schemas/domain/qemu/1.0'>
  <name>AppleVM</name>
  <uuid>f84bcdf1-9ab4-f3ec-f103-2bd779f31c98</uuid>
  <description>Mac in a Box VM test system</description>
  <metadata>
    <vmtemplate xmlns="unraid" name="Apple" icon="Apple_old2.png" os="osx"/>
  </metadata>
  <memory unit='KiB'>8388608</memory>
  <currentMemory unit='KiB'>8388608</currentMemory>
  <memoryBacking>
    <nosharepages/>
  </memoryBacking>
  <vcpu placement='static'>4</vcpu>
  <os>
    <type arch='x86_64' machine='pc-q35-4.2'>hvm</type>
    <loader readonly='yes' type='pflash'>/mnt/user/VM/AppleVM/custom_ovmf/Macinabox_CODE-pure-efi.fd</loader>
    <nvram>/mnt/user/VM/AppleVM/custom_ovmf/Macinabox_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='1'/>
    <cache mode='passthrough'/>
    <feature policy='require' name='topoext'/>
  </cpu>
  <clock offset='utc'>
    <timer name='rtc' tickpolicy='catchup'/>
    <timer name='pit' tickpolicy='delay'/>
    <timer name='hpet' present='no'/>
  </clock>
  <on_poweroff>destroy</on_poweroff>
  <on_reboot>restart</on_reboot>
  <on_crash>restart</on_crash>
  <devices>
    <emulator>/usr/local/sbin/qemu</emulator>
    <disk type='file' device='cdrom'>
      <driver name='qemu' type='raw'/>
      <source file='/mnt/user/ISO/Apple/iso/Monterey_12.6.1_v17.6.11.iso'/>
      <target dev='hda' bus='sata'/>
      <readonly/>
      <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/VM/AppleVM/Opencorekvmv20.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/VM/AppleVM/macos_disk.img'/>
      <target dev='hde' bus='virtio'/>
      <address type='pci' domain='0x0000' bus='0x03' slot='0x00' function='0x0'/>
    </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='pci' index='5' model='pcie-root-port'>
      <model name='pcie-root-port'/>
      <target chassis='5' port='0x14'/>
      <address type='pci' domain='0x0000' bus='0x00' slot='0x02' function='0x4'/>
    </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:89:1f:91'/>
      <source bridge='br0'/>
      <model type='virtio'/>
      <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>
    <audio id='1' type='none'/>
    <video>
      <model type='qxl' ram='65536' vram='65536' vgamem='16384' heads='1' primary='yes'/>
      <address type='pci' domain='0x0000' bus='0x00' slot='0x01' function='0x0'/>
    </video>
    <hostdev mode='subsystem' type='pci' managed='yes'>
      <driver name='vfio'/>
      <source>
        <address domain='0x0000' bus='0x03' slot='0x00' function='0x0'/>
      </source>
      <address type='pci' domain='0x0000' bus='0x05' slot='0x00' function='0x0' multifunction='on'/>
    </hostdev>
    <hostdev mode='subsystem' type='pci' managed='yes'>
      <driver name='vfio'/>
      <source>
        <address domain='0x0000' bus='0x03' slot='0x00' function='0x1'/>
      </source>
      <address type='pci' domain='0x0000' bus='0x05' slot='0x00' function='0x1'/>
    </hostdev>
    <hostdev mode='subsystem' type='usb' managed='no'>
      <source>
        <vendor id='0x046d'/>
        <product id='0xc08b'/>
      </source>
      <address type='usb' bus='0' port='2'/>
    </hostdev>
    <hostdev mode='subsystem' type='usb' managed='no'>
      <source>
        <vendor id='0x0d8c'/>
        <product id='0x0102'/>
      </source>
      <address type='usb' bus='0' port='3'/>
    </hostdev>
    <hostdev mode='subsystem' type='usb' managed='no'>
      <source>
        <vendor id='0x1532'/>
        <product id='0x0203'/>
      </source>
      <address type='usb' bus='0' port='4'/>
    </hostdev>
    <memballoon model='none'/>
  </devices>
  <qemu:commandline>
    <qemu:arg value='-usb'/>
    <qemu:arg value='-device'/>
    <qemu:arg value='usb-kbd,bus=usb-bus.0'/>
    <qemu:arg value='-device'/>
    <qemu:arg value='isa-applesmc,osk=*see the guide abve for the key....'/>
    <qemu:arg value='-smbios'/>
    <qemu:arg value='type=2'/>
    <qemu:arg value='-global'/>
    <qemu:arg value='nec-usb-xhci.msi=off'/>
    <qemu:arg value='-global'/>
    <qemu:arg value='ICH9-LPC.acpi-pci-hotplug-with-bridge-support=off'/>
    <qemu:arg value='-cpu'/>
    <qemu:arg value='Haswell-noTSX,kvm=on,vmware-cpuid-freq=on,vendor=GenuineIntel,+kvm_pv_unhalt,+kvm_pv_eoi,+hypervisor,+invtsc,+pcid,+ssse3,+sse4.2,+popcnt,+avx,+avx2,+aes,+fma,+fma4,+bmi1,+bmi2,+xsave,+xsaveopt,+rdrand,check'/>
  </qemu:commandline>
</domain>

 

this includes my usb pass for keyboard, mouse and sound device which works and boots BigSur. Open core is updated to 9.6 image via opencore configurator... big sur even sees the amd card as another diplay...

 

image.thumb.png.736f78f2e91c22e6608c0429e8a4b01c.png

 

image.thumb.png.3b228b501a6f27762f53ce58eb551037.png

 

So I'm at a loss at this moment.

 

with error, all attempts to boot or install Monterey or higher.. fail with the error:

 

image.png.35b24ed01f1856a90a62fbe402aa9163.png

 

So I'm hoping Space Invader has a fix with this new docker. When it releases. I'm happy with a working big sure image atm just vnc not the best way to run and test things in the vm. I prefer a working display out. not skilled enough to use the open cor configurator or try and attempt to patch.

 

The last time I did things with what i think would be called a hackintsoh was back with vmware play 7-15 and el capitan.

Had problems with proxmox since the major kernel chage form 5 to 6 that broke everything i did with VM and trunas broke docker apps witch is why i went back to UNraid. Unraid just works.

 

I could use my bare metal mac for some but i rather have a quick copy past to go back and forth for dev and security.

 

?I could try clover, but cant seem to find much on that path.

 

I still think its the install media....

 

 

Link to comment
5 hours ago, bmartino1 said:

 

Thank you for this information, this helped alot !!! . Unfortunate, I still seem to have an issue with getting a Monterey or newer installer working. I have a amd board and this boots bigsur.

 

Spaceinvader haven't finished working on the new Macinbox at the moment. If you try donwnload  Monterey - it download Ventura or Sonoma with opencore from BugSur( that's why you get black screen with text different languages).

I see you success install BugSur. You can passthrough gpu and use it OS

Link to comment
12 hours ago, Exlife said:

Spaceinvader haven't finished working on the new Macinbox at the moment. If you try donwnload  Monterey - it download Ventura or Sonoma with opencore from BugSur( that's why you get black screen with text different languages).

I see you success install BugSur. You can passthrough gpu and use it OS

 

I understand the new docker is not out or released. the G card is passed to this vm and shown above. IT works with a Windows 11 as a passthorugh device. Am I missing something under big sure for an amd 6600 done't have a kext with is the drive for it to use the g card. Montery has native support, Big Sur doe not. What are my steps to get video out via pass-through as it is there?

 

 

Link to comment
On 11/8/2023 at 4:20 AM, Exlife said:

Spaceinvader haven't finished working on the new Macinbox at the moment. If you try donwnload  Monterey - it download Ventura or Sonoma with opencore from BugSur( that's why you get black screen with text different languages).

I see you success install BugSur. You can passthrough gpu and use it OS

 

to understand this, I just tried this morning to get Monterey and it fails. You are saying that when you execute the docker it downloads the Monterey image but an version of opencore for bigsur hence the failed boot?

Link to comment
3 hours ago, ijuarez said:

 

to understand this, I just tried this morning to get Monterey and it fails. You are saying that when you execute the docker it downloads the Monterey image but an version of opencore for bigsur hence the failed boot?

I think so. All you can do is wait for a new release or try to manually create a VM yourself

  • Like 1
Link to comment

I Don't understand the disconnect...

 

If I use the docker for Monterey setup, it downloads Sonoma labeled as montery-installer.img. This Sonma installer is in an edited recovery system with opencore v16 kvm edits meant for BigSUR. This media doesn't boot. Which could potentially be fixed if the github line was updated to grab Monterey instead of Sonoma. (Line 467) from the docker github file used to grab the installer:

 

###################

 

I don't know what the edits are being down to the recovery/install media. Nor what I would need to do to make my own using above-mentioned glib to download or my own apple disks. I have an ISO and other acquired install media, just none that boot in the VM environment with open core. My authenticate Apple ISO disk: Monterey_12.6.1_v17.6.11 doesn't boot in open core v20 KVM with the updated QEMU following the GUID or previous QEMU edits.

 

This tell same either my ISO is bad or there is a step missing making the install media.... (I even passed a disk drive to read the disk with similar) I just can't' see to get install media to boot with the white text error. Hitting enter get me to the Apple logo and eventual a forced reboot.

 

I even made a 20GB raw disk image, trying to make recovery media similar to having a USB. And dabbled with some other guides to use open core to boot, but still was not able to install nor upgrade bigsur. So I'm not sure of a MISconfiguration, but it is clear that since bigsur / catalina images downloaded via the docker boot and install in the edited XML file that there is a configuration needed for sonma and/or montery to install the OS.

 

I'm looking for that configuration or way to make the file.

atm that is this guide:

Edited by bmartino1
spelling
Link to comment
12 hours ago, bmartino1 said:

I Don't understand the disconnect...

I was able to successfully install Monterey 12.6.7

If you need, I can share the opencore and img installer. I can also tell you how to make the installer yourself.
XML from BigSur worked for me.

You can write me a private message, I can tell you how I did it.

  • Thanks 1
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.