Detailed tutorial on installing Apple macOS big sur system in virtualbox7 virtual machine

Step 1, enable virtualization on Windows 10/11 PC.
Virtualization is generally enabled by default on most computers today.

If you encounter some errors, such as receiving the error message "could not open the session on the virtual machine", you can check

If there is no problem, you can go directly to the second step.

Step 2, Install VirtualBox and VirtualBox Extension Pack on Windows 10/11.
Download directly from the virtualbox official website, click download virtualbox 7.0, it has been updated to version 7.0.4


On the download page, select VirtualBox 7.0.4 platform packages: Windows hosts, install the version of the windows platform.

Extension pack click: VirtualBox 7.0.4 Oracle VM VirtualBox Extension Pack: All supported platforms


The installation of virtualbox is very simple, just take the next step along the way.

 After the extension is downloaded, just click to install it

Pull the virualbox license to the end, and then click [I agree]

Then in the virtualbox tool - extension, you can see the extension package that has been successfully installed

This is a step that cannot be omitted. Mouse and keyboard may not work without the VirtualBox extension pack.

Step 3. Create a new virtual machine for macOS Big Sur
With VirtualBox 7 installed, the second step in installing macOS big sur on a Windows 10 or 11 computer is to create a virtual machine from which macOS big sur will boot. Follow the steps below to do this:

1. Search for "VirtualBox" in the "Start" menu and open it, or click the desktop virtualbox icon to open it.

2. Select "New" from the virtualbox menu, or, you can use "Ctrl + N" to start a new virtual machine.

3. Next, give your virtual machine a name and location, and click Next to continue. The name starts with "macOS". Here we enter macOS big sur. virtualbox will automatically select the macOS type and version.

ISO Image introduces the iso bootable image version of macOS Big Sur.

4. Now, select the memory capacity of the macOS big sur virtual machine (more than 4GB is recommended), and click "Next". Here I choose the largest part that can be supported by green. Since it is a notebook, the configuration is not very high.

Remember, more memory means better performance.

5. Next, select the size of the created virtual hard disk. Select "Create a Virtual Hard Disk Now" and select 80GB for the space size. Then click "Next"

6. After the configuration is complete, a summary message will be displayed. The hardware configuration of the virtual machine, if there is a problem, you can go back and adjust it. No problem can click Finish to complete.

Step 4, Customize macOS Big Sur's Virtual Machine
Creating a virtual machine for macOS Big Sur is simple, but setting it up and customizing it is important, so follow the steps carefully.

1. Return to the main VirtualBox page after creating the virtual machine, select the macOS Big Sur virtual machine, and click "Settings".


2. Go to the "System" settings, go to the "Motherboard" tab, and uncheck the "Floppy Disk" option.


3, Go to the "Display" tab and change the video memory to "128 MB" and leave the rest alone.


4, USB 3.0 needs to be enabled to solve the mouse and keyboard freezing problem. USB 3.0 will be enabled when we install the VirtualBox extension pack, otherwise it will be disabled.

After all configuration changes are made, click OK.


Step 5, run the VirtualBox code on CMD.
The VirtualBox code is required to install and use macOS Big Sur in VirtualBox on Windows 10 and 11.

If the code is not implemented or applied incorrectly, the virtual machine hosting macOS will be in a loop. This is a very important step, if you ignore it, the installation will fail.

To do this, follow the steps below:

All the codes executed under CMD are as follows

C:\Users\Administrator>D:
D:\>cd \Program Files\Oracle\VirtualBox        # 自己电脑VirtualBox的实际安装路径

VBoxManage.exe modifyvm "你的虚拟机名称" --cpuidset 00000001 000106e5 00100800 0098e3fd bfebfbff
VBoxManage setextradata "你的虚拟机名称" "VBoxInternal/Devices/efi/0/Config/DmiSystemProduct" "iMac11,3"
VBoxManage setextradata "你的虚拟机名称" "VBoxInternal/Devices/efi/0/Config/DmiSystemVersion" "1.0"
VBoxManage setextradata "你的虚拟机名称" "VBoxInternal/Devices/efi/0/Config/DmiBoardProduct" "Iloveapple"
VBoxManage setextradata "你的虚拟机名称" "VBoxInternal/Devices/smc/0/Config/DeviceKey" "ourhardworkbythesewordsguardedpleasedontsteal(c)AppleComputerInc"
VBoxManage setextradata "你的虚拟机名称" "VBoxInternal/Devices/smc/0/Config/GetKeyFromRealSMC" 0


1. Replace "your virtual machine name" in the code with the actual name. Click on the virtual machine name in virtualbox to copy


2. Replace all names with mac

 

 
The replaced command is as follows

 3. In the start menu, enter CMD to run as an administrator

 4. Enter: cd "C:\Program Files\Oracle\VirtualBox\" to switch to the installation directory of the virtual machine. This is the default installation path. If your installation directory has been changed, please refer to the actual one.

5. Finally, copy the code and paste it into CMD and press Enter. Remember, if you type the code wrong, you will see an error message, try to paste it correctly.


Step 6, Perform a clean install of macOS Big Sur
Now that you have completed all the steps above, it is time to perform a clean install of macOS Big Sur on VirtualBox. Follow the steps below:

 1, Open VirtualBox, select the virtual machine you created earlier for mac, and click "Start".


2, A series of codes will flash on the screen and then land on the Apple logo.

 

3. After some patient waiting, come to the language selection interface, you can choose Simplified Chinese.


4. Next, the storage must be partitioned before installing macOS Big Sur on the virtual machine. To do this, navigate to Disk Utility and select Continue.

 


5. Now, you need to choose the storage space when creating the virtual machine. Then choose Erase and partition it so you can install macOS Big Sur.


Set the hard disk name, which can be customized here. Format and scheme remain default

 Click "Erase", the program will execute automatically, after the erasing process is complete, click "Finish" to continue.


6. Next, exit Disk Utility, click the red button in the upper left corner to close


7. From the main menu, choose to install macOS Big Sur, click "Continue"


Select the hard disk you just formatted and click Continue.

 The next step is to wait patiently

There will be several restarts during this period, just wait patiently


This is all a small scene of waiting, be patient, be patient, and wait for it to install. The speed of installation still depends on the performance of the host.


After restarting several times, the code and the Apple logo flashed, and came to the screen of selecting a country or region, which can be selected according to actual needs.

Next, voice input method, click to continue


Accessibility, after clicking


Migration Assistant, there is no actual migration requirement here, click "Later"


Next, you can log in to your Apple ID or click [Set Up Later]

Next, create a computer account, comprehensive, account name and password


Just keep going the rest of the way

Improve siri and dictation, after clicking here, skip


Choose your look, Light, Dark and Auto


Then, setting up your Mac


Next is the keyboard setting assistant, click the key of the keyboard as needed


Finally, check about this machine, the mac has been installed, and it is perfectly installed on virtualbox.

Note: Step 7, adjust the screen resolution
1, backup:
In order to better use the mac, do some supplementary operations. First, to complete the backup of the virtual machine, we generate a system snapshot. This is a very good habit with virtual machines, backup first.

On the menu bar of the virtual machine, click "Generate backup [system snapshot]"


Enter a name and description for the backup, then click OK.


There will be a progress prompt for the backup


2. Display resolution adjustment
The screen resolution of the newly installed mac is 1024*768, which is very small and inconvenient to use.

And on the display screen of the virtual machine, the size cannot be reset.

 At this time, we still need to use the command line to solve it under CMD.

C:\Users\Administrator>D:
D:\>cd \Program Files\Oracle\VirtualBox

VBoxManage setextradata "mac" CustomVideoMode1 1900x1200x32
VBoxManage setextradata "mac" VBoxInternal2/EfiGraphicsResolution 1900x1200

mac is the name of the virtual machine, 1900x1200 is the screen resolution I set myself, this can be specified according to my own needs, and the following x32 is the color format.


In CMD run as administrator, execute the command.

 After the command completes, restart the mac


After restarting the system, I found the progress bars on both sides of the virtual machine, and the screen resolution was adjusted successfully.


Check the monitor, the screen resolution is already 1920*1200


A good habit of using virtual machines, generate snapshot backups, generate snapshot backups, generate snapshot backups!


Finally, show the effect of using the full screen, OK!

Guess you like

Origin blog.csdn.net/qq_19731521/article/details/129246509