Running MAC OS in a VM

How to install for virtual box:
(mostly tutorials mention the same steps)

- It is important to match the .iso file and the commands, since they seem to be device and OS specific.
- Also, CLOSE virtual box software when running the commands.. :P don't know why...


How to install:
https://osxdaily.com/2021/07/15/how-install-macos-virtualbox-windows/

I used this iso and code combo:
https://www.wikigain.com/how-to-install-macos-big-sur-on-virtualbox-on-windows-pc/

The code to be run:
http://www.mediafire.com/file/k0nkr3aomk4pgts/VBox_Code.txt/file
The iso file:
https://download2389.mediafire.com/kkieo4bid9rg/vuxhn73malcin7w/macOS+Big+Sur+Beta+11.0+%2820A5343j%29.iso
(don't know how long this will be available)

sample code to modify the VM's properties to spoof the software into thinking it is compatible machine:

VBoxManage.exe modifyvm "macOS Big Sur" --cpuidset 00000001 000106e5 00100800 0098e3fd bfebfbff
VBoxManage setextradata "macOS Big Sur" "VBoxInternal/Devices/efi/0/Config/DmiSystemProduct" "iMac11,3"
VBoxManage setextradata "macOS Big Sur" "VBoxInternal/Devices/efi/0/Config/DmiSystemVersion" "1.0"
VBoxManage setextradata "macOS Big Sur" "VBoxInternal/Devices/efi/0/Config/DmiBoardProduct" "Iloveapple"
VBoxManage setextradata "macOS Big Sur" "VBoxInternal/Devices/smc/0/Config/DeviceKey" "ourhardworkbythesewordsguardedpleasedontsteal(c)AppleComputerInc"
VBoxManage setextradata "macOS Big Sur" "VBoxInternal/Devices/smc/0/Config/GetKeyFromRealSMC" 1
VBoxManage modifyvm "macOS Big Sur" --cpu-profile "Intel Xeon X5482 3.20GHz"

-x-x-x-x-
Note: You should replace your "VM Name" with your own virtual Machine
Code for Virtualbox 6.x:
cd "C:\Program Files\Oracle\VirtualBox\"
VBoxManage modifyvm "mac-big-sur-26Jan2022" --cpuidset 00000001 000106e5 00100800 0098e3fd bfebfbff
VBoxManage setextradata "mac-big-sur-26Jan2022" "VBoxInternal/Devices/efi/0/Config/DmiSystemProduct" "iMac19,1"
VBoxManage setextradata "mac-big-sur-26Jan2022" "VBoxInternal/Devices/efi/0/Config/DmiSystemVersion" "1.0"
VBoxManage setextradata "mac-big-sur-26Jan2022" "VBoxInternal/Devices/efi/0/Config/DmiBoardProduct" "Mac-AA95B1DDAB278B95"
VBoxManage setextradata "mac-big-sur-26Jan2022" "VBoxInternal/Devices/smc/0/Config/DeviceKey" "ourhardworkbythesewordsguardedpleasedontsteal(c)AppleComputerInc"
VBoxManage setextradata "mac-big-sur-26Jan2022" "VBoxInternal/Devices/smc/0/Config/GetKeyFromRealSMC" 1

VBoxManage setextradata "mac-big-sur-26Jan2022" VBoxInternal2/EfiGraphicsResolution 1920x1080

mac-big-sur-26Jan2022

-x-x-x-
VBoxManage.exe modifyvm "VM Name" --cpuidset 00000001 000106e5 00100800 0098e3fd bfebfbff
VBoxManage setextradata "VM Name" "VBoxInternal/Devices/efi/0/Config/DmiSystemProduct" "iMac19,1"
VBoxManage setextradata "VM Name" "VBoxInternal/Devices/efi/0/Config/DmiSystemVersion" "1.0"
VBoxManage setextradata "VM Name" "VBoxInternal/Devices/efi/0/Config/DmiBoardProduct" "Mac-AA95B1DDAB278B95"
VBoxManage setextradata "VM Name" "VBoxInternal/Devices/smc/0/Config/DeviceKey" "ourhardworkbythesewordsguardedpleasedontsteal(c)AppleComputerInc"
VBoxManage setextradata "VM Name" "VBoxInternal/Devices/smc/0/Config/GetKeyFromRealSMC" 1
-x-x-x-
Set the screen resolution if needed:
VBoxManage setextradata "macOS Big Sur" VBoxInternal2/EfiGraphicsResolution 1920x1080

-x-x-x- 
Other options:

640x480

800x600

1024x768

1280x1024

1440x900

1920x1200

1920×1080 (FHD)

2560×1440 (QHD)

2048×1080 (2K)
-x-x-x-x-

Note: a similar command is available on linux for most distros


How to make an OS iso:
https://osxdaily.com/2020/07/20/how-convert-macos-installer-iso/
(have not tries this one yet)


Error:
- Querying "UUID" failed (VERR_CFGM_VALUE_NOT_FOUND)

Solution:
https://buildpc.vpnwp.com/virtualbox-uefi-shell-startup-nsh-error-fixed-macos-linux-windows-any-os/


If you have a MAC - you can follow this one:
https://www.youtube.com/watch?v=ATnpEOo3GJA

This video also outlines the basic steps:
https://www.youtube.com/watch?v=8WwjeOKKijw


Another "how to":
(still to check it out completely, mostly appears to the same as the others.)
https://www.geekrar.com/how-to-install-macos-big-sur-in-virtualbox-windows-2021/


Comments

Popular Posts