Skip to main content

VM / macOSAMD

Description

This VM is for running macOS via dedicated hardware so I have something faster than my laptop.

Configuration

Resources

Hostname CPU Memory
n/aMiMac 812 vCPU 16GB

Storage

Disk Controller Size Purpose
vpool-local-zfs:vm-104-100-disk-01 ide0 1M EFINVRAM
local:iso/clover-r5070-03312020.isolocal-zfs:vm-100-disk-0 ide2virtio n/a200MB EFI boot loader
Eluktronics NVMe SSDlocal-zfs:vm-100-disk-2 passthroughvirtio 1TB boot disk
vpool:104/hackintosh.qcow2virtio1TBold boot disk

The Eluktronics NVMe SSD is using PCI passthrough (hostpci2: in the LXC config) so macOS can run without any IO overhead. Because of a bug in the NVMe controller (Silicon Motion 2262) doesn't play well when it is passed through I added a fix by appending -set device.hostpci2.x-msix-relocation=bar2 to the args: parameter in the LXC config.

PCI Passthrough

Name BDF Settings
Fresco USB 3.0 Controller 0c:00.004:00 n/a
AMD RX 560 GPU 0a:08:00 pcie=1,x-vga=1
EluktronicsIntel NVMe10GbE SSDSFP+ NIC 08:00.006:00 n/a

Networking

Interfaces

ID Name Bridge IP Address
net0 n/a vmbr0 10.0.4.x/2.5/21 (DHCP)static)