jekyll, tutorial,

Setting Up a MacOS Virtual Machine

Follow Jan 15, 2025 · 2 mins read
Setting Up a MacOS Virtual Machine
Share this

##SETTING UP A MACOS VM

Setting up a MacOs virtual machine requires two major steps Creating the MacOS image Setting up the virtual machine

**CREATING THE MACOS IMAGE

**SETTING UP THE VIRTUAL MACHINE

Open your virtual box

Click New
Enter a name for your MacOS virtual machine.
Select the created Sonoma iso
Ensure you set type as "Mac OS X"
Click "Next"

"MacOs VM Installation"

Memory and CPU Allocation

Click and drag the Base Memory
Click and drag the Processor
Enable EFI

"MacOs VM Installation"

Assign Virtual Hard Disk Size

Click or manually access hard disk size

"MacOs VM Installation"

Configuration Review

Review Configuration
Click "Finish" 

"MacOs VM Installation"

EDIT THE MACOS SETTING

System Settings

Click on "Settings"
Uncheck "Floppy"
Set Chipset as "ICH9"

"MacOs VM Installation"

Display Settings

Assign atleast 128MB of video memory 
Enable 3D acceleration

"MacOs VM Installation"

Network Settings

Click on "Network"
Leave the first Adapter as "NAT"
Set the second as "Bridged"

"MacOs VM Installation" "MacOs VM Installation"

USB Setting

Click on "USB"
Select USB 3.0 (xHCI) Controller

"MacOs VM Installation"

PATCHING THE VIRTUAL MACHINE Exit Virtual Box before running the process.

Click on windows or press the windows button
type cmd
run as administrator

navigate to virtual machine directory using

cd c/program files/oracle/virtualbox/

"MacOs VM Installation"

NOTE: Navigate to the right directory if you have installed the virtualbox in another location

Install the patch

For Intel Processor run the following commands

VBoxManage.exe modifyvm "VM Name" –-cpuidset 00000001 000106e5 00100800 0098e3fd bfebfbff
VBoxManage setextradata "VM Name" VBoxInternal/Devices/efi/0/Config/DmiSystemProduct “MacBookPro15,1”
VBoxManage setextradata "VM Name" "VBoxInternal/Devices/efi/0/Config/DmiBoardProduct" "Mac-551B86E5744E2388"
VBoxManage setextradata "VM Name" "VBoxInternal/Devices/smc/0/Config/DeviceKey" "ourhardworkbythesewordsguardedpleasedontsteal(c)AppleComputerInc"
VBoxManage setextradata "VM Name" "VBoxInternal/Devices/smc/0/Config/GetKeyFromRealSMC" 1

For AMD Processor Users

VBoxManage.exe modifyvm "VM Name" --cpuidset 00000001 000106e5 00100800 0098e3fd bfebfbff
VBoxManage setextradata "VM Name" "VBoxInternal/Devices/efi/0/Config/DmiSystemProduct" "iMac11,3"
VBoxManage setextradata "VM Name" "VBoxInternal/Devices/efi/0/Config/DmiSystemVersion" "1.0"
VBoxManage setextradata "VM Name" "VBoxInternal/Devices/efi/0/Config/DmiBoardProduct" "Iloveapple"
VBoxManage setextradata "VM Name" "VBoxInternal/Devices/smc/0/Config/DeviceKey" "ourhardworkbythesewordsguardedpleasedontsteal(c)AppleComputerInc"
VBoxManage setextradata "VM Name" "VBoxInternal/Devices/smc/0/Config/GetKeyFromRealSMC" 1
VBoxManage modifyvm "VM Name" --cpu-profile "Intel Core i7-6700K"
Written by
--->