Sometimes I just use macOS for AppleScript debugging. But after my mid-2015 got fried. I had to find another solution. And here is where VMware Workstation comes to help. Virtualizing macOS on Windows. After a clean install of VMware Workstation I started having small issues: I am on AMD trying to run OS which loves Intel; Virtualization was disabled by default in BIOS; VMware errors.
As such, here are some tips on Installing macOS on VMware:
0. Before you even start - enable Virtualization in BIOS.
▶︎ ▶︎▶︎ How to enable Virtualization on AMD B450 Carbon Pro Ac: ▶︎ ▶︎▶︎▶︎
- Boot into Bios using "Delete" Key
- Select "Overclocking"
- Go to "OC Explore Mode" and turn that to "Expert"
- Scroll down to "CPU Features"
- Select "SVM Mode" and "Enable"
- Save and Exit
1. Use VMware Workstation Pro 15.0.3 !!! 1̶5̶.̶0̶.̶0̶ ̶o̶r̶ ̶1̶5̶.̶1̶,̶ ̶o̶r̶ ̶a̶n̶y̶t̶h̶i̶n̶g̶ ̶i̶n̶-̶b̶e̶t̶w̶e̶e̶n̶ (I̶ ̶u̶s̶e̶d̶ ̶1̶5̶.̶0̶.̶3̶ ̶a̶n̶d̶ ̶i̶t̶ ̶w̶o̶r̶k̶e̶d̶,̶ ̶s̶o̶m̶e̶ ̶a̶l̶s̶o̶ ̶s̶a̶y̶ ̶i̶t̶ ̶w̶o̶r̶k̶e̶d̶ ̶o̶n̶ ̶1̶5̶.̶1̶ ̶a̶n̶d̶ ̶1̶5̶.̶0̶.̶0̶.̶ ̶J̶u̶s̶t̶ ̶t̶e̶s̶t̶ ̶i̶t̶
2. Install Unlocker - sorry can't provide the links :(
3. Use your own clean ISO (none of the 3rd party ones worked for me)
4. During VM creation:
Typical ► point to ISO file ► Mac OS ►
Install it on SSD
“Store virtual disk as a single file”
Customize Hardware: 8GB
Processors: 2x2
Virtualize Intel VT-x/EPT or AMD-V/RVI
USB Controller: Show all USB input devices (this will allow troubleshooting disabled/not working keyboard)
A̶c̶c̶e̶l̶e̶r̶a̶t̶e̶ ̶3̶D̶ ̶G̶r̶a̶p̶h̶i̶c̶s̶:̶ ̶2̶G̶B̶
6. Change Hardware Compatibility to 10.X (either through .vmx file or through VMware software made no difference to me).
Inside VMware, right-click on your VM ► Manage ► "Change Hardware Compatibility..." ► Select "Workstation 10.x"
OR
Inside VMware, right-click on your VM ► "Open VM Directory" ► a new folder should open ► find .vmx file ► open it with "Notepad" ► change: virtualHW.version to version you require 10.
7. If you are using AMD you need to mask your CPUID. Add the following to the end of your .vmx file. (JUST when copy/pasting from internet - watch out for quotemarks!)
smc.version = "0"
cpuid.0.eax = "0000:0000:0000:0000:0000:0000:0000:1011"
cpuid.0.ebx = "0111:0101:0110:1110:0110:0101:0100:0111"
cpuid.0.ecx = "0110:1100:0110:0101:0111:0100:0110:1110"
cpuid.0.edx = "0100:1001:0110:0101:0110:1110:0110:1001"
cpuid.1.eax = "0000:0000:0000:0001:0000:0110:0111:0001"
cpuid.1.ebx = "0000:0010:0000:0001:0000:1000:0000:0000"
cpuid.1.ecx = "1000:0010:1001:1000:0010:0010:0000:0011"
cpuid.1.edx = "0000:1111:1010:1011:1111:1011:1111:1111"
featureCompat.enable = "FALSE"
8. VM ► Settings ► Options ► Select: Windows 64x
9. Launch VM
10. If the keyboard doesn’t work: VM ► Removable Devices ► select your Keyboard ► Connect (this might disable your Host keyboard temporarily)
11. Disk Utility ► VM HDD ► Erase ► Mac OS Extended (Journaled): GUID
🛑 DONT use APFS, even though its better on SSDs - it wont work ;/ You will stay stuck in Boot Loop, even if you change to Mac OS (in VM - Settings - Options - General - MacOS 10.14) you will get stuck at Apple Logo or even worse you will get error that Boot failed and:
EFI vmware virtual sata hard drive (0.0) ... unsuccessful
EFI vmware virtual sata CDROM drive (2.0) ... unsuccessful
etc… )
12. When you boot back to Recovery Mode ► Shut Down the VM
13. VM ► Settings ► Options ► Select: Mac OS 10.14 (If not you will get stuck on Apple Logo)
14. Launch the VM ► Follow the on-screen instructions
15. Boot into OS, then Shut down
16. VM ► Settings.. ► CD/DVD (SATA) ► Change to Use physical drive ► “OK”
17. Launch VM ► when inside MacOS - at the top select VM ► “Install VMware tools..” ► a new CD drive should automatically launch on the desktop from where you can easily install the Tools - after Install ► Restart
18. Change the resolution:
████████████████████████████
█ sudo '/Library/Application Support/VMware Tools/vmware-resolutionSet' width height
████████████████████████████
████ 🛑 TROUBLESHOOTING: █████
►"The CPU has been disabled by the guest operating system"
Mask the CPU. Or enable Virtualization in BIOS.
►"Failed to start the virtual machine"
Downgrade to 15.0.3
►"Feature 'cpuid.ds' was absent, but must be present."
.vmx file corrupt/ VM corrupt. If you have made any changes to the .vmx file. then try to revert it back. If you haven't done anything to it, then delete the VM in question & set it up from the start.
►"This virtual machine requires AVX2 but AVX is not present. This virtual machine cannot be powered on."
Follow the steps from above.
►"Module 'featurecompat' power on failed"
Please check the type of quote marks you use. Most of the time when copy-pasting from the internet, I would get “” , instead of "" .
►Extra troubleshooting:
Ctrl + R ► "services.msc" ► double click "VMware Workstation Server" ► and change "Startup Time:" to "Automatic (Delayed start)"
16 авг 2024