Running a MacOS 14 Sonoma VM in ProxMox VE

preview_player
Показать описание
#MacOS #Sonoma #Proxmox #VirtualMachine

*** Updated 03/31/2024

💡 NOTE: MacOS higher than version 12 requires a CPU with AVX2 instruction support
 
   03. Extract the downloaded KVM OpenCore bootloader .gz file
   04. Upload the Sonoma and KVM OpenCore .iso files to the Proxmox ISO library
   05. Log into the ProxMox web UI
   06. Right click the ProxMox node name ≫ Create VM
   07. Type MacOSSonoma in the name field, set the VM ID to 1400 (unless 1400 is in use) ≫ Next
   08. On the OS tab, set the Type field to Other and select the KVM OpenCore .iso in the ISO Image field ≫ Next
   09. On the System tab, set the Graphic card field to VMware compatible, BIOS field to OVMF (UEFI), Uncheck the Pre-Enroll Keys checkbox, Check the Add EFI Disk checkbox, Machine field to q35 and the SCSI Controller to VirtIO SCSI ≫ Next
   10. On the Hard Disk tab, set the Bus/Device field to VirtIO Block, Disk size field to 64, Cache field to Write back (unsafe) ≫ Next
   11. On the CPU tab, set Cores field to 4, Type field to host ≫ Next
   12. On the Memory tab, set the Memory to 4096 ≫ Next
   13. On the Network tab, set the Model field to VMware vmxnet3 ≫ Next
   14. Verify the summary and click Finish
   15. Click the MacOSSonoma VM ≫ Select Hardware from the left sub-navigation menu
   16. Click Add ≫ CD/DVD Drive
   17. Select the MacOS Sonoma .iso downloaded earlier ≫ Click Create
   18. Select the MacOSSonoma VM ≫ Options ≫ Boot Order
   19. Set the KVM OpenCore disk as the first boot option ≫ Click OK
   20. Right click the ProxMox node name ≫ Console
   21. Run the following commands in the terminal
         # edit the VM conf file, change 1400 to the VM ID for the MacOSSonoma VM
   22. If running on an Intel CPU, add the following line to the bottom of the .conf file:
         FULL STEPS ON GITHUB LINK ABOVE
   23. If running on an AMD CPU, add the following line to the bottom of the .conf file:
         FULL STEPS ON GITHUB LINK ABOVE
   24. Press CTRL+W and search for ,media=cdrom
   25. Delete the ,media=cdrom from the two attached .iso files (KVM OpenCore and Sonoma) and add cache=unsafe
   26. Press CTRL+O, Enter, CTRL+X to write the changes to the conf file
   27. Back in the Proxmox web UI, right click the MacOSSonoma VM in the left navigation pane ≫ Start
   28. Click console in the left sub-navigation menu
   29. At the OpenCore menu, select UEFI Shell ≫ Press Enter
   30. Type the following in the UEFI shell:
         fs0:
         # launch the MacOS installer
   31. After a long initialization sequence the MAC OS Setup should start
   32. Select Disk Utility
   33. Select the VIRTIO Block Media ≫ Click Erase
   34. Name the drive MacOS ≫ Set the Format to APFS ≫ Click Erase
   35. Click Done ≫ Close Disk Utility
   36. Click Install macOS Sonoma
   37. Click Continue ≫ Click Agree ≫ Click Agree again
   38. Select the MacOS disk ≫ Click Install
   39. Wait while Mac OS installs files, the VM will reboot several times
   40. Select your Country or Region ≫ Click Continue
   41. Confirm your languages and keyboard layout ≫ Click Continue
   42. Click Not Now on the Accessibility screen
   43. Click Continue on the Data & Privacy screen
   44. Select Not Now on the Migration Assistant screen
   45. Select Set Up Later and then Skip on the Apple ID screen
   46. Click Agree ≫ Agree again
   47. Enter a name, user name, password ≫ Click Continue
   48. Click Continue ≫ Select Use or Don't Use for Location Services
   49. Pick a timezone ≫ Click Continue
   50. Uncheck Share Mac Analytics with Apple ≫ Click Continue
   51. Click Set Up Later on the Screen Time screen
   52. Pick a theme ≫ Click Continue
   53. Welcome to MacOS 14 Sonoma
 
Configuring Booting Without OpenCore Mounted
   01. Log into the MacOSSonoma VM
   04. Start LaunchPad from the dock
   05. Search terminal ≫ Click Terminal to launch it
   06. Run the following commands in the terminal window
         cd ~/Downloads/MountEFI
         chmod +x MountEFI.command
         ./MountEFI.command

....Full steps can be found on GitHub [link at the top]

### Connect with me and others ###
Рекомендации по теме
Комментарии
Автор

Nothing short of "Brilliant" !! Thanks heaps. I really appreciate the effort you took to get all the info together and produce such a clear and concise video. 👍👍👍

Tom-wscj
Автор

Great video, we have finaly a working VM, I need just to mention that 4 core is not enough, 8 recommanded, same with the RAM 16 min, otherwise the VM will have a lot of lags

dragonofmercy
Автор

Worked like charm, even the update to 14.1 runs perfectly.

theprophet.
Автор

Thanks for this tutorial! It worked for me. Took 3 1/2 years to install, and honestly it runs like total dog shizz on my proxmox host, but will work well enough for some home lab stuff.

hillandrewdavid
Автор

awesome! all works! for whom installer didn't start - download whole installation iso image (about 15-16GB) and not the recovery image (about 800Mb)

gator_fz
Автор

Epic bro! This was so needed for work to fix Safari bugs!!!

ActveSpn
Автор

EXCELLENT JOB! \Man this is Beautifully Done!
I got sick of screwing around with ProX for a Min and just turned the System into a Deb12 Gaming System to Clear the ca$he in my Brain.
I'll Plug the ProXmox SSD back in and give this a Shot Next Weeknd, This is OldMan ADHD Approved

MotownBatman
Автор

If getting any issue (infinite load time at first VM startup), try using 8core and 8GB (not more)

Or it may be because of other VM using CPU.. dunno, but do not overlap CPU usage if it's the case

ruilechomeur
Автор

thanks @i12bretro for the tut's 🙂
for Sonoma 14.4.1 : Change "-device usb-kbd, bus=ehci.0, port=2" to "-device qemu-xhci -device usb-kbd -device usb-tablet" in the xxxx.conf ie while at step 21 / 22 "nano of the tutorial

TSKTECHIN
Автор

Thanks for this video! Worked perfectly for Sonoma and Ventura!

tinkerscustom
Автор

Another FANTASTIC video and instructions. Only a couple things which did not match up for me - but got it all going. One thing which jumps right out at me, SAFARI gives nothing but blank black web pages. No matter what URL I put in, I get a black web page. Also just tested MAPS - that is not working either. Nothing but black screen.

bearhntr
Автор

"Wait aprox. 3 years for macos to install" 😂

riks.
Автор

Doesn't work. Keeps taking me back to the uefi shell.

HoboSquirrel
Автор

This is awesome! Thanks a lot! Are updates supported considering is a Beta version? Also is advised to enhance somehow some of the H/W settings lets say that i would like to give some more RAM or add more CPU availability. What's your opinion?

vklab
Автор

Now it's hanging during the install MacOS step, at "12 minutes remaining"... it sits there forever. I can cancel out of it, it's not locked up. Why's it stuck waiting for who knows what, at 12 minutes, consistently, every single time??

christothegreat
Автор

having issues installing sonoma few times already. Ill give this a shot though I believe I already did the same. Would you be so kind to share your fresh copy of the sonoma image VM?

heyLucifurr
Автор

You sound like Fred Armisen's character in that classic SNL sketch "The Californians"😂

TigerGreene
Автор

When I run the MountEFI file with Terminal, the system warns me that there is a Virus and won't let me run it

HoangAnOfficial
Автор

Got 2 issues after i did everything in the video:
1. white background after login, not big of an issue really
2. cant use Content Caching, when i enable Content Caching its saying "Shutting down.." just below the Content Caching option.
Someone any clues for the issues?

marc
Автор

8 hours stuck at apple logo after fs0:. (i7-6700 with 6 cores, 16GB ram, 200GB HDD) Tried another ISO, same :D. Then i changed it to 8 cores and passed the apple logo in seconds. So dont use 6 cores :D

yanikahmet
welcome to shbcf.ru