***GUIDE*** Mac OS X 10.11 El Capitan – VM on unRAID


Recommended Posts

So thunderbolt was created by Intel and initially only available on Mac's its sort of the next step beyond USB. The initial thunderbolt release was capable of 10GB/s of transfer and it can support monitors as well, you can daisy chain peripherals although only storage devices, not storage devices with monitors. Since its initial release there has been a second one, thunderbolt 2 if you will, which has essentially doubled the transfer speed to 20GB/s. It is no longer exclusive to Macs and is available as an add on card for some motherboards and some come with it built in. I believe its supported by Windows 10 but not 100% sure.

Link to comment

I'm also getting stuck at [iOBluetoothFamily][start] -- completed

 

I tried stuff like:  -x dart=0 nv_disable=1 but nothing seems to work

I also can't delete the graphic kexts from the iso (it keeps saying no space when trying from single mode)

 

I also tried pc-q35-2.2, that didn't work either.

 

Also I can't figure out how to extract the OSK key so I used one from the internet but I think it would be better if I got it from my macbook instead (mid 2012, will that work?) or I can use the iMac from work. Also am I supposed to get the osk1 or osk0 key?

 

2s1orgz.png

 

I did manage to dual boot this pc with windows and mac os yosemite a few months ago and I got everything to work so it should work in a vm aswell right?

Link to comment

Big thanks to archedraft for the guide, I was able to get el capitan running with gpu 1 but I am running into problems trying to get it to start with gpu2

 

if anyone can give me so insight, it would be greatly appreciated

 

Eventually I'd like to have both windows VM and this running at the same time, but I notice the group the second gpu is in (group8) has a few other essential devices, is this going to be a problem? 

 

some info:

i7 4770

MSI z97 pc mate

r9 280x

ati hd5670 (not certain if this works in OSX, but the vm itself won't start)

 

This is the error I'm getting:

internal error: process exited while connecting to monitor: 2016-01-14T19:11:50.964206Z qemu-system-x86_64: -device vfio-pci,host=02:00.0,bus=root.1,addr=00.0,multifunction=on,x-vga=on: vfio: error, group 8 is not viable, please ensure all devices within the iommu_group are bound to their vfio bus driver.

 

This is what I'm using and works with the 280x, the second gpu is at 02:00.0, so I 'm replacing 01:00.0 with 02:00.0 etc

<qemu:arg value='vfio-pci,host=01:00.0,bus=root.1,addr=00.0,multifunction=on,x-vga=on'/>

<qemu:arg value='-device'/>

<qemu:arg value='vfio-pci,host=01:00.1,bus=root.1,addr=00.2'/>

 

This is a list of my devices:

00:00.0 Host bridge: Intel Corporation 4th Gen Core Processor DRAM Controller (rev 06)

00:01.0 PCI bridge: Intel Corporation Xeon E3-1200 v3/4th Gen Core Processor PCI Express x16 Controller (rev 06)

00:02.0 VGA compatible controller: Intel Corporation Xeon E3-1200 v3/4th Gen Core Processor Integrated Graphics Controller (rev 06)

00:03.0 Audio device: Intel Corporation Xeon E3-1200 v3/4th Gen Core Processor HD Audio Controller (rev 06)

00:14.0 USB controller: Intel Corporation 9 Series Chipset Family USB xHCI Controller

00:16.0 Communication controller: Intel Corporation 9 Series Chipset Family ME Interface #1

00:1a.0 USB controller: Intel Corporation 9 Series Chipset Family USB EHCI Controller #2

00:1b.0 Audio device: Intel Corporation 9 Series Chipset Family HD Audio Controller

00:1c.0 PCI bridge: Intel Corporation 9 Series Chipset Family PCI Express Root Port 1 (rev d0)

00:1c.5 PCI bridge: Intel Corporation 9 Series Chipset Family PCI Express Root Port 6 (rev d0)

00:1c.6 PCI bridge: Intel Corporation 82801 PCI Bridge (rev d0)

00:1c.7 PCI bridge: Intel Corporation 9 Series Chipset Family PCI Express Root Port 8 (rev d0)

00:1d.0 USB controller: Intel Corporation 9 Series Chipset Family USB EHCI Controller #1

00:1f.0 ISA bridge: Intel Corporation 9 Series Chipset Family Z97 LPC Controller

00:1f.2 SATA controller: Intel Corporation 9 Series Chipset Family SATA Controller [AHCI Mode]

00:1f.3 SMBus: Intel Corporation 9 Series Chipset Family SMBus Controller

01:00.0 VGA compatible controller: Advanced Micro Devices, Inc. [AMD/ATI] Tahiti XT [Radeon HD 7970/8970 OEM / R9 280X]

01:00.1 Audio device: Advanced Micro Devices, Inc. [AMD/ATI] Tahiti XT HDMI Audio [Radeon HD 7970 Series]

02:00.0 VGA compatible controller: Advanced Micro Devices, Inc. [AMD/ATI] Juniper PRO [Radeon HD 5750]

02:00.1 Audio device: Advanced Micro Devices, Inc. [AMD/ATI] Juniper HDMI Audio [Radeon HD 5700 Series]

03:00.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL8111/8168/8411 PCI Express Gigabit Ethernet Controller (rev 0c)

04:00.0 PCI bridge: ASMedia Technology Inc. ASM1083/1085 PCIe to PCI Bridge (rev 03)

06:00.0 USB controller: VIA Technologies, Inc. VL80x xHCI USB 3.0 Controller (rev 02)

 

/sys/kernel/iommu_groups/0/devices/0000:00:00.0

/sys/kernel/iommu_groups/1/devices/0000:00:01.0

/sys/kernel/iommu_groups/1/devices/0000:01:00.0

/sys/kernel/iommu_groups/1/devices/0000:01:00.1

/sys/kernel/iommu_groups/2/devices/0000:00:02.0

/sys/kernel/iommu_groups/3/devices/0000:00:03.0

/sys/kernel/iommu_groups/4/devices/0000:00:14.0

/sys/kernel/iommu_groups/5/devices/0000:00:16.0

/sys/kernel/iommu_groups/6/devices/0000:00:1a.0

/sys/kernel/iommu_groups/7/devices/0000:00:1b.0

/sys/kernel/iommu_groups/8/devices/0000:00:1c.0

/sys/kernel/iommu_groups/8/devices/0000:00:1c.5

/sys/kernel/iommu_groups/8/devices/0000:00:1c.6

/sys/kernel/iommu_groups/8/devices/0000:00:1c.7

/sys/kernel/iommu_groups/8/devices/0000:02:00.0

/sys/kernel/iommu_groups/8/devices/0000:02:00.1

/sys/kernel/iommu_groups/8/devices/0000:03:00.0

/sys/kernel/iommu_groups/8/devices/0000:04:00.0

/sys/kernel/iommu_groups/8/devices/0000:06:00.0

/sys/kernel/iommu_groups/9/devices/0000:00:1d.0

/sys/kernel/iommu_groups/10/devices/0000:00:1f.0

/sys/kernel/iommu_groups/10/devices/0000:00:1f.2

/sys/kernel/iommu_groups/10/devices/0000:00:1f.3

 

Link to comment

I'm also getting stuck at [iOBluetoothFamily][start] -- completed

 

I tried stuff like:  -x dart=0 nv_disable=1 but nothing seems to work

I also can't delete the graphic kexts from the iso (it keeps saying no space when trying from single mode)

 

I also tried pc-q35-2.2, that didn't work either.

 

Also I can't figure out how to extract the OSK key so I used one from the internet but I think it would be better if I got it from my macbook instead (mid 2012, will that work?) or I can use the iMac from work. Also am I supposed to get the osk1 or osk0 key?

 

2s1orgz.png

 

I did manage to dual boot this pc with windows and mac os yosemite a few months ago and I got everything to work so it should work in a vm aswell right?

 

Same for me.  No idea at this point on what to do.

Link to comment

I am on step 20 of Archedraft's guide and I am getting the following error when I try to start the VM after editing the XML.

 

 

Here is the XML for my OSX VM.

<domain type='kvm' xmlns:qemu='http://libvirt.org/schemas/domain/qemu/1.0'>

  <name>OSX-El-Capitan-10.11-VNC</name>

  <uuid>0ba39646-7ba1-4d41-9602-e2968b2fe36d</uuid>

  <metadata>

    <type>None</type>

  </metadata>

  <memory unit='KiB'>4194304</memory>

  <currentMemory unit='KiB'>4194304</currentMemory>

  <vcpu placement='static'>2</vcpu>

  <cputune>

    <vcpupin vcpu='0' cpuset='1'/>

    <vcpupin vcpu='1' cpuset='2'/>

  </cputune>

  <resource>

    <partition>/machine</partition>

  </resource>

  <os>

    <type arch='x86_64' machine='pc-q35-2.3'>hvm</type>

    <kernel>/mnt/virtualization/enoch_rev2795_boot</kernel>

    <boot dev='hd'/>

    <bootmenu enable='yes'/>

  </os>

  <features>

    <acpi/>

  </features>

  <cpu mode='custom' match='exact'>

    <model fallback='allow'>core2duo</model>

  </cpu>

  <clock offset='utc'/>

  <on_poweroff>destroy</on_poweroff>

  <on_reboot>restart</on_reboot>

  <on_crash>destroy</on_crash>

  <devices>

    <emulator>/usr/bin/qemu-system-x86_64</emulator>

    <disk type='file' device='disk'>

      <driver name='qemu' type='raw'/>

      <source file='/mnt/virtualization/ElCapitan.img'/>

      <target dev='hda' bus='sata'/>

      <address type='drive' controller='0' bus='0' target='0' unit='0'/>

    </disk>

    <controller type='usb' index='0'>

      <address type='pci' domain='0x0000' bus='0x02' slot='0x01' function='0x0'/>

    </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='dmi-to-pci-bridge'>

      <address type='pci' domain='0x0000' bus='0x00' slot='0x1e' function='0x0'/>

    </controller>

    <controller type='pci' index='2' model='pci-bridge'>

      <address type='pci' domain='0x0000' bus='0x01' slot='0x01' function='0x0'/>

    </controller>

    <interface type='bridge'>

      <mac address='52:54:00:00:20:30'/>

      <source bridge='br0'/>

      <model type='e1000-82545em'/>

      <address type='pci' domain='0x0000' bus='0x02' slot='0x03' function='0x0'/>

    </interface>

    <input type='mouse' bus='ps2'/>

    <input type='keyboard' bus='ps2'/>

    <graphics type='vnc' port='-1' autoport='yes' websocket='-1' listen='0.0.0.0' keymap='en-us'>

      <listen type='address' address='0.0.0.0'/>

    </graphics>

    <video>

      <model type='vmvga' vram='16384' heads='1'/>

      <address type='pci' domain='0x0000' bus='0x00' slot='0x01' function='0x0'/>

    </video>

    <memballoon model='none'/>

  </devices>

  <seclabel type='none' model='none'/>

  <qemu:commandline>

    <qemu:arg value='-device'/>

    <qemu:arg value='usb-kbd'/>

    <qemu:arg value='-device'/>

    <qemu:arg value='usb-mouse'/>

    <qemu:arg value='-device'/>

    <qemu:arg value='isa-applesmc,osk=xxxxxxxxxxxxxxxxxxxx'/>

    <qemu:arg value='-smbios'/>

    <qemu:arg value='type=2'/>

    <qemu:arg value='-device'/>

  </qemu:commandline>

</domain>

OSX_VM_start_error.jpg.0d340a760dc39665484298f35983a355.jpg

Link to comment

Just thought I would chime in and say that I haven't had any time to mess with El Capitan recently. Honestly I am still running a Yoesmite VM so I am not sure if the 10.11.2 update broke anything or not. I do plan on revisiting this once unRAID 6.2 is released. I want to try my luck with OS X and OVMF. In summary, until 6.2 comes out and I have time to revisit this I can't really say if this guide is working anymore.

Link to comment

Just thought I would chime in and say that I haven't had any time to mess with El Capitan recently. Honestly I am still running a Yoesmite VM so I am not sure if the 10.11.2 update broke anything or not. I do plan on revisiting this once unRAID 6.2 is released. I want to try my luck with OS X and OVMF. In summary, until 6.2 comes out and I have time to revisit this I can't really say if this guide is working anymore.

 

It's working, I borked my machine the other day and started from scratch....  ;D

Link to comment

Ash, you're missing these bits at the end...

 

<qemu:arg value='-smbios'/>
<qemu:arg value='type=2'/>
<qemu:arg value='-device'/>
<qemu:arg value='ide-drive,bus=ide.1,drive=MacDVD'/>
<qemu:arg value='-drive'/>
<qemu:arg value='id=MacDVD,if=none,snapshot=on,file=/mnt/cache/vm_images/Install_OS_X_10.11_El_Capitan.iso'/>
</qemu:commandline>
</domain>

 

Now no more help until you learn how to wrap the code on the forum....  ;D

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.