Install Win10 on Mac VirtualBox virtual machine

[Written in the front] I
just got a Mac, it is really cool to use, but to run the exe gadget, I had to install a virtual machine, and then to simulate the windows environment. After shopping on the Internet, I finally got the courage to start. Let's record the entire installation process. First, make a record of your own operations, so that you can find the cause of errors in the future; second, it will drip muddy water for friends who encounter problems like me in the future, not much nonsense.


[Mental journey]
First of all, my problem is: Mac can't run exe, and the Visual Studio that I'm used to can't be used either. Someone asked me why I don't use VS Code + Cmake. I tried it, but I am not used to running it. I have to have a period of adaptation. So I need a windows environment. At present, I have two methods, one is to install a windows dual system, and the other is a virtual machine. I have installed the windows + ubuntu dual system on an old computer before, and I have experienced the "pleasure" of installing a dual system. This time I changed a trick and wanted to play with a virtual machine. Only by sitting off loneliness can one regain the noise; when the sorrow is exhausted, one can see the joy again; after tasting the bitterness, one will naturally return to happiness. . (Mainly because the old computer is too low, this wave of bosses has assigned a good one, so let's do it)

OK, you are sure to install a virtual machine, so what virtual machine should you install? There is a problem, I know . There are three types of virtual machines to choose from: Parallels Desktop, VMware Fusion, and VirtualBox. Someone on Zhihu said:

Parallels Desktop 14 is the most powerful and commonly used virtual machine software for mac systems. It can simulate and run Win, Linux, Android and other operating systems and software simultaneously under Mac without restarting the computer, and can switch between different systems at will. The latest version of the pd virtual machine Mac version can display reduced disk, memory and CPU usage, and is optimized for macOS Mojave (10.14) and Windows 10 updates. The latest Chinese version of PD14 has updated more than 50 new features, allowing you to change Make the most of your Mac! - For money,
VMware Fusion Pro 11 for Mac is also one of the most popular virtual machine software on the Mac side. The Mac version of the VM virtual machine allows you to easily use Apple’s macOS and Mac hardware. It runs Windows, Solaris, Linux and Netware operating systems. It can help users to run Windows and hundreds of other operating systems or Mac applications in parallel on the Mac! – Asking for money
VirtualBox is free! free! free!

As a veritable iron cock, I did not hesitate to choose VirtualBox.

Ok, I'm sure to use VirtualBox, then install win7 or install win10? Taking into account that the frequency of software updates will become faster in the future, some software no longer supports the old version of the operating system, such as: office 2019 can only be installed under win 10; plus I have enough confidence in my mac and hesitate Again, I chose win10.


The text is coming! !

1. Download required

1. VirtualBox installation package

Official website: https://www.virtualbox.org/wiki/Downloads

Insert picture description here

2. Download the win 10 image file

2. Installation history

1. VirtualBox installation

The downloaded file is a dmg file, double-click to open, and then double-click pkg to start the installation,
Insert picture description here
all the way to next, or ok, and finally it appears on the launch pad, Insert picture description here
indicating that the installation is complete!

2. Install win10

1. Start VirtualBox on the startup console, and then click "New"
Insert picture description here
2. Select "Expert Mode"
Insert picture description here
3. Set up:
Insert picture description here
4. Create a virtual hard disk afterwards: In
Insert picture description here
this step, I didn't change the default option. I gave 50G for the file size, which can be allocated according to my needs.

Click Settings,
Insert picture description here

5. Right-click -> Start -> Start normally.
Insert picture description here
Sorry, this step did not succeed (if not successful, see trouble1 below). Don’t worry about success,
Insert picture description here
choose language, install

Insert picture description here
Nothing else, just like the normal installation of the system, the final installation is complete:
Insert picture description here

3、trouble

1. After step 4, I want to double-click to start. I encountered this problem.
Insert picture description here
Kernel driver not installed (rc=-1908) Make sure the kernel module has been.
This is the error code.
There are many posts about this problem on the Internet. I have read them all. Found that there is no use for eggs. It should be restarted. There seems to be a prompt when installing VirtualBox. I forgot to say anything. There must be a system word. After restarting, the error will not be reported. After I installed VirtualBox, I knew I had to restart it, but I didn't care about it, so I reported this error. I saw the following post and remembered:

https://ask.csdn.net/questions/716623

2. After full screen, it is very small. It's like this.
Insert picture description here
This is what I found from the Internet.
At this time, you need to install the plug-ins. The specific operations are as follows:
1. Click the virtual machine interface with the mouse to focus it on VirtualBox, and then click Divices->Insert Gu...
Insert picture description here

2. Enter windows, open my computer, and install it
Insert picture description here
. After the installation is complete, you need to restart the virtual machine. After that, it can be displayed in full screen, mine can be displayed in full screen, but the characters are very small, so you can right-click in the windows virtual environment -> display settings -> change the text and item size (percentage) to adjust the size.
ps: I found the above picture directly from the Internet, so the resolution is a little bit stretched.


At this point, it has been perfectly installed! !

Three, use skills

1. Shared folders

1. Start virtualbox, select the virtual machine, click settings, and click shared folders;
Insert picture description here

2. Download VBoxGuestAdditions_ version number.iso, for example, the VirtualBox under me is version 6.1.16, the download address is:

http://download.virtualbox.org/virtualbox/6.1.16

Insert picture description here

3. Focus the mouse on Devices -> Optical Drivers -> Choose a disk file... on the virtual machine, and then select the ios image file you just downloaded; then a Z disk appears in the virtual machine win10 environment, this is what I just shared That folder
Insert picture description here

4. Effect: I created a new folder under the virtual machine-win10, and
Insert picture description here
after another screenshot , I returned to os:
Insert picture description here

2. Share clipboard

Settings -> General -> Advanced
Insert picture description here

3. Shortcut keys

1. Comparison of commonly used shortcut keys between os and Win_os (win10 under virtual machine)

effect you Win_os
Copy text command+c control+c
Paste text command+v control+v
Cut text command+x control+x
select all command+a control + a
Revoke command+z control+z
Copy files command+c control+c
Paste file command+v control+v
Cut file command+c ->command+option+v control+x -> control+v
Delete Files command+backspace fn+backspace
Delete files completely command+option+backspace fn+backspace+shift
Switch input method Chinese / English shift
Find command+f control+f
Comes with full screen screenshots command+shift+3
Bring your own area screenshot command+shift+4
QQ screenshot control+command+a

PS: The empty ones are currently unknown.
2. Virtual machine shortcut keys

  • Execute command + P, pause function, that is, the screen will be frozen and cannot be operated. If you want to resume, execute command + P again
  • Execute command + F, full-screen mode function, the following dialog box will pop up, click the switch button, it will switch to full-screen state immediately
  • Execute command + N to view the current running status of the virtual machine
  • Execute command + R, restart the function, click the Reset button, the system will continue to restart
  • Execute command + Q, exit the system, a dialog box pops up, click the "OK" button, and the system will close
  • Execute command + L to switch to seamless mode, a pop-up dialog box, click the "switch" button, it will switch, I personally think this is a more practical function
  • Execute command + S, the setting interface of related information of the virtual machine pops up

Source: https://jingyan.baidu.com/article/3052f5a134c2a797f21f8677.html


[Written at the end] After
a day of tossing, I basically achieved my goal, but the virtual machine is stuck well and running small programs is fine. It is not recommended to run programs that are easy to get stuck on the virtual machine, like VS...

Guess you like

Origin blog.csdn.net/Gou_Hailong/article/details/109988235