ghost82 Posted October 27, 2021 Share Posted October 27, 2021 (edited) @ofawx you may want to add the Arch key to the opencore patches to make them compatible with latest versions of opencore? full patches: <?xml version="1.0" encoding="UTF-8"?> <!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd"> <plist version="1.0"> <dict> <key>Kernel</key> <dict> <key>Patch</key> <array> <dict> <key>Arch</key> <string>Any</string> <key>Base</key> <string></string> <key>Comment</key> <string>Block sysctl machdep.cpu.features VMM flag</string> <key>Count</key> <integer>1</integer> <key>Enabled</key> <true/> <key>Find</key> <data>AFZNTQA=</data> <key>Identifier</key> <string>kernel</string> <key>Limit</key> <integer>0</integer> <key>Mask</key> <data></data> <key>MaxKernel</key> <string>21.99.99</string> <key>MinKernel</key> <string>17.0.0</string> <key>Replace</key> <data>AFhYWAA=</data> <key>ReplaceMask</key> <data></data> <key>Skip</key> <integer>0</integer> </dict> <dict> <key>Arch</key> <string>Any</string> <key>Base</key> <string></string> <key>Comment</key> <string>Block sysctl kern.hv_vmm_present call</string> <key>Count</key> <integer>1</integer> <key>Enabled</key> <true/> <key>Find</key> <data>aHZfdm1tX3ByZXNlbnQ=</data> <key>Identifier</key> <string>kernel</string> <key>Limit</key> <integer>0</integer> <key>Mask</key> <data></data> <key>MaxKernel</key> <string>21.99.99</string> <key>MinKernel</key> <string>17.0.0</string> <key>Replace</key> <data>aHZfeHh4X3ByZXNlbnQ=</data> <key>ReplaceMask</key> <data></data> <key>Skip</key> <integer>0</integer> </dict> </array> </dict> </dict> </plist> Sorry on mobile now and I don't know how to push a pr from it. Edited October 27, 2021 by ghost82 Quote Link to comment
doesntaffect Posted October 27, 2021 Share Posted October 27, 2021 (edited) @RiDDiX Did you use a guide to install your VM? If so, can you share the link? I am currently reading through this https://github.com/osx86-ijb/Hackinabox#5-making-the-recovery-usb-on-linux But on the page to create the installer, it says that Monterey should be avoided since USB port mapping is broken. I wonder how relevant this is in a VM? Meanwhile, I am reinstalling a VM based on this video from Spaceinvader since I want to trial the Geforce GPU and the HDMI/USB over IP extender to get a GPU accelerated GUI. Basically, I am trailing a few installs before settling into a "final" production VM with passthrough GPU. Thanks for any advise. If you feel more comfortable to reply in German, just shoot me message Edited October 27, 2021 by doesntaffect Quote Link to comment
RiDDiX Posted October 28, 2021 Share Posted October 28, 2021 12 hours ago, doesntaffect said: @RiDDiX Did you use a guide to install your VM? If so, can you share the link? I am currently reading through this https://github.com/osx86-ijb/Hackinabox#5-making-the-recovery-usb-on-linux But on the page to create the installer, it says that Monterey should be avoided since USB port mapping is broken. I wonder how relevant this is in a VM? Meanwhile, I am reinstalling a VM based on this video from Spaceinvader since I want to trial the Geforce GPU and the HDMI/USB over IP extender to get a GPU accelerated GUI. Basically, I am trailing a few installs before settling into a "final" production VM with passthrough GPU. Thanks for any advise. If you feel more comfortable to reply in German, just shoot me message I used nearly the same guid for creating the usb installer, but I used Big Sur then upgraded to Monterey. If you are able to passthrough a usb card or even the onboard usb controller to the vm I should work just fine. Its what I did. I created the usb installer within a linux vm, then passthrough my usb onboard to the mac vm, I used FreeBSD as template for my hackintosh vm, added the qemu arg lines (at the bottom of my xml) and edited my xml for my gpu to be paired instead of splitted, keyword "multifunction=on". Then I added the kexts which I needed for my Hackintosh VM. Lilu and Whatevergreen also RestrictEvents are needed in most of the cases. My VM runs smoth and nicely, for me the badside is that my Unraid Server atm is stuck with a GT630 so I needed the geforce-kepler patcher from chris1111 which added the needed geforce kexts to get my monitor looking correct and full resolution. 1 Quote Link to comment
doesntaffect Posted October 30, 2021 Share Posted October 30, 2021 (edited) I got a new VM to boot from a Monterey stick I created using the dortania guide and a MacBook Pro. However, boot process always stops here: A reboot went a bit further, but then also stuck. Any advise? I'll check google meanwhile. Edited October 31, 2021 by doesntaffect Quote Link to comment
ghost82 Posted October 31, 2021 Share Posted October 31, 2021 (edited) 14 hours ago, doesntaffect said: Any advise? I think the issue is with usb here. Are you trying to install monterey from a usb drive, don't you? The log in first screenshot simply didn't update, the last line is incomplete, it's disabling virtualsmc because you defined the additional isa-applesmc in the xml: this is totally fine, I added virtualsmc to macinabox opencore in case someone misses to add the isa-applesmc in the xml. I think the os is unable to correctly map the usb port, or ownership of usb, or the usb controller is not compatible, or...who knows.. Instead of using a usb pendrive with the install media, create an img file and add a new disk to the vm with that install media. The steps to create it are pretty the same than that to create the usb installer. 1. on your macbook pro, start disk utility 2. File-->new image-->empty image Name: Monterey (or what you want) Size: 16 GB Format: Mac OS extended (journaled) Let the other options as they are --> this will create an empty dmg file into which we will copy installation files (it's equivalent to your usb drive) Now, assuming you have the downloaded dmg or pkg of monterey, downloaded from apple, mount it. Mount also, if it's not mounted, the empty image you created. Assuming: Name of the mounted empty volume: Monterey Name of the mounted monterey installation volume: Install_Monterey Tip: for real names of mounted volumes open a finder window and go to /Volumes Run the command createinstallmedia: sudo /Volumes/Install_Monterey/Applications/Install\ macOS\ Monterey.app/Contents/Resources/createinstallmedia --volume /Volumes/Monterey Now unmount all images. Rename Monterey.dmg to Monterey.img Add Monterey.img to your xml template: <disk type='file' device='disk'> <driver name='qemu' type='raw' cache='writeback'/> <source file='/path/to/Monterey.img'/> <target dev='hdd' bus='sata'/> <address type='drive' controller='0' bus='0' target='0' unit='3'/> </disk> If unit='3'/hdd are already in use change that values. Edited October 31, 2021 by ghost82 1 Quote Link to comment
RiDDiX Posted October 31, 2021 Share Posted October 31, 2021 10 hours ago, doesntaffect said: I got a new VM to boot from a Monterey stick I created using the dortania guide and a MacBook Pro. However, book process always stops here: A reboot went a bit further, but then also stuck. Any advise? I'll check google meanwhile. As @ghost82 already mentioned it right you dont need VirtualsSMC.kext with my settings 🙂 1 Quote Link to comment
doesntaffect Posted October 31, 2021 Share Posted October 31, 2021 Thank you both, I'll try that later today and report back. Amazing support! Quote Link to comment
RiDDiX Posted October 31, 2021 Share Posted October 31, 2021 44 minutes ago, doesntaffect said: Thank you both, I'll try that later today and report back. Amazing support! You should also got a PM 🙂 Sorry for my absence... Quote Link to comment
doesntaffect Posted October 31, 2021 Share Posted October 31, 2021 (edited) Making little progress, and still stuck I created the image like described above Mounted it and then mounted the EFI Copied my EFI folder into the empty EFI of the image Copied the edited image with the new EFI structure to my UnRaid host Adapted the XML code you shared above and pasted it into the VMs XML; removed the USB stick code I used earlier Started the VM, and the picture is same as last night. The boot process gets stuck I attached the opencore logs from the image's EFI folder and also the VM's XML and the config.plist - Can you guys have a look? Can there be something wrong with my CPU core mapping in the config.plist or am I missing a kext? I am also using an HDMI / USB over IP extender and use a USB 3.0 port on the UnRaid host which I extend through my desk in another room. In that room I have a USB Keyboard and Bluetooth "dongled" mouse connected. The two USB entries in the XML are for both KB/Mouse. I also haven't passed through a NVME SSD at this stage since I want to get the installation dialog going first. If that's a problem, please let me know. Thanks MacPro_vm.xml opencore-2021-10-31-133627.txt opencore-2021-10-31-133713.txt opencore-2021-10-31-133810.txt opencore-2021-10-31-133846.txt opencore-2021-10-31-133934.txt config.plist Edited October 31, 2021 by doesntaffect Quote Link to comment
RiDDiX Posted October 31, 2021 Share Posted October 31, 2021 (edited) Quote <hostdev mode='subsystem' type='pci' managed='yes'> <driver name='vfio'/> <source> <address domain='0x0000' bus='0x25' slot='0x00' function='0x0'/> </source> <rom file='/mnt/user/isos/vbios/gt710.rom'/> <address type='pci' domain='0x0000' bus='0x02' slot='0x00' function='0x0' multifunction='on'/> </hostdev> <hostdev mode='subsystem' type='pci' managed='yes'> <driver name='vfio'/> <source> <address domain='0x0000' bus='0x25' slot='0x00' function='0x1'/> </source> <address type='pci' domain='0x0000' bus='0x04' slot='0x00' function='0x0'/> </hostdev> This seems to be your gpu part right? Edit it like this: Quote <hostdev mode='subsystem' type='pci' managed='yes'> <driver name='vfio'/> <source> <address domain='0x0000' bus='0x25' slot='0x00' function='0x0'/> </source> <rom file='/mnt/user/isos/vbios/gt710.rom'/> <address type='pci' domain='0x0000' bus='0x02' slot='0x00' function='0x0' multifunction='on'/> </hostdev> <hostdev mode='subsystem' type='pci' managed='yes'> <driver name='vfio'/> <source> <address domain='0x0000' bus='0x25' slot='0x00' function='0x1'/> </source> <address type='pci' domain='0x0000' bus='0x02' slot='0x00' function='0x1'/> </hostdev> MacOS can be really annoying if something isnt set up correctly. ÄHHHMMMM <type arch='x86_64' machine='pc-q35-6.1'>hvm</type> please change this to: <type arch='x86_64' machine='pc-q35-6.0'>hvm</type> __________ Also remove this line completly: <topology sockets='1' dies='1' cores='2' threads='2'/> Then it nearly looks like this: <?xml version='1.0' encoding='UTF-8'?> <domain type='kvm' xmlns:qemu='http://libvirt.org/schemas/domain/qemu/1.0'> <name>MacPro</name> <uuid>XXXXXXXXXXXXXXXXXXXXXXXXXXXXXX</uuid> <metadata> <vmtemplate xmlns="unraid" name="FreeBSD" icon="freebsd.png" os="freebsd"/> </metadata> <memory unit='KiB'>8388608</memory> <currentMemory unit='KiB'>8388608</currentMemory> <memoryBacking> <nosharepages/> </memoryBacking> <vcpu placement='static'>4</vcpu> <cputune> <vcpupin vcpu='0' cpuset='5'/> <vcpupin vcpu='1' cpuset='17'/> <vcpupin vcpu='2' cpuset='7'/> <vcpupin vcpu='3' cpuset='19'/> </cputune> <os> <type arch='x86_64' machine='pc-q35-6.0'>hvm</type> <loader readonly='yes' type='pflash'>/usr/share/qemu/ovmf-x64/OVMF_CODE-pure-efi.fd</loader> <nvram>/etc/libvirt/qemu/nvram/XXXXXXXXXXXXXXXXXXXXXXXXXXXXXX_VARS-pure-efi.fd</nvram> <boot dev='hd'/> </os> <features> <acpi/> <apic/> </features> <cpu mode='host-passthrough' check='none' migratable='on'> <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/isos/osx/img_monterey.img'/> <target dev='hdd' bus='sata'/> <address type='drive' controller='0' bus='0' target='0' unit='3'/> </disk> <controller type='usb' index='0' model='ich9-ehci1'> <address type='pci' domain='0x0000' bus='0x00' slot='0x07' function='0x7'/> </controller> <controller type='usb' index='0' model='ich9-uhci1'> <master startport='0'/> <address type='pci' domain='0x0000' bus='0x00' slot='0x07' function='0x0' multifunction='on'/> </controller> <controller type='usb' index='0' model='ich9-uhci2'> <master startport='2'/> <address type='pci' domain='0x0000' bus='0x00' slot='0x07' function='0x1'/> </controller> <controller type='usb' index='0' model='ich9-uhci3'> <master startport='4'/> <address type='pci' domain='0x0000' bus='0x00' slot='0x07' function='0x2'/> </controller> <controller type='pci' index='0' model='pcie-root'/> <controller type='pci' index='1' model='pcie-root-port'> <model name='pcie-root-port'/> <target chassis='1' port='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='0xb'/> <address type='pci' domain='0x0000' bus='0x00' slot='0x01' function='0x3'/> </controller> <controller type='pci' index='4' model='pcie-root-port'> <model name='pcie-root-port'/> <target chassis='4' port='0x12'/> <address type='pci' domain='0x0000' bus='0x00' slot='0x02' function='0x2'/> </controller> <controller type='pci' index='5' model='pcie-root-port'> <model name='pcie-root-port'/> <target chassis='5' port='0x13'/> <address type='pci' domain='0x0000' bus='0x00' slot='0x02' function='0x3'/> </controller> <controller type='pci' index='6' model='pcie-root-port'> <model name='pcie-root-port'/> <target chassis='6' port='0x14'/> <address type='pci' domain='0x0000' bus='0x00' slot='0x02' function='0x4'/> </controller> <controller type='pci' index='7' model='pcie-root-port'> <model name='pcie-root-port'/> <target chassis='7' port='0xa'/> <address type='pci' domain='0x0000' bus='0x00' slot='0x01' function='0x2'/> </controller> <controller type='pci' index='8' model='pcie-to-pci-bridge'> <model name='pcie-pci-bridge'/> <address type='pci' domain='0x0000' bus='0x01' slot='0x00' function='0x0'/> </controller> <controller type='virtio-serial' index='0'> <address type='pci' domain='0x0000' bus='0x03' 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='XXXXXXXXXXXXXXXXXXXXXXXXXXXXXX'/> <source bridge='br0'/> <model type='e1000'/> <address type='pci' domain='0x0000' bus='0x08' slot='0x01' 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='0x25' slot='0x00' function='0x0'/> </source> <rom file='/mnt/user/isos/vbios/gt710.rom'/> <address type='pci' domain='0x0000' bus='0x02' slot='0x00' function='0x0' multifunction='on'/> </hostdev> <hostdev mode='subsystem' type='pci' managed='yes'> <driver name='vfio'/> <source> <address domain='0x0000' bus='0x25' slot='0x00' function='0x1'/> </source> <address type='pci' domain='0x0000' bus='0x02' slot='0x00' function='0x1'/> </hostdev> <hostdev mode='subsystem' type='usb' managed='no'> <source> <vendor id='0x17ef'/> <product id='0x6039'/> </source> <address type='usb' bus='0' port='3'/> </hostdev> <hostdev mode='subsystem' type='usb' managed='no'> <source> <vendor id='0x1a2c'/> <product id='0x0e24'/> </source> <address type='usb' bus='0' port='4'/> </hostdev> <memballoon model='none'/> </devices> <qemu:commandline> <qemu:arg value='-device'/> <qemu:arg value='isa-applesmc,osk=xxxxxxxxxxxxxxxxxxxxxxxxxxxxxx'/> <qemu:arg value='-smbios'/> <qemu:arg value='type=2'/> <qemu:arg value='-cpu'/> <qemu:arg value='host,vendor=GenuineIntel,+invtsc,kvm=on'/> </qemu:commandline> </domain> Edited October 31, 2021 by RiDDiX 1 Quote Link to comment
ghost82 Posted October 31, 2021 Share Posted October 31, 2021 (edited) Advices by @RiDDiX are all correct and all can cause a failure to boot mac os. Opencore logs are not useful, because they come from a RELEASE version of opencore, and nothing in there points to what prevents macos from booting; if you want to have proper logs you need to replace the RELEASE version of opencore with a DEBUG version. You chose to passthrough the amd cpu maintaining ProcessorType to 0 in the config.plist (means "automatic"): because of this you need a ton of patches to boot. Pavo suggested to spoof ProcessorType in the config.plist to an intel one, maintaining the host cpu type in the xml: by this way all the features of the real cpu will be maintained inside the vm, but you wont need all the amd patches. I suggest to do one step at a time. Start with penryn which requires 0 patches, once monterey or another os is installed start changing the config.plist and see where it fails. If you put all at once (host passthrough, gpu passthrough, patches, quirks) it will become more difficult to understand why it fails. Please note also that video acceleration will not work in monterey with your gt710 and you will need to unseal the volume to manually put back nvidia drivers (taken from Big Sur). https://github.com/chris1111/Geforce-Kepler-patcher Edited October 31, 2021 by ghost82 1 Quote Link to comment
RiDDiX Posted October 31, 2021 Share Posted October 31, 2021 (edited) <?xml version="1.0" encoding="UTF-8"?> <!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd"> <plist version="1.0"> <dict> <key>ACPI</key> <dict> <key>Add</key> <array> <dict> <key>Comment</key> <string></string> <key>Enabled</key> <true/> <key>Path</key> <string>SSDT-PLUG.aml</string> </dict> <dict> <key>Comment</key> <string></string> <key>Enabled</key> <true/> <key>Path</key> <string>SSDT-GFX.aml</string> </dict> <dict> <key>Comment</key> <string></string> <key>Enabled</key> <true/> <key>Path</key> <string>SSDT-ARPT.aml</string> </dict> <dict> <key>Comment</key> <string></string> <key>Enabled</key> <true/> <key>Path</key> <string>SSDT-XGE.aml</string> </dict> <dict> <key>Comment</key> <string></string> <key>Enabled</key> <true/> <key>Path</key> <string>SSDT-NVME.aml</string> </dict> <dict> <key>Comment</key> <string></string> <key>Enabled</key> <true/> <key>Path</key> <string>SSDT-XHC.aml</string> </dict> <dict> <key>Comment</key> <string></string> <key>Enabled</key> <true/> <key>Path</key> <string>SSDT-EC-USBX-DESKTOP.aml</string> </dict> </array> <key>Delete</key> <array/> <key>Patch</key> <array/> <key>Quirks</key> <dict> <key>FadtEnableReset</key> <false/> <key>NormalizeHeaders</key> <false/> <key>RebaseRegions</key> <false/> <key>ResetHwSig</key> <false/> <key>ResetLogoStatus</key> <true/> <key>SyncTableIds</key> <false/> </dict> </dict> <key>Booter</key> <dict> <key>MmioWhitelist</key> <array/> <key>Patch</key> <array/> <key>Quirks</key> <dict> <key>AllowRelocationBlock</key> <false/> <key>AvoidRuntimeDefrag</key> <true/> <key>DevirtualiseMmio</key> <false/> <key>DisableSingleUser</key> <false/> <key>DisableVariableWrite</key> <false/> <key>DiscardHibernateMap</key> <false/> <key>EnableSafeModeSlide</key> <true/> <key>EnableWriteUnprotector</key> <false/> <key>ForceBooterSignature</key> <false/> <key>ForceExitBootServices</key> <false/> <key>ProtectMemoryRegions</key> <false/> <key>ProtectSecureBoot</key> <false/> <key>ProtectUefiServices</key> <false/> <key>ProvideCustomSlide</key> <true/> <key>ProvideMaxSlide</key> <integer>0</integer> <key>RebuildAppleMemoryMap</key> <true/> <key>SetupVirtualMap</key> <true/> <key>SignalAppleOS</key> <false/> <key>SyncRuntimePermissions</key> <true/> </dict> </dict> <key>DeviceProperties</key> <dict> <key>Add</key> <dict/> <key>Delete</key> <dict/> </dict> <key>Kernel</key> <dict> <key>Add</key> <array> <dict> <key>Arch</key> <string>Any</string> <key>BundlePath</key> <string>Lilu.kext</string> <key>Comment</key> <string></string> <key>Enabled</key> <true/> <key>ExecutablePath</key> <string>Contents/MacOS/Lilu</string> <key>MaxKernel</key> <string></string> <key>MinKernel</key> <string></string> <key>PlistPath</key> <string>Contents/Info.plist</string> </dict> <dict> <key>Arch</key> <string>Any</string> <key>BundlePath</key> <string>WhateverGreen.kext</string> <key>Comment</key> <string></string> <key>Enabled</key> <true/> <key>ExecutablePath</key> <string>Contents/MacOS/WhateverGreen</string> <key>MaxKernel</key> <string></string> <key>MinKernel</key> <string></string> <key>PlistPath</key> <string>Contents/Info.plist</string> </dict> <dict> <key>Arch</key> <string>Any</string> <key>BundlePath</key> <string>BlueToolFixup.kext</string> <key>Comment</key> <string></string> <key>Enabled</key> <true/> <key>ExecutablePath</key> <string>Contents/MacOS/BlueToolFixup</string> <key>MaxKernel</key> <string></string> <key>MinKernel</key> <string></string> <key>PlistPath</key> <string>Contents/Info.plist</string> </dict> <dict> <key>Arch</key> <string>Any</string> <key>BundlePath</key> <string>AppleALC.kext</string> <key>Comment</key> <string></string> <key>Enabled</key> <true/> <key>ExecutablePath</key> <string>Contents/MacOS/AppleALC</string> <key>MaxKernel</key> <string></string> <key>MinKernel</key> <string></string> <key>PlistPath</key> <string>Contents/Info.plist</string> </dict> <dict> <key>Arch</key> <string>Any</string> <key>BundlePath</key> <string>RestrictEvents.kext</string> <key>Comment</key> <string></string> <key>Enabled</key> <true/> <key>ExecutablePath</key> <string>Contents/MacOS/RestrictEvents</string> <key>MaxKernel</key> <string></string> <key>MinKernel</key> <string></string> <key>PlistPath</key> <string>Contents/Info.plist</string> </dict> </array> <key>Block</key> <array/> <key>Emulate</key> <dict> <key>Cpuid1Data</key> <data>VwYFAAAAAAAAAAAAAAAAAA==</data> <key>Cpuid1Mask</key> <data>/////wAAAAAAAAAAAAAAAA==</data> <key>DummyPowerManagement</key> <false/> <key>MaxKernel</key> <string></string> <key>MinKernel</key> <string></string> </dict> <key>Force</key> <array/> <key>Patch</key> <array/> <key>Quirks</key> <dict> <key>AppleCpuPmCfgLock</key> <false/> <key>AppleXcpmCfgLock</key> <false/> <key>AppleXcpmExtraMsrs</key> <false/> <key>AppleXcpmForceBoost</key> <false/> <key>CustomSMBIOSGuid</key> <false/> <key>DisableIoMapper</key> <false/> <key>DisableLinkeditJettison</key> <true/> <key>DisableRtcChecksum</key> <false/> <key>ExtendBTFeatureFlags</key> <false/> <key>ExternalDiskIcons</key> <false/> <key>ForceSecureBootScheme</key> <false/> <key>IncreasePciBarSize</key> <false/> <key>LapicKernelPanic</key> <false/> <key>LegacyCommpage</key> <false/> <key>PanicNoKextDump</key> <false/> <key>PowerTimeoutKernelPanic</key> <false/> <key>ProvideCurrentCpuInfo</key> <true/> <key>SetApfsTrimTimeout</key> <integer>-1</integer> <key>ThirdPartyDrives</key> <false/> <key>XhciPortLimit</key> <false/> </dict> <key>Scheme</key> <dict> <key>CustomKernel</key> <false/> <key>FuzzyMatch</key> <true/> <key>KernelArch</key> <string>x86_64</string> <key>KernelCache</key> <string>Auto</string> </dict> </dict> <key>Misc</key> <dict> <key>BlessOverride</key> <array/> <key>Boot</key> <dict> <key>ConsoleAttributes</key> <integer>0</integer> <key>HibernateMode</key> <string>None</string> <key>HideAuxiliary</key> <false/> <key>LauncherOption</key> <string>Disabled</string> <key>LauncherPath</key> <string>Default</string> <key>PickerAttributes</key> <integer>1</integer> <key>PickerAudioAssist</key> <false/> <key>PickerMode</key> <string>Builtin</string> <key>PickerVariant</key> <string>chris1111\ApplePark-2</string> <key>PollAppleHotKeys</key> <false/> <key>ShowPicker</key> <true/> <key>TakeoffDelay</key> <integer>0</integer> <key>Timeout</key> <integer>5</integer> </dict> <key>Debug</key> <dict> <key>AppleDebug</key> <true/> <key>ApplePanic</key> <true/> <key>DisableWatchDog</key> <true/> <key>DisplayDelay</key> <integer>0</integer> <key>DisplayLevel</key> <integer>2147483648</integer> <key>SerialInit</key> <false/> <key>SysReport</key> <false/> <key>Target</key> <integer>3</integer> </dict> <key>Entries</key> <array/> <key>Security</key> <dict> <key>AllowNvramReset</key> <true/> <key>AllowSetDefault</key> <true/> <key>AllowToggleSip</key> <false/> <key>ApECID</key> <integer>0</integer> <key>AuthRestart</key> <false/> <key>BlacklistAppleUpdate</key> <true/> <key>DmgLoading</key> <string>Signed</string> <key>EnablePassword</key> <false/> <key>ExposeSensitiveData</key> <integer>6</integer> <key>HaltLevel</key> <integer>2147483648</integer> <key>PasswordHash</key> <data></data> <key>PasswordSalt</key> <data></data> <key>ScanPolicy</key> <integer>0</integer> <key>SecureBootModel</key> <string>Disabled</string> <key>Vault</key> <string>Optional</string> </dict> <key>Tools</key> <array/> </dict> <key>NVRAM</key> <dict> <key>Add</key> <dict> <key>4D1EDE05-38C7-4A6A-9CC6-4BCCA8B38C14</key> <dict> <key>DefaultBackgroundColor</key> <data>AAAAAA==</data> <key>UIScale</key> <data>AQ==</data> </dict> <key>4D1FDA02-38C7-4A6A-9CC6-4BCCA8B30102</key> <dict> <key>revcpu</key> <integer>1</integer> <key>rtc-blacklist</key> <data></data> </dict> <key>7C436110-AB2A-4BBB-A880-FE41995C9F82</key> <dict> <key>ForceDisplayRotationInEFI</key> <integer>50</integer> <key>SystemAudioVolume</key> <data>Rg==</data> <key>boot-args</key> <string>-v keepsyms=1 debug=0x100 alcid=1</string> <key>csr-active-config</key> <data>7w8AAA==</data> <key>run-efi-updater</key> <string>No</string> </dict> </dict> <key>Delete</key> <dict> <key>4D1EDE05-38C7-4A6A-9CC6-4BCCA8B38C14</key> <array> <string>UIScale</string> <string>DefaultBackgroundColor</string> </array> <key>4D1FDA02-38C7-4A6A-9CC6-4BCCA8B30102</key> <array> <string>rtc-blacklist</string> </array> <key>7C436110-AB2A-4BBB-A880-FE41995C9F82</key> <array> <string>boot-args</string> <string>ForceDisplayRotationInEFI</string> </array> </dict> <key>LegacyEnable</key> <false/> <key>LegacyOverwrite</key> <false/> <key>LegacySchema</key> <dict> <key>7C436110-AB2A-4BBB-A880-FE41995C9F82</key> <array> <string>EFILoginHiDPI</string> <string>EFIBluetoothDelay</string> <string>LocationServicesEnabled</string> <string>SystemAudioVolume</string> <string>SystemAudioVolumeDB</string> <string>SystemAudioVolumeSaved</string> <string>bluetoothActiveControllerInfo</string> <string>bluetoothInternalControllerInfo</string> <string>flagstate</string> <string>fmm-computer-name</string> <string>fmm-mobileme-token-FMM</string> <string>fmm-mobileme-token-FMM-BridgeHasAccount</string> <string>nvda_drv</string> <string>prev-lang:kbd</string> </array> <key>8BE4DF61-93CA-11D2-AA0D-00E098032B8C</key> <array> <string>Boot0080</string> <string>Boot0081</string> <string>Boot0082</string> <string>BootNext</string> <string>BootOrder</string> </array> </dict> <key>WriteFlash</key> <true/> </dict> <key>PlatformInfo</key> <dict> <key>Automatic</key> <true/> <key>CustomMemory</key> <false/> <key>Generic</key> <dict> PASTE HERE YOUR PLATFORM INFO!!! PASTE HERE YOUR PLATFORM INFO!!! PASTE HERE YOUR PLATFORM INFO!!! PASTE HERE YOUR PLATFORM INFO!!! PASTE HERE YOUR PLATFORM INFO!!! PASTE HERE YOUR PLATFORM INFO!!! PASTE HERE YOUR PLATFORM INFO!!! PASTE HERE YOUR PLATFORM INFO!!! PASTE HERE YOUR PLATFORM INFO!!! </dict> <key>UpdateDataHub</key> <true/> <key>UpdateNVRAM</key> <true/> <key>UpdateSMBIOS</key> <true/> <key>UpdateSMBIOSMode</key> <string>Create</string> <key>UseRawUuidEncoding</key> <false/> </dict> <key>UEFI</key> <dict> <key>APFS</key> <dict> <key>EnableJumpstart</key> <true/> <key>GlobalConnect</key> <false/> <key>HideVerbose</key> <true/> <key>JumpstartHotPlug</key> <false/> <key>MinDate</key> <integer>0</integer> <key>MinVersion</key> <integer>0</integer> </dict> <key>AppleInput</key> <dict> <key>AppleEvent</key> <string>Builtin</string> <key>CustomDelays</key> <false/> <key>GraphicsInputMirroring</key> <false/> <key>KeyInitialDelay</key> <integer>0</integer> <key>KeySubsequentDelay</key> <integer>5</integer> <key>PointerSpeedDiv</key> <integer>1</integer> <key>PointerSpeedMul</key> <integer>1</integer> </dict> <key>Audio</key> <dict> <key>AudioCodec</key> <integer>0</integer> <key>AudioDevice</key> <string>PciRoot(0x0)/Pci(0x1b,0x0)</string> <key>AudioOut</key> <integer>0</integer> <key>AudioSupport</key> <false/> <key>MinimumVolume</key> <integer>20</integer> <key>PlayChime</key> <string>Auto</string> <key>ResetTrafficClass</key> <false/> <key>SetupDelay</key> <integer>0</integer> <key>VolumeAmplifier</key> <integer>0</integer> </dict> <key>ConnectDrivers</key> <true/> <key>Drivers</key> <array> <dict> <key>Arguments</key> <string></string> <key>Comment</key> <string></string> <key>Enabled</key> <true/> <key>Path</key> <string>AudioDxe.efi</string> </dict> <dict> <key>Arguments</key> <string></string> <key>Comment</key> <string></string> <key>Enabled</key> <true/> <key>Path</key> <string>OpenCanopy.efi</string> </dict> <dict> <key>Arguments</key> <string></string> <key>Comment</key> <string></string> <key>Enabled</key> <true/> <key>Path</key> <string>OpenHfsPlus.efi</string> </dict> <dict> <key>Arguments</key> <string></string> <key>Comment</key> <string></string> <key>Enabled</key> <true/> <key>Path</key> <string>OpenRuntime.efi</string> </dict> </array> <key>Input</key> <dict> <key>KeyFiltering</key> <false/> <key>KeyForgetThreshold</key> <integer>5</integer> <key>KeySupport</key> <true/> <key>KeySupportMode</key> <string>Auto</string> <key>KeySwap</key> <false/> <key>PointerSupport</key> <false/> <key>PointerSupportMode</key> <string>ASUS</string> <key>TimerResolution</key> <integer>50000</integer> </dict> <key>Output</key> <dict> <key>ClearScreenOnModeSwitch</key> <false/> <key>ConsoleMode</key> <string></string> <key>DirectGopRendering</key> <false/> <key>ForceResolution</key> <false/> <key>GopPassThrough</key> <string>Disabled</string> <key>IgnoreTextInGraphics</key> <false/> <key>ProvideConsoleGop</key> <true/> <key>ReconnectOnResChange</key> <false/> <key>ReplaceTabWithSpace</key> <false/> <key>Resolution</key> <string>Max</string> <key>SanitiseClearScreen</key> <false/> <key>TextRenderer</key> <string>BuiltinGraphics</string> <key>UgaPassThrough</key> <false/> </dict> <key>ProtocolOverrides</key> <dict> <key>AppleAudio</key> <false/> <key>AppleBootPolicy</key> <false/> <key>AppleDebugLog</key> <false/> <key>AppleEg2Info</key> <false/> <key>AppleFramebufferInfo</key> <false/> <key>AppleImageConversion</key> <false/> <key>AppleImg4Verification</key> <false/> <key>AppleKeyMap</key> <false/> <key>AppleRtcRam</key> <false/> <key>AppleSecureBoot</key> <false/> <key>AppleSmcIo</key> <false/> <key>AppleUserInterfaceTheme</key> <false/> <key>DataHub</key> <false/> <key>DeviceProperties</key> <false/> <key>FirmwareVolume</key> <false/> <key>HashServices</key> <false/> <key>OSInfo</key> <false/> <key>UnicodeCollation</key> <false/> </dict> <key>Quirks</key> <dict> <key>ActivateHpetSupport</key> <false/> <key>DisableSecurityPolicy</key> <false/> <key>EnableVectorAcceleration</key> <true/> <key>ExitBootServicesDelay</key> <integer>0</integer> <key>ForceOcWriteFlash</key> <false/> <key>ForgeUefiSupport</key> <false/> <key>IgnoreInvalidFlexRatio</key> <false/> <key>ReleaseUsbOwnership</key> <false/> <key>ReloadOptionRoms</key> <false/> <key>RequestBootVarRouting</key> <true/> <key>TscSyncTimeout</key> <integer>0</integer> <key>UnblockFsConnect</key> <false/> </dict> <key>ReservedMemory</key> <array/> </dict> </dict> </plist> I marked the section where you can put your PlatformInfos "Generci" once, just look up for "PASTE HERE YOUR PLATFORM INFO!!!" And you should able to got into the installation menu. I use and used OpenCore 0.7.5 and also the mentioned kexts within the config.plist. @ghost82 You are right he need to use the kepler-patcher like I needed But as always try this config.plist also with my mentioned updates to your xml. I hope you'll get to your "Installation Menu". If not I still try to assist you 🙂 Edited October 31, 2021 by RiDDiX Quote Link to comment
ghost82 Posted October 31, 2021 Share Posted October 31, 2021 4 minutes ago, RiDDiX said: You are right he need to use the kepler-patcher like I needed And me too...and that's one of the reasons that make me think about the update. Damn I don't want to pay for a gpu on amazon or ebay that costs 5-6 times more the real price... Quote Link to comment
RiDDiX Posted October 31, 2021 Share Posted October 31, 2021 25 minutes ago, ghost82 said: And me too...and that's one of the reasons that make me think about the update. Damn I don't want to pay for a gpu on amazon or ebay that costs 5-6 times more the real price... Same for me... Eventually I will replace my RX580 from my workstation anytime but atm my GT630 just works fine.. Quote Link to comment
doesntaffect Posted October 31, 2021 Share Posted October 31, 2021 Seems to be impossible for me to get this running. I adjusted the VMs xml and used the config.plist with my kext and my system info. No chance. Maybe I stick with a BigSur Macinabox and try to install that on a NVME and passthrough the GPU. Quote Link to comment
RiDDiX Posted October 31, 2021 Share Posted October 31, 2021 (edited) 59 minutes ago, doesntaffect said: Seems to be impossible for me to get this running. I adjusted the VMs xml and used the config.plist with my kext and my system info. No chance. Maybe I stick with a BigSur Macinabox and try to install that on a NVME and passthrough the GPU. strange.... VM Template: CPU Mode: Host Passthrough Inital Memory: Same as Max Memory Max Memory: XXXXX MB Machine: Q35-6.0 BIOS: OVMF USB Controller: 3.0 (qemu XHCI) Is this like your setup? Edited October 31, 2021 by RiDDiX Quote Link to comment
doesntaffect Posted October 31, 2021 Share Posted October 31, 2021 Well, it could be frustrating However, I'd say this is just a lack of hackintosh knowledge at my end which can be addressed by learning and a more step by step approach. So it seems to be not a technical issue, but just a lack of knowing all the twists and tiny steps in-between the steps. All the guides, howtos in the www can become confusing as they often require background knowledge of how to deal with Apple drivers, kexts, AMLs, EFIs etc. With Windows you just insert a stick or DVD and install straight forward, same with many linux distros. This topic is different, much more difficult and less hardware agnostic. This is no criticism, just a reflection about my zero-progress. So far I read following guides: https://pastebin.com/RtgNHqac https://github.com/Pavo-IM/Hackinabox Both seems to address macOS on Unraid and though the guides are comprehensive, they require additional knowledge at least on my end. ... to be continued Quote Link to comment
ghost82 Posted November 1, 2021 Share Posted November 1, 2021 You understood perfectly. It requires patience, it's not just plug and play..it tooks weeks to me to have a working mac os vm and months to understand how to optimize it and since apple continues to modify things, it's like a neverending history... Quote Link to comment
doesntaffect Posted November 1, 2021 Share Posted November 1, 2021 I made some progress this morning and can get the Monterey installer started and also to recognize a passed through SSD. I used this guide to start over: https://github.com/osx86-ijb/Hackinabox/, however made few adjustments. I am using an image as installer, not a USB stick. I pass through a 512GB M.2 SSD, USB Keyboard and Mouse, and the GT710 GPU The Opencore version is 0.71 as I can see on the boot screen and I am using the EFI folder from that guide on GitHub. Now my issue - The SSD is recognized as external, hence cannot be used to install. I came across this post: https://www.reddit.com/r/hackintosh/comments/f0cc4t/internal_drives_shown_as_external_opencore_amd/ Question: How to I need to adjust OpenCore to recognize the passed through SSD as internal? Do I need the NVMEfix.kext? Quote Link to comment
ghost82 Posted November 1, 2021 Share Posted November 1, 2021 7 minutes ago, doesntaffect said: NVMEfix.kext That kext is used for power management of NVME drives. You can open the config.plist in your efi with a text editor and try to change ExternalDiskIcons from false to true. 9 minutes ago, doesntaffect said: The SSD is recognized as external, hence cannot be used to install That's strange...because mac os doesn't prevent to install it on an external drive. Have a look also at this list: https://github.com/dortania/bugtracker/issues/192 in which there's a list of problematic/non problematic nvme drives for trim. Quote Link to comment
doesntaffect Posted November 1, 2021 Share Posted November 1, 2021 (edited) I will try that. The installer didn’t allow to format the disk with a GUID partition table, hence no way forward. I couldn’t change the filesystem to APFS. Edited November 1, 2021 by doesntaffect Quote Link to comment
doesntaffect Posted November 1, 2021 Share Posted November 1, 2021 (edited) Tried that and didn't really help anything. Reverted changes, deleted image and re-build it from scratch. VM is throwing kernel panics when it boots, before it gets anywhere near to the OS installer. <?xml version='1.0' encoding='UTF-8'?> <domain type='kvm' xmlns:qemu='http://libvirt.org/schemas/domain/qemu/1.0'> <name>OSXVM</name> <uuid>4xxxxxxxxxxxxxxxxxxxxx</uuid> <metadata> <vmtemplate xmlns="unraid" name="FreeBSD" icon="freebsd.png" os="freebsd"/> </metadata> <memory unit='KiB'>8388608</memory> <currentMemory unit='KiB'>8388608</currentMemory> <memoryBacking> <nosharepages/> </memoryBacking> <vcpu placement='static'>8</vcpu> <cputune> <vcpupin vcpu='0' cpuset='3'/> <vcpupin vcpu='1' cpuset='15'/> <vcpupin vcpu='2' cpuset='5'/> <vcpupin vcpu='3' cpuset='17'/> <vcpupin vcpu='4' cpuset='7'/> <vcpupin vcpu='5' cpuset='19'/> <vcpupin vcpu='6' cpuset='9'/> <vcpupin vcpu='7' cpuset='21'/> </cputune> <os> <type arch='x86_64' machine='pc-q35-5.1'>hvm</type> <loader readonly='yes' type='pflash'>/usr/share/qemu/ovmf-x64/OVMF_CODE-pure-efi.fd</loader> <nvram>/etc/libvirt/qemu/nvram/xxxxxxxxxxxxxxxxxxxxxxxx_VARS-pure-efi.fd</nvram> </os> <features> <acpi/> <apic/> </features> <cpu mode='host-passthrough' check='none' migratable='on'> <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/user/isos/osx/monterey-install.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='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='0xb'/> <address type='pci' domain='0x0000' bus='0x00' slot='0x01' function='0x3'/> </controller> <controller type='pci' index='5' model='pcie-root-port'> <model name='pcie-root-port'/> <target chassis='5' port='0xc'/> <address type='pci' domain='0x0000' bus='0x00' slot='0x01' function='0x4'/> </controller> <controller type='pci' index='6' model='pcie-root-port'> <model name='pcie-root-port'/> <target chassis='6' port='0xd'/> <address type='pci' domain='0x0000' bus='0x00' slot='0x01' function='0x5'/> </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:e9:9d:1e'/> <source bridge='br0'/> <model type='virtio-net'/> <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='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='0x25' slot='0x00' function='0x0'/> </source> <rom file='/mnt/user/isos/vbios/gt710.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='0x25' slot='0x00' function='0x1'/> </source> <address type='pci' domain='0x0000' bus='0x03' slot='0x00' function='0x1'/> </hostdev> <hostdev mode='subsystem' type='pci' managed='yes'> <driver name='vfio'/> <source> <address domain='0x0000' bus='0x23' slot='0x00' function='0x0'/> </source> <address type='pci' domain='0x0000' bus='0x04' slot='0x00' function='0x0'/> </hostdev> <hostdev mode='subsystem' type='usb' managed='no'> <source> <vendor id='0x17ef'/> <product id='0x6039'/> </source> <address type='usb' bus='0' port='1'/> </hostdev> <hostdev mode='subsystem' type='usb' managed='no'> <source> <vendor id='0x1a2c'/> <product id='0x0e24'/> </source> <address type='usb' bus='0' port='2'/> </hostdev> <memballoon model='none'/> </devices> <qemu:commandline> <qemu:arg value='-device'/> <qemu:arg value='isa-applesmc,osk=xxxxxxxxxxxxxx(c)xxxxxxxxxxx'/> <qemu:arg value='-smbios'/> <qemu:arg value='type=2'/> <qemu:arg value='-cpu'/> <qemu:arg value='host,vendor=GenuineIntel,+invtsc,kvm=on'/> </qemu:commandline> </domain> EFI: VFIO Log: Loading config from /boot/config/vfio-pci.cfg BIND=0000:23:00.0|126f:2262 --- Processing 0000:23:00.0 126f:2262 Vendor:Device 126f:2262 found at 0000:23:00.0 IOMMU group members (sans bridges): /sys/bus/pci/devices/0000:23:00.0/iommu_group/devices/0000:23:00.0 Binding... Successfully bound the device 126f:2262 at 0000:23:00.0 to vfio-pci --- vfio-pci binding complete Devices listed in /sys/bus/pci/drivers/vfio-pci: lrwxrwxrwx 1 root root 0 Oct 31 21:29 0000:23:00.0 -> ../../../../devices/pci0000:00/0000:00:01.2/0000:20:00.0/0000:21:01.0/0000:23:00.0 I don't get why I could get into the OS installer and 3hrs later I cannot. Edited November 1, 2021 by doesntaffect Quote Link to comment
RiDDiX Posted November 1, 2021 Share Posted November 1, 2021 First of all I would try OpenCore 0.7.4 at least better 0.7.5 (dont forget the BOOT.EFI) Remove AGPMInjector.kext / USB-Map.kext / Logi-*.kext Also all ACPI also <type arch='x86_64' machine='pc-q35-5.1'>hvm</type> to <type arch='x86_64' machine='pc-q35-6.0'>hvm</type> If wanted I can provide you a OpenCore.img (Which should work). But you will need to edit it with the LATEST OpenCoreConfigurator for the config.plist. Quote Link to comment
RiDDiX Posted November 1, 2021 Share Posted November 1, 2021 6 hours ago, ghost82 said: That kext is used for power management of NVME drives. You can open the config.plist in your efi with a text editor and try to change ExternalDiskIcons from false to true. That's strange...because mac os doesn't prevent to install it on an external drive. Have a look also at this list: https://github.com/dortania/bugtracker/issues/192 in which there's a list of problematic/non problematic nvme drives for trim. My nvme isnt in this list But works Quote Link to comment
doesntaffect Posted November 1, 2021 Share Posted November 1, 2021 Well, another evening with this. Created empty 16 GB Image Flashed installer to image via: sudo /Applications/Install\ macOS\ Monterey.app/Contents/Resources/createinstallmedia --volume /Volumes/monterey-new Set up EFI structure with Opencore 0.7.5 files; copied Bootx64, OpenCore.efi, removed all other .kext / .aml files Renamed .dmg to .img, copied to /isos/osx Adapted VM xml <type arch='x86_64' machine='pc-q35-6.0'>hvm</type> and changed path to new image Booted VM, no option to install OSX, only to reset NVRAM. Quote Link to comment
Recommended Posts
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.