PVE Guest MacOS 13 Venture Setup: Difference between revisions

From WikiMLT
Line 7: Line 7:
* Guide: [https://i12bretro.github.io/tutorials/0628.html '''Running a MacOS Monterey VM in ProxMox VE'''] ([[:File:Running a MacOS Monterey VM in ProxMox VE.pdf|local copy of the guide]])
* Guide: [https://i12bretro.github.io/tutorials/0628.html '''Running a MacOS Monterey VM in ProxMox VE'''] ([[:File:Running a MacOS Monterey VM in ProxMox VE.pdf|local copy of the guide]])


In addition to the manual above: Currently I'm using Spice/QXL for display driver, and because there are not guest tools for MacOS, I'm attaching an USB Bluetooth via the Linux's Spice client that is attached to the MacOS guest, hen I'm using this Bluetooth to attach audio device, thus I'm having audio via SPICE. I'm needing it, because otherwise the videos in the Safari browser are not playable, but I'm actually need that for browser compatibility tests of a web page.
Below is shown my final configuration file.<syntaxhighlight lang="shell" line="1">
 
Below is shown my final configuration file.
<syntaxhighlight lang="shell" line="1">
cat /etc/pve/qemu-server/207.conf
cat /etc/pve/qemu-server/207.conf
</syntaxhighlight>
</syntaxhighlight>
Line 40: Line 37:
virtio0: local-lvm:vm-207-disk-0,discard=on,size=80G
virtio0: local-lvm:vm-207-disk-0,discard=on,size=80G


</syntaxhighlight>Another useful guide provided by Austin's Nerdy Things:
</syntaxhighlight>Currently I'm using Spice/QXL for display driver. Note there is not MacOS guest tool available and this is the reason we can't change the resolution within the guest. We can set different resolutions within the OpenCore EFI settings by the following steps (as reference see the section ''Configuring Booting Without OpenCore Mounted'' from the manual cited above).
 
* Use [https://github.com/corpnewt/MountEFI MountEFI] and mout the EFI.
* Use the MacOS's file manager and navigate to the mounted EFI partition.
* Edit the file <code>EFI/OC/'''config.plist'''</code> - find and modify the following <string> line:<syntaxhighlight lang="xml">
<key>Resolution</key>
<string>1920x1080@32</string>
</syntaxhighlight><syntaxhighlight lang="xml">
<string>1280x960@16</string>
</syntaxhighlight>
* DS
 
I'm attaching an USB Bluetooth via the Linux's Spice client that is attached to the MacOS guest, hen I'm using this Bluetooth to attach audio device, thus I'm having audio via SPICE. I'm needing it, because otherwise the videos in the Safari browser are not playable, but I'm actually need that for browser compatibility tests of a web page.


* YouTube: [https://www.youtube.com/watch?v=HBAPscDD30M How-to: Install MacOS Monterey in Proxmox 7 (Hackintosh)]
**
* Guide: [https://www.nicksherlock.com/2021/10/installing-macos-12-monterey-on-proxmox-7/ Installing macOS 12 “Monterey” on Proxmox 7]


== Download Links ==
== Download Links ==
Line 56: Line 64:
*
*


== Section 1 ==
== Misc References ==
...
 
* Another useful guide provided by Austin's Nerdy Things:
** YouTube: [https://www.youtube.com/watch?v=HBAPscDD30M How-to: Install MacOS Monterey in Proxmox 7 (Hackintosh)]
** Guide: [https://www.nicksherlock.com/2021/10/installing-macos-12-monterey-on-proxmox-7/ Installing macOS 12 “Monterey” on Proxmox 7]
* Mac Ports: [https://www.macports.org/install.php Quick start] | [https://ports.macports.org/port/spice-server/ spice-server]
*


<noinclude>
<noinclude>

Revision as of 08:39, 23 October 2022

Prox­mox Set­up and Ma­cOS In­stal­la­tion

Great man­u­al pro­vid­ed by i12bretro which I've used to in­stall Ma­cOS 13 Ven­ture:

Be­low is shown my fi­nal con­fig­u­ra­tion file.

cat /etc/pve/qemu-server/207.conf
args: -device isa-applesmc,osk="ourhardworkbythesewordsguardedpleasedontsteal(c)AppleComputerInc" -smbios type=2 -device usb-kbd,bus=ehci.0,port=2 -global nec-usb-xhci.msi=off -cpu host,kvm=on,vendor=GenuineIntel,+kvm_pv_unhalt,+kvm_pv_eoi,+hypervisor,+invtsc
audio0: device=ich9-intel-hda,driver=spice
bios: ovmf
boot: order=virtio0
cores: 4
cpu: Penryn
efidisk0: ssd-1TB:207/vm-207-disk-0.qcow2,efitype=4m,size=528K
machine: q35
memory: 16384
meta: creation-qemu=7.0.0,ctime=1666276060
name: MacOS13
net0: vmxnet3=C2:63:A3:4E:7E:E7,bridge=vmbr0,firewall=1
numa: 0
ostype: other
scsihw: virtio-scsi-pci
smbios1: uuid=ac933204-a2a1-4915-aeee-60259bfb3fc1
sockets: 4
spice_enhancements: foldersharing=1,videostreaming=all
tablet: 1
tpmstate0: ssd-1TB:207/vm-207-disk-1.raw,size=4M,version=v2.0
usb0: spice,usb3=1
usb1: spice,usb3=1
usb2: host=0bda:8179,usb3=1
vga: qxl,memory=128
virtio0: local-lvm:vm-207-disk-0,discard=on,size=80G

Cur­rent­ly I'm us­ing Spice/​​​QXL for dis­play dri­ver. Note there is not Ma­cOS guest tool avail­able and this is the rea­son we can't change the res­o­lu­tion with­in the guest. We can set dif­fer­ent res­o­lu­tions with­in the Open­Core EFI set­tings by the fol­low­ing steps (as ref­er­ence see the sec­tion Con­fig­ur­ing Boot­ing With­out Open­Core Mount­ed from the man­u­al cit­ed above).

  • Use Moun­tE­FI and mout the EFI.
  • Use the MacOS's file man­ag­er and nav­i­gate to the mount­ed EFI par­ti­tion.
  • Ed­it the file EFI/OC/config.plist – find and mod­i­fy the fol­low­ing <string> line:
    <key>Resolution</key>
    <string>1920x1080@32</string>
    
    <string>1280x960@16</string>
    
  • DS

I'm at­tach­ing an USB Blue­tooth via the Linux's Spice client that is at­tached to the Ma­cOS guest, hen I'm us­ing this Blue­tooth to at­tach au­dio de­vice, thus I'm hav­ing au­dio via SPICE. I'm need­ing it, be­cause oth­er­wise the videos in the Sa­fari brows­er are not playable, but I'm ac­tu­al­ly need that for brows­er com­pat­i­bil­i­ty tests of a web page.

Down­load Links

Ma­cOS us­age ref­er­ences:

Misc Ref­er­ences