PVE Guest MacOS 13 Venture Setup: Difference between revisions
m (→Download Links) |
|||
Line 37: | 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> | </syntaxhighlight> | ||
* Use [https://github.com/corpnewt/MountEFI MountEFI] and | == Pot Installation Setup == | ||
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 mount the EFI. | |||
* Use the MacOS's file manager and navigate to the mounted EFI partition. | * 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 <code><string></code> directive, note only one resolution will be accepted and the fallback resolution is <code>1280x800@32</code>:<syntaxhighlight lang="xml" class="code-continue"> | * Edit the file <code>EFI/OC/'''config.plist'''</code> - find and modify the following <code><string></code> directive, note only one resolution will be accepted and the fallback resolution is <code>1280x800@32</code>:<syntaxhighlight lang="xml" class="code-continue"> | ||
Line 49: | Line 52: | ||
<string>1280x960@16</string> | <string>1280x960@16</string> | ||
</syntaxhighlight> | </syntaxhighlight> | ||
Using other Display adapter types as "Standard VGA" and "VirGL GPU" will allow you to change the resolution from the MacOS guest itself, but the Spice connection is much better than the VNC connection that you can use with these devices. Using these devices could be helpful if you using Team Viewer as client. | |||
Currently I couldn't able to setup any audio device for my MacOS guest, but I need at least dummy sound because otherwise flash videos and HTML5 videos fails in Safari and I'm actually doing this setup for browser compatibility tests of a web page. So the workarounds I've found are the following: | Currently I couldn't able to setup any audio device for my MacOS guest, but I need at least dummy sound because otherwise flash videos and HTML5 videos fails in Safari and I'm actually doing this setup for browser compatibility tests of a web page. So the workarounds I've found are the following: | ||
* Install team [https://www.teamviewer.com/en/download/mac-os/ Team Viewer Host] application (or the full application) it will set an | * Use Team Viewer: Install team [https://www.teamviewer.com/en/download/mac-os/ Team Viewer Host] application (or the full application) it will set an Aggregate audio device. Setup the application to accept direct LAN connections and use Team Viewer to connect to the guest via its IP. In this case you should remove any sound devices form the Proxmox's VM configuration, or if you have a sound device device it shouldn't use the Spice driver, otherwise no sound will come from Team Viewer. | ||
* Use Spice client: Within the Spice client attach some USB audio device - i.e. Bluetooth adapter and connect Headphones to that device from the guest MacOS. In this case you should create enough number of USB devices which use Spice driver within the Proxmox's VM configuration. Also of course you should use SPICE/QXL as Display adapter. | |||
You can change the OpenCore's boot menu Picker options, via <code>'''config.plist'''</code> file in the following way: | |||
*Use [https://github.com/corpnewt/MountEFI MountEFI] and mount the EFI. | |||
* Use the MacOS's file manager and navigate to the mounted EFI partition. | |||
* Edit the file <code>EFI/OC/'''config.plist'''</code> and modify the following directives:<syntaxhighlight lang="xml"> | |||
<key>ShowPicker</key> | |||
<true/> <!-- Set this to 'false' if you want to disable the picker --> | |||
<key>Timeout</key> | |||
<integer>5</integer> <!-- 0 will disable the timeout, currently it is 5 seconds --> | |||
</syntaxhighlight> | |||
== Download Links == | == Download Links == |
Revision as of 10:44, 23 October 2022
Proxmox Setup and MacOS Installation
Great manual provided by i12bretro which I've used to install MacOS 13 Venture:
- YouTube: Running a MacOS Monterey VM in ProxMox VE (also much comments about GPU PT are provided there)
- Guide: Running a MacOS Monterey VM in ProxMox VE (local copy of the guide)
Below is shown my final configuration 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
Pot Installation Setup
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 MountEFI and mount the EFI.
- Use the MacOS's file manager and navigate to the mounted EFI partition.
- Edit the file
EFI/OC/config.plist
– find and modify the following<string>
directive, note only one resolution will be accepted and the fallback resolution is1280x800@32
:<key>Resolution</key> <string>1920x1080@32</string>
<string>1280x960@32</string>
<string>1280x960@16</string>
Using other Display adapter types as "Standard VGA" and "VirGL GPU" will allow you to change the resolution from the MacOS guest itself, but the Spice connection is much better than the VNC connection that you can use with these devices. Using these devices could be helpful if you using Team Viewer as client.
Currently I couldn't able to setup any audio device for my MacOS guest, but I need at least dummy sound because otherwise flash videos and HTML5 videos fails in Safari and I'm actually doing this setup for browser compatibility tests of a web page. So the workarounds I've found are the following:
- Use Team Viewer: Install team Team Viewer Host application (or the full application) it will set an Aggregate audio device. Setup the application to accept direct LAN connections and use Team Viewer to connect to the guest via its IP. In this case you should remove any sound devices form the Proxmox's VM configuration, or if you have a sound device device it shouldn't use the Spice driver, otherwise no sound will come from Team Viewer.
- Use Spice client: Within the Spice client attach some USB audio device – i.e. Bluetooth adapter and connect Headphones to that device from the guest MacOS. In this case you should create enough number of USB devices which use Spice driver within the Proxmox's VM configuration. Also of course you should use SPICE/QXL as Display adapter.
You can change the OpenCore's boot menu Picker options, via config.plist
file in the following way:
- Use MountEFI and mount the EFI.
- Use the MacOS's file manager and navigate to the mounted EFI partition.
- Edit the file
EFI/OC/config.plist
and modify the following directives:<key>ShowPicker</key> <true/> <!-- Set this to 'false' if you want to disable the picker --> <key>Timeout</key> <integer>5</integer> <!-- 0 will disable the timeout, currently it is 5 seconds -->
Download Links
- RuTracker.org: macOS Ventura 13.0 Beta 8 (22A5352e) [ISO] [Intel/Apple]
- Corpnewt at GitHub: MountEFI
- Thenickdude at GitHub: KVM-Opencore
MacOS usage references:
- Ask Different: Does macOS have equivalent command line tools like
lshw
orlspci
? - Sickcodes at GitHub: OSX-optimizer (i.e. Skip the GUI login screen..)
Misc References
- Another useful guide provided by Austin's Nerdy Things:
- Mac Ports: Quick start | spice-server