Mac OS install on AMD Ryzen (VMWare) Opencore - Improved Performance - Works with Sequoia / Sonoma / etc

tucano2000

Member
AMD OS X Member
Joined
May 21, 2021
Messages
96
*** First of all, don't make any changes to the vmware .vmx file. It is recommended that you create a new virtual machine from scratch so that it recreates this file by default and without any changes.

*** Use VMWare Workstation Pro version at the link provided in the tutorial. (If you install it, you will have to make a new Patch as described)


***Enable AMD-V (Virtualization Technology) in BIOS. (you should research how to do this on your machine)

1) First you need to download VMWare from the official website and install it by choosing the free, non-commercial version:



Other Downloads:

- VM Workstation Pro 17.5.2. (Tested and can also be used. It's free to personal use.)



- Download Unlocker to patch VMWare:


- New version of unlocker tested on VMWare Worstation Pro





- After installing VMWare close it.

Extract all the unlocker files into a folder, open the command prompt (terminal) in administrator mode and run "win-install.cmd".

This patch releases the Apple Mac OS X version configuration option in VMWare under Virtual Machine Settings, Options, Apple Mac OS X:

use "macOS 14" when configuring your virtual machine:

1697595264886.png





2) Also download an ISO of macOS Sonoma 14.0 (tested):
Note: All ISO images are Vanilla

Link1:


Link2:



I believe that other previous macOS versions may work since opencore 0.95 was used in this project. I haven't tested it with others yet.

----------------------------------------
OR Download

Sonoma 14.5 (tested).

Link1:



Link2:


----------------------------------------
OR Download

New Version Sonoma 14.6.1 (tested).

Link1:

https://fastupload.io/b2b892fd799bc081


----------------------------------------
OR Download For testing purposes, I'm also uploading an ISO containing macOS Sequoia Beta 2 which is compatible with Opecore 1.0.0:

Link1:


Link2:


Note:
Sequoia Beta is not yet working with Apple login services such as Apple Store, Cloud and other apps that need to be logged into Virtual Machines running Windows as host.
If you want to use Sequoia with login services, you need to install Sonoma 14.5 and do a system update to Sequoia.



3) Download a small VMWare disk image file:

Edit:

This version only works with Ryzen processors with 4 cores or more
Download New Version of VMWare disk image file Here: OPENCORE 1.0.0 - 4 cores


This file contains Opencore 1.0.0 on an EFI partition and should be chosen as a disk image on the SATA 0:0 drive in the VMWare settings. It should always be used that way.


OR DOWNLOAD:

This version only works with Ryzen processors with 8 cores or more
Download New Version of VMWare disk image file Here: OPENCORE 1.0.1 - 8 cores


This file contains Opencore 1.0.1 on an EFI partition and should be chosen as a disk image on the SATA 0:0 drive in the VMWare settings. It should always be used that way.


OR DOWNLOAD:


This version only works with Ryzen processors with 16 cores or more
Download New Version of VMWare disk image file Here: OPENCORE 1.0.1 - 16 cores


This file contains Opencore 1.0.1 on an EFI partition and should be chosen as a disk image on the SATA 0:0 drive in the VMWare settings. It should always be used that way.



VMWare settings:

1) Memory: 8GB

2) Processors:

4 cores (if you are using the VMWare disk image file with 4 cores)
8 cores (if you are using the VMWare disk image file with 8 cores)
16 cores (if you are using the VMWare disk image file with 16 cores)


1697563518529.png



3) Hard Disk (Sata): macOS_Opencore_1.0_4_cores.vmdk or macOS_Opencore_1.0.1_8_cores.vmdk or macOS_Opencore_1.0.1_16_cores.vmdk (SATA 0:0) should always be the first boot drive.
In newer versions of WMWare choose "Keep existing format" if you are asked when adding the image of this drive.

1718427341446.png



4) Hard Disk 2 (Sata): This drive is where macOS will be installed. Any size you see fit.

5) CD/DVD (SATA): Use ISO image file (Sonoma.iso)

1697563742532.png

6) USB Controller 3.1. (tested)

1697563943198.png



7) Network Adapter: Bridged Automatic.




During installation, only erase or format the macOS installation drive you created using Disk Utility. Never do this on the OPENCORE drive (it must remain untouched):

1697564233230.png

1697564292473.png


1697564376242.png

1697564427213.png




EDIT:

****************************************************************************** A T T E N T I O N ********************************************************************************

8) (IT GREATLY IMPROVES PERFORMANCE AND CORRECTS ERRORS:)

In order to correct the “errors” during start-up, which in spite of everything works.... and also to correct the performance and reduce the “slowness” of the virtual machine, you should turn off the windows hypervisor. To do this, use the tip below:

- In Windows, click on Start and search for Command Prompt
  • Right-click Command Prompt and then click Run as administrator
  • If the User Account Control dialog box appears, confirm that the action shown is the one you want and click Continue
  • Then type: “bcdedit /set hypervisorlaunchtype off” Hit enter
  • Then type:reg add “HKLM\SYSTEM\CurrentControlSet\Control\DeviceGuard\Scenarios\HypervisorEnforcedCodeIntegrity” /v “Enabled” /t REG_DWORD /d 0 /f - Press enter again.
  • Restart the computer

- It is also recommended to disable the "Memory Integrity Checks" in Windows to improve performance.

- Install VMWare Tools to change the resolution. It comes with VMWare Workstation, I don't remember if VMWare Play has VMWare Tools.

- You can only change the resolution within MacOS. Ex: 1600x1100. To do this, type in the terminal :

sudo /Library/Application\ Support/VMware\ Tools/vmware-resolutionSet 1600 1100

Note: In VMWare's Display settings you need to set the resolutions higher than or equal to the ones you'll be using in macOS.

THIS WAY YOU CAN EVEN RUN XCODE SIMULATOR SMOOTHLY AT LOW RESOLUTIONS SUCH AS 1024X768.

***********************************************************************************************************************************************************************************
=================================
Issues:
=================================

Crash, Stopped during installation or Repetitive errors when loading the system

***** In some test installations, the system has crashed or stopped during installation. I don't know why this happens. To solve it, just reset VMWare and let the installation continue normally.
Edit:
It was probably discovered that windows hypervisor hinders the normal functioning of VMware. You should turn it off. It can be done at the end of everything even after macOS is fully installed. See item 8.





White background (wallpaper)

***** When I first got macOS, I had this problem with a white background (wallpaper) in the system background. But you have to go into the macOS settings and click on Wallpaper and then deactivate the Show as screen saver option. Then choose a wallpaper you like.




SLOW UPLOAD SPEED

A problem with file upload over the network has been reported in some specific access cases that makes the network very slow when sending a file.

This happens due to a problem with the vmware vmxnet3 network driver.

I tested this solution and managed to solve this problem.

Open the Mac terminal and type the commands below in sequence:

sudo sysctl -a | grep net.inet.tcp.tso
sudo sysctl -w net.inet.tcp.tso=0
sudo nano /etc/sysctl.conf

Add the below entry in the sysctl.conf file
net.inet.tcp.tso=0

Press Control + O to save and then Enter to save. Control + X to exit.
Restart macOS.
 

Attachments

  • 1697563499851.png
    1697563499851.png
    124 KB · Views: 684
Last edited:

tucano2000

Member
AMD OS X Member
Joined
May 21, 2021
Messages
96
When I first got macOS, I had this problem with a white background (wallpaper) in the system background. But you have to go into the macOS settings and click on Wallpaper and then deactivate the Show as screen saver option. Then choose a wallpaper you like.


1697565926909.png

1697565960645.png
 

HKPhysicist

Member
AMD OS X Member
Joined
Oct 15, 2023
Messages
52
WOW!!! :love:
Your setup has passed the reboot shutdown!!! (y):love:
 
Last edited:

HKPhysicist

Member
AMD OS X Member
Joined
Oct 15, 2023
Messages
52
Dear Friend,
I could get the first GUI with a large OpenCore Disk. After I had clicked on it, a dark screen stayed there forever.

Do you know the reason? :unsure:
 

tucano2000

Member
AMD OS X Member
Joined
May 21, 2021
Messages
96
Hi HKPhysicist.

in vmware I have set this default video configuration:

1697632908704.png


Never choose OPENCORE. It's only for automatic booting when you start the machine.

If you're installing for the first time, quickly tap the screen as soon as the icons appear and choose Install macOS Sonoma if you've added the ISO file to the CD/DVD drive. Never tap or choose OPENCORE because it will give you a black screen.

On subsequent reboots, another icon will appear with the name of the drive you created during the installation, but it will automatically be selected.

1697633690438.png
 

HKPhysicist

Member
AMD OS X Member
Joined
Oct 15, 2023
Messages
52
WOW!
Your OpenCore bootloader was able to boot up and passed the first installation reboot! The hard disk stage installation is in progress. Let me see where its destination is. :love:
macos install going.png

Another secret is - the VMWare unlocker only works for VMWare Player v17.0.1 or older. Otherwise, macOS will complain that my VM is not eligible for the present installation macOS 14!

I recall that my failed setup received this alert logo when I ran my macOS 14 installation on a patched VMWare Player 17.0.2!
It implies that macOS 14 installation is able to recognise a wrongly patched VMWare Player 17.0.2 as a fake macOS VM! :LOL:
 

HKPhysicist

Member
AMD OS X Member
Joined
Oct 15, 2023
Messages
52
Hello Friend,
You also have to install VMWare Tools from within macOS. It will turn your mac display to wide screen!
 

HKPhysicist

Member
AMD OS X Member
Joined
Oct 15, 2023
Messages
52
Hello Friend,
With the help of your customised OpenCore, my Windosh VMWare VM installation is a complete success! I am installing XCode from within macOS 14 VM. :love:

Another question is -
Do you also use GenSMBIOS tool and OpenCore plist to configure your virtual iMac specification?
imac spec.png
 

tucano2000

Member
AMD OS X Member
Joined
May 21, 2021
Messages
96
Hello Friend,
With the help of your customised OpenCore, my Windosh VMWare VM installation is a complete success! I am installing XCode from within macOS 14 VM. :love:
Excellent News !!!

Another question is -
Do you also use GenSMBIOS tool and OpenCore plist to configure your virtual iMac specification?

I use OC Auxiliary Tools to edit and configure the opencore config.plist file.


You can use this tool to edit this file and configure new SIM Bios and use another one for your virtual machine:

1697736485238.png





Editing SMBIOS:

1697736604109.png




Before you can edit it, you need to mount the OPENCORE partition. This partition contains the EFI directory and, inside it, the OC directory, where the config.plist file is located, which must be opened with OC Auxiliary Tools:

1697737137066.png



Use ESP MOUNTER PRO or another application to mount the OPENCORE partition:


When opening and editing the config.plist file, be careful because an error can make the machine unbootable.

I create 2 virtual machines here and open the opencore vmdk file from another machine as a secondary drive to correct errors in config.plist in case it is no longer bootable:

1697736388235.png



You can edit OPENCORE from the virtual machine itself without having to use 2 machines. But you must make sure you know what you're doing. Editing SMBIOS, for example, and choosing a Mac that is not supported by macOS Sonoma can cause the system to stop booting.

As far as I know, Macs manufactured after 2019 support macOS Sonoma.
 
Last edited:

HKPhysicist

Member
AMD OS X Member
Joined
Oct 15, 2023
Messages
52
WOW! A full suite to build Ryzentosh PC and Windosh VM! (y):love:
 

tmash

New member
AMD OS X Member
Joined
Oct 21, 2023
Messages
1
TYSM, a huge time saver.

Note: Use a solid background as a wallpaper to increase responsiveness.
 
Last edited:

tonybb8

New member
AMD OS X Member
Joined
Oct 20, 2023
Messages
2
Many Thanks! You have done a excellent job!
I edit setting to 8 core 64GB RAM work perfect.
macos14.png
 

ExtremeXT

Donator
Donator
Joined
Aug 7, 2022
Messages
843
Hello Friend,
With the help of your customised OpenCore, my Windosh VMWare VM installation is a complete success! I am installing XCode from within macOS 14 VM. :love:

Another question is -
Do you also use GenSMBIOS tool and OpenCore plist to configure your virtual iMac specification?
View attachment 12139
No need for a custom SMBIOS, it uses VMware1,1 (or something like that) by default. Just set SpoofVendor to true.
 

ExtremeXT

Donator
Donator
Joined
Aug 7, 2022
Messages
843
False***, Damn the shadow ban about no message edits.
 

tucano2000

Member
AMD OS X Member
Joined
May 21, 2021
Messages
96
Yes.
Many Thanks! You have done a excellent job!
I edit setting to 8 core 64GB RAM work perfect.

Yes. You can edit the OPENCORE volume as I showed you how to do earlier and open the OC Auxiliary Tools, accessing Kernel, then the Patch tab, under Replace, there are those first 4 lines in hexa B9 XX ... and BA XX ... where XX is the number of cores you're going to use in VMWare.

1698089028869.png
 

HKPhysicist

Member
AMD OS X Member
Joined
Oct 15, 2023
Messages
52
Today, I made a new macOS Sonoma 14.1 VM with this recipe! It is a complete and smooth success! (y):love:
 

tucano2000

Member
AMD OS X Member
Joined
May 21, 2021
Messages
96
Following the information in this post, I put the iMacPro1.1 in SMBIOS and both Sonoma and the XCode Simulator seemed to run and load a little faster. Confirm if the same happens.

1698468799090.png
 
Back
Top Bottom
  AdBlock Detected
Sure, ad-blocking software does a great job at blocking ads, but it also blocks some useful and important features of our website. For the best possible site experience please take a moment to disable your AdBlocker.