Ken5998 / OpenCore-VMware-Workstation-AMD

Install macOS Big Sur on Ryzen with VMware Workstation and OpenCore
149 stars 14 forks source link

Instructions to update to macOS Monterey #14

Open PeterNjeim opened 2 years ago

PeterNjeim commented 2 years ago

I've successfully updated to macOS Monterey from Big Sur.

Here's how to do it (add to README maybe?):

  1. Boot into your macOS VM and open the System Preferences > Software Update
  2. Install the Monterey update, you need about 26GB free space on the disk
  3. The VM will restart, this time there will be a new boot option in the first, default position, called "Macintosh HD". You'll get a CPU is disabled error by VMware
  4. Close VMware
  5. Edit (not open) the VMX file in your macOS VM's folder. I used Notepad. Find the following line: board-id.reflectHost = "TRUE" and add # at the beggining to comment it out (disable the line)
  6. Add the following lines to the end of the VMX file:
    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:0111:1000:1011:1111:1011:1111:1111"
    smbios.reflectHost = "TRUE"
    hw.model = "MacBookPro14,3"
    board-id = "Mac-551B86E5744E2388"
    usb_xhci:4.present = "TRUE"
    usb_xhci:4.deviceType = "hid"
    usb_xhci:4.port = "4"
    usb_xhci:4.parent = "-1"
  7. Save the file the open VMware and run the macOS VM
  8. Let it boot into the new boot option "Macintosh HD". It should boot properly this time
  9. It will run for quite a while, then it'll reboot and this time the "Macintosh HD" option will be gone, with the standard "macOS" option being restored to the first position and is the default
  10. It will run for quite a while in the macOS boot option as well, then the Apple logo will show for a whlie, then it'll go back to showing text for a little bit, then it'll reboot again to the macOS boot option, then it'll show text for a while, then it'll show the Apple logo for a while, but this time it'll show a "time remaining" text under the loading bar. After this process is done, it'll boot into macOS Monterey
  11. Steps 9 and 10 aren't even steps, it's just a description of what should happen, step 8 is really the last step that needs user input

image

Fristorm-Palifen commented 2 years ago

is this works for Ventura?

PeterNjeim commented 2 years ago

I updated to 12.4 but don't plan on updating to beta releases of macOS. 12.4 was strange as it got stuck at this kernel panic whenever it tried to boot. I fixed it by simply resetting the NVRAM (or PRAM or whatever) in the little BIOS menu that shows up when you boot, then macOS booted fine. Other than that, updating to 12.4 required nothing special, just clicked the update button, and let it auto-reboot over and over again without any input by me.

I also deleted my macOS VM as I no longer need it lol, so I can't even test Ventura's beta release for you.

Fristorm-Palifen commented 2 years ago

unfortunaly this didn't work for me image

.encoding = "windows-1252" config.version = "8" virtualHW.version = "19" pciBridge0.present = "TRUE" pciBridge4.present = "TRUE" pciBridge4.virtualDev = "pcieRootPort" pciBridge4.functions = "8" pciBridge5.present = "TRUE" pciBridge5.virtualDev = "pcieRootPort" pciBridge5.functions = "8" pciBridge6.present = "TRUE" pciBridge6.virtualDev = "pcieRootPort" pciBridge6.functions = "8" pciBridge7.present = "TRUE" pciBridge7.virtualDev = "pcieRootPort" pciBridge7.functions = "8" vmci0.present = "TRUE" hpet0.present = "TRUE" nvram = "MacOS Ventura.nvram" virtualHW.productCompatibility = "hosted" powerType.powerOff = "soft" powerType.powerOn = "soft" powerType.suspend = "soft" powerType.reset = "soft" displayName = "MacOS Ventura" usb.vbluetooth.startConnected = "TRUE" smc.present = "TRUE" smbios.restrictSerialCharset = "TRUE" firmware = "efi" guestOS = "darwin22-64"

board-id.reflectHost = "TRUE"

ich7m.present = "TRUE" tools.syncTime = "TRUE" sound.autoDetect = "TRUE" sound.virtualDev = "hdaudio" sound.fileName = "-1" sound.present = "TRUE" numvcpus = "2" cpuid.coresPerSocket = "2" memsize = "8192" sata0.present = "TRUE" sata0:0.fileName = "D:\VM\BigSur_11.3.1_Installer.vmdk" sata0:1.fileName = "MacOS Ventura.vmdk" sata0:1.startConnected = "FALSE" usb.present = "TRUE" ehci.present = "TRUE" usb_xhci.present = "TRUE" ethernet0.connectionType = "nat" ethernet0.addressType = "generated" ethernet0.virtualDev = "e1000e" ethernet0.present = "TRUE" extendedConfigFile = "MacOS Ventura.vmxf" floppy0.present = "FALSE" sata0:1.present = "TRUE" sata0:0.present = "TRUE" sata0:9.autodetect = "TRUE" sata0:9.deviceType = "cdrom-raw" sata0:9.fileName = "auto detect" sata0:9.startConnected = "FALSE" sata0:9.present = "TRUE" gui.viewModeAtPowerOn = "fullscreen" RemoteDisplay.vnc.enabled = "TRUE" chipset.useAcpiBattery = "TRUE" chipset.useApmBattery = "TRUE" priority.grabbed = "high" priority.ungrabbed = "normal" workingDir = "." mks.keyboardFilter = "allow" tools.upgrade.policy = "upgradeAtPowerCycle" numa.autosize.cookie = "20022" numa.autosize.vcpu.maxPerVirtualNode = "2" uuid.bios = "56 4d c6 65 9b c8 a7 79-05 e7 e4 36 2b 9b 20 a8" uuid.location = "56 4d c6 65 9b c8 a7 79-05 e7 e4 36 2b 9b 20 a8" sata0:0.redo = "" sata0:1.redo = "" pciBridge0.pciSlotNumber = "17" pciBridge4.pciSlotNumber = "21" pciBridge5.pciSlotNumber = "22" pciBridge6.pciSlotNumber = "23" pciBridge7.pciSlotNumber = "24" usb.pciSlotNumber = "32" ethernet0.pciSlotNumber = "160" sound.pciSlotNumber = "33" ehci.pciSlotNumber = "34" usb_xhci.pciSlotNumber = "192" sata0.pciSlotNumber = "35" svga.vramSize = "268435456" vmotion.checkpointFBSize = "134217728" vmotion.checkpointSVGAPrimarySize = "268435456" vmotion.svga.mobMaxSize = "268435456" vmotion.svga.graphicsMemoryKB = "262144" ethernet0.generatedAddress = "00:0c:29:9b:20:a8" ethernet0.generatedAddressOffset = "0" vmci0.id = "731586728" monitor.phys_bits_used = "45" cleanShutdown = "TRUE" softPowerOff = "FALSE" usb_xhci:4.present = "TRUE" usb_xhci:4.deviceType = "hid" usb_xhci:4.port = "4" usb_xhci:4.parent = "-1" usb_xhci:6.speed = "2" usb_xhci:6.present = "TRUE" usb_xhci:6.deviceType = "hub" usb_xhci:6.port = "6" usb_xhci:6.parent = "-1" usb_xhci:7.speed = "4" usb_xhci:7.present = "TRUE" usb_xhci:7.deviceType = "hub" usb_xhci:7.port = "7" usb_xhci:7.parent = "-1" usb:1.speed = "2" usb:1.present = "TRUE" usb:1.deviceType = "hub" usb:1.port = "1" usb:1.parent = "-1" toolsInstallManager.updateCounter = "8" checkpoint.vmState = "" tools.remindInstall = "FALSE" gui.lastPoweredViewMode = "fullscreen" toolsInstallManager.lastInstallError = "21004" guestInfo.detailed.data = "architecture='X86' bitness='64' buildNumber='20E241' distroName='Mac OS X' distroVersion='10.16' familyName='Darwin' kernelVersion='20.4.0'" 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:0111:1000:1011:1111:1011:1111:1111" smbios.reflectHost = "TRUE" hw.model = "MacBookPro14,3" board-id = "Mac-551B86E5744E2388"

my CPU : AMD Ryzen 9 5900HS

Fristorm-Palifen commented 2 years ago

ok I fix it by

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:0111:1000:1011:1111:1011:1111:1111" smbios.reflectHost = "TRUE" hw.model = "MacBookPro14,3" board-id = "Mac-551B86E5744E2388" usb_xhci:4.present = "TRUE" usb_xhci:4.deviceType = "hid" usb_xhci:4.port = "4" usb_xhci:4.parent = "-1"

and the most important: virtualHW.version = "19" -> virtualHW.version = "16"

mohanadshaban commented 2 years ago

@PeterNjeim You the best, It worked Thanks !

hax4dazy commented 1 year ago

You could create a PR to add this into the tutorial

GitHubbie0836 commented 1 year ago

I've successfully updated to macOS Monterey from Big Sur.

It's work fine! Thanks.