**VIDEO GUIDE** How to Install MacOS Mojave or High Sierra as a VM


SpaceInvaderOne

1469 posts in this topic Last Reply

Recommended Posts

  • 5 weeks later...
  • Replies 1.5k
  • Created
  • Last Reply

Top Posters In This Topic

Top Posters In This Topic

Popular Posts

Catalina Mojave and HighSierra - new video 28 october 2019       MOJAVE 10.14 . (Update 24 October 2018)         ______________________

Ok finished the guide. Was a bit rushed so sorry if its a bit lower quality than normal.    

Posted Images

For info this has stopped working today for me.

During the download of the OSX install media it appears the XML no longer contains the correct product ID

2019-12-12 13:21:46,024 Network Request: Fetching https://swscan.apple.com/content/catalogs/others/index-10.15-10.14-10.13-10.12-10.11-10.10-10.9-mountainlion-lion-snowleopard-leopard.merged-1.sucatalog
Product ID 041-83630 could not be found.

I am assuming from looking at the file from that URL that it should contain a string for the product but it is not in there presently.

Had a quick look through the code and I see that it issues the parameter via "fetch.sh" - I see on your github that a new change was committed a couple of hours ago so you probably have it in hand ;)

 

Edit - yep ignore me, the dockerhub was updated with the revised build to contain the new product IDs. Thank you SIO, I did a rebuild today having got some server upgrades to support this so needed to go back through and reinstall.

Edited by Moocow
Link to post

Hey guys I am struggling a bit with my VM .... I finally got a spare gt 710 so I can install Catalina .... Everything went smoothly . Installed splashtop however when I switched to the gpu splashtop doesn't want to connect..... 

 

I then moved to TeamViewer I can connect when I try type in the password it doesn't register anything. I am simply at a lost here . 

 

Anyone has had this issue before ?

 

Link to post
  • 3 weeks later...

Getting visual display bugs connecting over VNC. Used Guacamole VNC as well as native MacOS screen sharing to connect and the bugs persist either way.  

 

I did some searches in the thread but they are generic search terms (display, bug, rendering) and haven't come up with anything. 

 

Attached is an example of what I'm talking about. Happens a LOT. Noticed in browsers (Safari/Chrome) only so far...

 

 

 

vm-displaybug.png

Link to post
1 hour ago, david279 said:

Chrome really needs hardware acceleration to work well. In VNC you get no hardware acceleration because you have no GPU. Because of this chrome will suck. 👍

 

Would this apply to Safari as well? I could have sworn I was having similar issues there, too. 

 

Or is there a way to tell Chrome to not use hardware acceleration? Seems many people would have a use case for this so I'm surprised if there isn't a way around it. 

Link to post
  • 4 weeks later...

I was able to passthrough my RX570 into my MacOS Mojave VM, but I'm getting glitchy graphics. Seems like there's no graphics acceleration(see screenshot). I've tried:

  1. Changing my SMBios to iMacPro1,1(mojave)
  2. Adding DTGP to ACPI in clover
  3. Adding FixDisplay to ACPI in clover
  4. Adding the Black Screen Patch Vega 56/64, RX580 etc. (c)Pike R.  patch
  5. Adding the latest versions of  LILU/WEG to my EFI directory

My RX 570 is in my last slot running in 4X. Not sure if that makes a difference. Anyone able to help me? 

Here's my XML file: 

<?xml version='1.0' encoding='UTF-8'?>
<domain type='kvm' id='13' xmlns:qemu='http://libvirt.org/schemas/domain/qemu/1.0'>
  <name>MacinaboxMojave</name>
  <uuid>d003580f-5276-4be4-becb-072ea783e799</uuid>
  <description>MacOS Mojave</description>
  <metadata>
    <vmtemplate xmlns="unraid" name="Windows 10" icon="mojave.png" os="Mojave"/>
  </metadata>
  <memory unit='KiB'>4194304</memory>
  <currentMemory unit='KiB'>4194304</currentMemory>
  <memoryBacking>
    <nosharepages/>
  </memoryBacking>
  <vcpu placement='static'>16</vcpu>
  <cputune>
    <vcpupin vcpu='0' cpuset='0'/>
    <vcpupin vcpu='1' cpuset='16'/>
    <vcpupin vcpu='2' cpuset='1'/>
    <vcpupin vcpu='3' cpuset='17'/>
    <vcpupin vcpu='4' cpuset='2'/>
    <vcpupin vcpu='5' cpuset='18'/>
    <vcpupin vcpu='6' cpuset='3'/>
    <vcpupin vcpu='7' cpuset='19'/>
    <vcpupin vcpu='8' cpuset='4'/>
    <vcpupin vcpu='9' cpuset='20'/>
    <vcpupin vcpu='10' cpuset='5'/>
    <vcpupin vcpu='11' cpuset='21'/>
    <vcpupin vcpu='12' cpuset='6'/>
    <vcpupin vcpu='13' cpuset='22'/>
    <vcpupin vcpu='14' cpuset='7'/>
    <vcpupin vcpu='15' cpuset='23'/>
  </cputune>
  <resource>
    <partition>/machine</partition>
  </resource>
  <os>
    <type arch='x86_64' machine='pc-q35-3.1'>hvm</type>
    <loader readonly='yes' type='pflash'>/mnt/user/domains/MacinaboxMojave/ovmf/OVMF_CODE.fd</loader>
    <nvram>/mnt/user/domains/MacinaboxMojave/ovmf/OVMF_VARS.fd</nvram>
  </os>
  <features>
    <acpi/>
    <apic/>
  </features>
  <cpu mode='host-passthrough' check='none'/>
  <clock offset='utc'>
    <timer name='rtc' tickpolicy='catchup'/>
    <timer name='pit' tickpolicy='delay'/>
    <timer name='hpet' present='no'/>
  </clock>
  <on_poweroff>destroy</on_poweroff>
  <on_reboot>restart</on_reboot>
  <on_crash>restart</on_crash>
  <devices>
    <emulator>/usr/local/sbin/qemu</emulator>
    <disk type='file' device='disk'>
      <driver name='qemu' type='qcow2' cache='writeback'/>
      <source file='/mnt/user/domains/MacinaboxMojave/Clover.qcow2'/>
      <backingStore/>
      <target dev='hdc' bus='sata'/>
      <boot order='1'/>
      <alias name='sata0-0-2'/>
      <address type='drive' controller='0' bus='0' target='0' unit='2'/>
    </disk>
    <disk type='file' device='disk'>
      <driver name='qemu' type='raw' cache='writeback'/>
      <source file='/mnt/user/domains/MacinaboxMojave/Mojave-install.img'/>
      <backingStore/>
      <target dev='hdd' bus='sata'/>
      <alias name='sata0-0-3'/>
      <address type='drive' controller='0' bus='0' target='0' unit='3'/>
    </disk>
    <disk type='file' device='disk'>
      <driver name='qemu' type='raw' cache='writeback'/>
      <source file='/mnt/user/domains/MacinaboxMojave/macos_disk.img'/>
      <backingStore/>
      <target dev='hde' bus='sata'/>
      <alias name='sata0-0-4'/>
      <address type='drive' controller='0' bus='0' target='0' unit='4'/>
    </disk>
    <controller type='sata' index='0'>
      <alias name='ide'/>
      <address type='pci' domain='0x0000' bus='0x00' slot='0x1f' function='0x2'/>
    </controller>
    <controller type='pci' index='0' model='pcie-root'>
      <alias name='pcie.0'/>
    </controller>
    <controller type='pci' index='1' model='pcie-root-port'>
      <model name='pcie-root-port'/>
      <target chassis='1' port='0x10'/>
      <alias name='pci.1'/>
      <address type='pci' domain='0x0000' bus='0x00' slot='0x02' function='0x0' multifunction='on'/>
    </controller>
    <controller type='pci' index='2' model='pcie-root-port'>
      <model name='pcie-root-port'/>
      <target chassis='2' port='0x11'/>
      <alias name='pci.2'/>
      <address type='pci' domain='0x0000' bus='0x00' slot='0x02' function='0x1'/>
    </controller>
    <controller type='pci' index='3' model='pcie-root-port'>
      <model name='pcie-root-port'/>
      <target chassis='3' port='0x12'/>
      <alias name='pci.3'/>
      <address type='pci' domain='0x0000' bus='0x00' slot='0x02' function='0x2'/>
    </controller>
    <controller type='pci' index='4' model='pcie-root-port'>
      <model name='pcie-root-port'/>
      <target chassis='4' port='0x13'/>
      <alias name='pci.4'/>
      <address type='pci' domain='0x0000' bus='0x00' slot='0x02' function='0x3'/>
    </controller>
    <controller type='virtio-serial' index='0'>
      <alias name='virtio-serial0'/>
      <address type='pci' domain='0x0000' bus='0x02' slot='0x00' function='0x0'/>
    </controller>
    <controller type='usb' index='0' model='ich9-ehci1'>
      <alias name='usb'/>
      <address type='pci' domain='0x0000' bus='0x00' slot='0x07' function='0x7'/>
    </controller>
    <controller type='usb' index='0' model='ich9-uhci1'>
      <alias name='usb'/>
      <master startport='0'/>
      <address type='pci' domain='0x0000' bus='0x00' slot='0x07' function='0x0' multifunction='on'/>
    </controller>
    <controller type='usb' index='0' model='ich9-uhci2'>
      <alias name='usb'/>
      <master startport='2'/>
      <address type='pci' domain='0x0000' bus='0x00' slot='0x07' function='0x1'/>
    </controller>
    <controller type='usb' index='0' model='ich9-uhci3'>
      <alias name='usb'/>
      <master startport='4'/>
      <address type='pci' domain='0x0000' bus='0x00' slot='0x07' function='0x2'/>
    </controller>
    <interface type='bridge'>
      <mac address='52:54:00:7d:86:1e'/>
      <source bridge='br2'/>
      <target dev='vnet0'/>
      <model type='e1000-82545em'/>
      <alias name='net0'/>
      <address type='pci' domain='0x0000' bus='0x01' slot='0x00' function='0x0'/>
    </interface>
    <serial type='pty'>
      <source path='/dev/pts/0'/>
      <target type='isa-serial' port='0'>
        <model name='isa-serial'/>
      </target>
      <alias name='serial0'/>
    </serial>
    <console type='pty' tty='/dev/pts/0'>
      <source path='/dev/pts/0'/>
      <target type='serial' port='0'/>
      <alias name='serial0'/>
    </console>
    <channel type='unix'>
      <source mode='bind' path='/var/lib/libvirt/qemu/channel/target/domain-13-MacinaboxMojave/org.qemu.guest_agent.0'/>
      <target type='virtio' name='org.qemu.guest_agent.0' state='disconnected'/>
      <alias name='channel0'/>
      <address type='virtio-serial' controller='0' bus='0' port='1'/>
    </channel>
    <input type='tablet' bus='usb'>
      <alias name='input0'/>
      <address type='usb' bus='0' port='1'/>
    </input>
    <input type='mouse' bus='ps2'>
      <alias name='input1'/>
    </input>
    <input type='keyboard' bus='ps2'>
      <alias name='input2'/>
    </input>
    <hostdev mode='subsystem' type='pci' managed='yes'>
      <driver name='vfio'/>
      <source>
        <address domain='0x0000' bus='0x05' slot='0x00' function='0x0'/>
      </source>
      <alias name='hostdev0'/>
      <rom file='/mnt/cache/domains/Ellesmere.rom'/>
      <address type='pci' domain='0x0000' bus='0x03' slot='0x00' function='0x0' multifunction='on'/>
    </hostdev>
    <hostdev mode='subsystem' type='pci' managed='yes'>
      <driver name='vfio'/>
      <source>
        <address domain='0x0000' bus='0x05' slot='0x00' function='0x1'/>
      </source>
      <alias name='hostdev1'/>
      <address type='pci' domain='0x0000' bus='0x03' slot='0x00' function='0x1'/>
    </hostdev>
    <hostdev mode='subsystem' type='pci' managed='yes'>
      <driver name='vfio'/>
      <source>
        <address domain='0x0000' bus='0x08' slot='0x00' function='0x0'/>
      </source>
      <alias name='hostdev2'/>
      <address type='pci' domain='0x0000' bus='0x04' slot='0x00' function='0x0'/>
    </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'/>
    <qemu:arg value='************************'/>
    <qemu:arg value='-smbios'/>
    <qemu:arg value='type=2'/>
    <qemu:arg value='-cpu'/>
    <qemu:arg value='Penryn,kvm=on,vendor=GenuineIntel,+invtsc,vmware-cpuid-freq=on,+pcid,+ssse3,+sse4.2,+popcnt,+avx,+aes,+xsave,+xsaveopt,check'/>
  </qemu:commandline>
</domain>

 

Screen Shot 2020-01-26 at 8.18.47 PM.png

config.plist

Link to post
  • 3 months later...
On 9/17/2016 at 2:15 AM, SpaceInvaderOne said:

Catalina Mojave and HighSierra - new video 28 october 2019

 

 

 

MOJAVE 10.14 . (Update 24 October 2018)

 

 

 

 

_______________________________________________________________________________________

 

OLDER VIDEOS ABOUT MacOS VMs

_______________________________________________________________________________________

 

High Sierra   10.13     (Update 24 September 2017)
So now High Sierra is here its time for a new video. Things are a lot better for OSX VMs now. Since qemu 2.9 we don't need to use a patched clover.
We can pass through the CPU frequency to the guest from the XML.


This video although for High Sierra will also work for Sierra

 

HOW TO INSTALL HIGH SIERRA OR SIERRA ON UNRAID

 

CREATING INSTALL MEDIA   (Update 24 September 2017)
 

Video guide here >>>>>  https://www.youtube.com/watch?v=BFPiK1Ggbks

INCREASING PERFORMANCE IN AN OSX VM . (march 2018)

 

 

 

 

 

 

Advanced techniques for hardware passthrough etc.     (Update March  2017)

This video is about advanced OSX VM techniques in KVM with unRAID. You will see how to pass through physical devices to a KVM osx sierra VM such as GPU, sound and USB.
You will learn to what hardware that you can use and how to edit the XML template to add the hardware. You will learn how to use a Nvidia GPU in Sierra by installing the Nvidia web drivers. You will see how to get your HDMI sound working using an HDMI audio kext. I will quickly run through using virt-manager to avoid manual edits then discuss common osx VM problems.

 

Note if using High Sierra as of 24 September 2017 Nvidia have not released web drivers for this OS so we cant have them working in 10.13 (but soon we should)

 

 

 

Advanced OSX VM techniques in unRAID. Get everything working!

 

 

 

I'm having a few issues with getting this setup. Each time i run the VM and try to install, i get the error message "Unable to contact recovery server" and then it closes back to the Disk Utility. I've tried updating the interface model in the XML file to no avail. 

 

What else can I try?

Link to post
  • 4 weeks later...
1 hour ago, xxbigfootxx said:

Been a month, is anyone able to help??

Ensure that the host (Unraid) is setup properly for network connectivity (test: ping from unraid).

Ensure you created a bridge in unraid and ensure that the vm is using the bridge (test: ping from the vm, you have the terminal available during installation).

Ensure you are using type vmxnet3 or try e1000-82545em for network connectivity.

Link to post

Is there a one single location or single guide that walks through how to get GPU (Nvidia) passthrough working on Catalina? I'm referring to all the little tiny things from start to finish you have to do or might have to check on, such as tiny xml edits and adjustments, weird tweaks, etc.

 

I've had no issues getting linux and win10 going with passthrough, including USB controllers, but even hours and hours of fiddling has gotten me nowhere with GPU passthrough and Catalina. And I know there are little bits and pieces of useful information in multiples places and threads but it's a big challenge trying to wrangle them all together. Stuff like "Oh try this..." or "Change this line in your xml". 

 

 

Link to post
2 hours ago, ghost82 said:

Ensure that the host (Unraid) is setup properly for network connectivity (test: ping from unraid).

Ensure you created a bridge in unraid and ensure that the vm is using the bridge (test: ping from the vm, you have the terminal available during installation).

Ensure you are using type vmxnet3 or try e1000-82545em for network connectivity.

I've attached some screenshots below. I definitely have internet access from Unraid and have been using it without fail for a few months now. 

 

I'm pretty sure the VM has internet becuase its not showing the 'network connection required' error but rather that it can't connect to recovery server specifically. I can't ping my modem, but i can ping google IP, 8.8.8.8, DNS seems to be an issue as i can't ping google.com. 

 

Not sure why mine is failing but everyone else seems to run so smoothly. I am running an Ryzen CPU if that makes any difference?image.png.033de6fd65752d8c4e80e9993968ee12.png

image.png

image.png

image.png

Link to post
1 hour ago, Chad Kunsman said:

Is there a one single location or single guide that walks through how to get GPU (Nvidia) passthrough working on Catalina? I'm referring to all the little tiny things from start to finish you have to do or might have to check on, such as tiny xml edits and adjustments, weird tweaks, etc.

 

I've had no issues getting linux and win10 going with passthrough, including USB controllers, but even hours and hours of fiddling has gotten me nowhere with GPU passthrough and Catalina. And I know there are little bits and pieces of useful information in multiples places and threads but it's a big challenge trying to wrangle them all together. Stuff like "Oh try this..." or "Change this line in your xml". 

 

 

Have a look at this: 

 

Link to post
1 hour ago, xxbigfootxx said:

DNS seems to be an issue as i can't ping google.com.

This is probably the issue preventing you to download from the recovery server.

 

Can you issue the following command from the vm:
networksetup -getdnsservers ethernet

 

Post also a screenshot of the network configuration for the device you are bridging from unraid.

 

Do you have any firewall in your network?Hardware/Software

The issue seems to be related to a firewall (maybe your router?)

If you have a firewall in your router disable it to track down the issue.

Edited by ghost82
Link to post
15 hours ago, ghost82 said:

Can you issue the following command from the vm:
networksetup -getdnsservers ethernet

image.png.d086d7aa1eade43d4e1546734aee65ec.png

I get this error when trying to run networksetup

 

When you say the network config for the device, do you mean the VM Manager settings? I'm bridging my default ethernet adapater as i only have the one network port on my mobo. 

 

No firewall set in my modem, its a Netgear D7000v2. Are there specific ports i need to open or anything?

Link to post
6 hours ago, xxbigfootxx said:

I get this error when trying to run networksetup

Sorry, I didn't remember that command line in recovery has limits.

 

Yes, I mean the vm manager settings, I asked for a screenshot to look at settings, especially dns.

You can manually set google dns in settings.

 

However, this sounds like an issue with your main router, not allowing dns requests from your bridged network, unfortunately I cannot be of any help here, I don't know how that router works.

Could you temporary try another router (if you have one)?

You could try to force google dns also in the router, but I'm not so confident it will make any difference..

Link to post
  • 5 weeks later...
On 9/30/2019 at 5:15 AM, Leoyzen said:

When the unraid first booted, put the machine into s3 sleep(the sleep button in the action page), wakeup, start hackintosh vm later, that's what I do to avoid the reset bug.

One question, I have my macOS 10.15.5 now running with USB and GPU passthrough. All stable and reliable, I worked a couple of days now with the system. Also benchmarks of CPU and GPU are fast. Seems like Gigabyte Z570 Aeros Pro and its IMMOU Grouping makes passthrough very easy. My GPU is a RX 5700 XT and I do have the AMD reset bug. Using the script from SpaceinvaderOne makes it poccibel to restart macOS VM without rebooting UNRAID server:
 

Quote

#!/bin/bash
echo "disconnecting amd graphics"
echo "1" | tee -a /sys/bus/pci/devices/0000\:0a\:00.0/remove
echo "disconnecting amd sound counterpart"
echo "1" | tee -a /sys/bus/pci/devices/0000\:0a\:00.1/remove
echo "entered suspended state press power button to continue"
echo -n mem > /sys/power/state
echo "reconnecting amd gpu and sound counterpart"
echo "1" | tee -a /sys/bus/pci/rescan
echo "AMD graphics card sucessfully reset"


My question regarding to your quote (sorry I am relativly new into Virtualisation):

I am still on Clover.qcow2 with an individually updated EFI Folder on my macOS VDISK. (newes Whatever... Lilu... etc. kexts)...

Can you explain what you mean with "put the machine into s3 sleep (the sleep button in the action page)".
I don't get exactly what you mean! Is those only opencore related or do you mean I have to send UNRAID Server into S3 with a another script, similar to the script I already use (or is it exactly the same script)...

Sorry for my confusion.

And I do have two other questions:
What are the option to resize an APFS partition of an already installed macOS? I failed using Disk Utility and diskutil via terminal using:  diskutil apfs resizeContainer /dev/disk2S 0

And is it possible to boot from SSD with EFI Folder on it and a preinstalled Hackintosh Installation from an older system?
I guess I have to update the Clover or Opencore QCOW2 image somehow and made changes there to fit the needs of the system from SSD?
What would be the best procedure to get this external system booted?

 

thx in advance!

Link to post
54 minutes ago, derpuma said:

I don't get exactly what you mean!

There's a plugin for s3 sleep, you could try it:

 

Maybe there's a button to manually put the server into s3 sleep mode, sorry I cannot test it.

From what I can read around it should have a dedicated button to manually put the server in sleep mode.

 

54 minutes ago, derpuma said:

What are the option to resize an APFS partition of an already installed macOS?

I never tried but some other users on this forum had issues with that commands, alternative could be backup the whole system with superduper or carbon copy cloner, create a new vdisk of the size you want and restore the image on this (make a backup of the actual vdisk before deleting it).

 

54 minutes ago, derpuma said:

And is it possible to boot from SSD with EFI Folder on it and a preinstalled Hackintosh Installation from an older system?

With opencore you could adjust the value of the ScanPolicy parameter in the config.plist so that the bootloader is able to see the disk, you can check Configuration doc provided with opencore.

It's not clear from what I'm reading if the ssd comes from an hackintosh or it's a vm; anyway you need to eventually change settings to the config plist to make it work on the vm, so you should mount the image in unraid and apply your edits (there's a post in the hackintosh tips that explains how to mount a qcow2 image in unraid and apply modifications) :

The post refers about creating a new qcow2 efi folder, but you can skip steps and consider only that for mounting the image.

Edited by ghost82
Link to post

@ghost82 Thx for your reply! Appreciate it...
I will try the S3 plugin. This would be a better solution then the script with it's power off/on.

 

1) Resizing: I tried that wit Carbon Copy Cloner. Made a complete backup of my initial 64G VDisk Catalina installation. Created a new 500G VDisk from scratch with Macinabox without installing anything on it. Next I copied Clover.qcow2 and the other files from my 64G installation next to the new VDisk. Then I mounted the VDisk and cloned the 64G Image back to the 500G Partition. After Cloning if mounted the EFI partition of the new 500G Vdisk and copied the 64G EFI over to the new installation. Unfortunately this did not work and I did not see the Vdisk in clover while booting the new VM. 

2) I would like to boot from my older hackintosh OS X, macOS Systems which are all on SSDs. Reason: I have an older Silicon Image e-SATA controller which is not supported anymore (since Mojave). Mojave and Catalina are not able to boot up, if the controller card is on board (kernel panic). With Unraid, booting up virtually this is no problem, and it would be great to boot in an older system, to get support of this card and have access to a buch of HDD Housings, connected to that card. I am completly new into Opencore, but I will def. give it a try.

So far I am pretty impressed that everything out of the Macinabox installation (plus replacing some kexts and small config.list changes and passthrough GPU and USB) gives me such a stable and fast running system...

Link to post
1 hour ago, derpuma said:

I will try the S3 plugin. This would be a better solution then the script with it's power off/on.

You need to check also how to wake up from s3 sleep; most of users use wake on lan.

Maybe you can use also mechanical buttons on your case if your bios supports it.

1 hour ago, derpuma said:

Unfortunately this did not work and I did not see the Vdisk in clover while booting the new VM.

From the description it seems you did it right, does the xml of the vm points to the correct vdisks?

1 hour ago, derpuma said:

I would like to boot from my older hackintosh OS X, macOS Systems which are all on SSDs

I never tried, so these are only considerations that might not work..but this should not be a problem if you pass the correct path of the ssd in the xml of the vm + changes in the config.plist. 

Link to post
1 hour ago, derpuma said:

and copied the 64G EFI over to the new installation

You can also keep the 2 images separated: I mean having the clover.qcow2 image and the original vdisk with apple os: no need to copy files from efi to efi on the mac os partition; just set your xml to boot from clover.qcow2 image first.

Edited by ghost82
Link to post
23 hours ago, ghost82 said:

You can also keep the 2 images separated: I mean having the clover.qcow2 image and the original vdisk with apple os: no need to copy files from efi to efi on the mac os partition; just set your xml to boot from clover.qcow2 image first.

I guess I messed up at this part, thinking I have to put a new EFI on the VDISK EFI Partition. I simply did not copy the EFI Folder from the SSD to clover.qcow2 EFI Folder and this is why Clover was empty trying to find the SSD. I will do that again and see if I get it there right now.

Thx a lot!


Also I am still on USB2 setting in my XML. That USB3 is prefered? quemu or nec?

Edited by derpuma
Link to post
1 hour ago, derpuma said:

I guess I messed up at this part, thinking I have to put a new EFI on the VDISK EFI Partition

That was what I did during my first vm setup and noticed it can have issues after updates, so I kept them separated!

Just boot from the clover/opencore image first (boot order 1), than the bootloader will find the second disk.

    <disk type='file' device='disk'>
      <driver name='qemu' type='raw' cache='none' io='native' discard='unmap'/>
      <source file='/mnt/user/domains/Catalina/opencore.qcow2'/>
      <backingStore/>
      <target dev='hdc' bus='sata'/>
      <boot order='1'/>
      <alias name='sata0-0-2'/>
      <address type='drive' controller='0' bus='0' target='0' unit='2'/>
    </disk>
    <disk type='file' device='disk'>
      <driver name='qemu' type='raw' cache='none' io='native' discard='unmap'/>
      <source file='/mnt/user/domains/Catalina/vdisk3.img'/>
      <backingStore/>
      <target dev='hdd' bus='sata'/>
      <alias name='sata0-0-3'/>
      <address type='drive' controller='0' bus='0' target='0' unit='3'/>
    </disk>
1 hour ago, derpuma said:

Also I am still on USB2 setting in my XML. That USB3 is prefered? quemu or nec?

usb can be a nightmare to configure, with apple it works or it doesn't; I don't think emulated usb3 will work: I tried to passthrough the integrated usb3 controller with little success and with a lot of issues. Finally I ended up to buy a 4 ports inateck kt4006 usb3 pci-e card with a fresco logic chipset for 20 euros and it just works without any additional kext.

Edited by ghost82
Link to post
7 minutes ago, derpuma said:

Think I am going for an USB3 card too.

I found only 2-port Cards from Inatek with KT4006.

But Inateck PCIe USB 3.0 Karte 4 Ports KTU3FR-4P with eSata Power hast Fresco chipset too, so might work also without tweaking.

KT4006 has four ports, not 2: 2 on the back of the case you can see them clearly, and a 20 pin connector I use to connect to the 2 front ports on my case.

KTU3FR-4P is near the same, but with 4 ports on the back of the case.

Choose one accordingly to your needs.

I would avoid the 7 ports cards, since they have 2 chipsets and I'm not sure they will work.

Link to post

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.