Environment
- Time: 2018.04.09, tutorials with no time specified are bullying
- Notebook: A state elegant a460p-i7g d2,4g memory, Intel core I7-2670QM four core eight thread (old laptop barely available), SSD hard drive, Win7 system.
- virtualbox:5.2.8 (currently the latest version)
- Macos:macos High Sierra 10.13.iso, the latest version of ISO not found,
79536388 downloaded in the image
Create a virtual machine
You can refer to https://www.cnblogs.com/ios9/p/7519302.html the installation method provided
Basically press VirtualBox default settings to create a virtual machine can be, I repeatedly installed a lot of times, the CPU, memory, video memory tuning basically what to set, the system type casually choose, as if the choice of Windows also does not matter. focus on the following set some parameters of the virtual machine, in fact, can be modified by the virtual machine VBox file to achieve, after the said:
MacOS10.13是虚拟机的名字cd "C:\Program Files\Oracle\VirtualBox\"VBoxManage setextradata "MacOS10.13" "VBoxInternal/Devices/efi/0/Config/DmiSystemProduct" "iMac11,3"VBoxManage setextradata "MacOS10.13" "VBoxInternal/Devices/efi/0/Config/DmiSystemVersion" "1.0"VBoxManage setextradata "MacOS10.13" "VBoxInternal/Devices/efi/0/Config/DmiBoardProduct" "Iloveapple"VBoxManage setextradata "MacOS10.13" "VBoxInternal/Devices/smc/0/Config/DeviceKey" "ourhardworkbythesewordsguardedpleasedontsteal(c)AppleComputerInc"VBoxManage setextradata "MacOS10.13" "VBoxInternal/Devices/smc/0/Config/GetKeyFromRealSMC" 1
Does not use modifyvm "MacOS" --cpuidset This command, does not affect the Mac system boot (installs the system shadow does not affect does not have the test), adds this command to affect the PE disc system to boot.
Installation system
Virtual machine mount ISO system image file, start the virtual machine, if no problem will be able to install the system, not multiple start several times, if you do not enter the Mac installation interface is not clear (before the test has not been in the installation interface to give up). Simple Setup System installation complete
was under xcode9.3, and later found that the 10.13 system was obsolete and not supported, hemp eggs
Kernel_task Consuming CPU issues
Use of the process found kernel_task this goods crazy occupy the CPU, according 77164795 to the method of the file to kill, just a little better
Dry system files need to enter recovery mode to execute csrutil disable to change the file, 10.12 system VirtualBox can go directly into the recovery mode (unfortunately apple configurator 2 does not support this system, the old version also did not find the way), 10.13 has been stuck IOConsoleUsers: gIOScreenLockState 3, hs 0, bs 0 now here, do not know how to do, can not change the system files like the phone can not be used as root uncomfortable.
How to enter the recovery, when the virtual machine starts, press windows徽标这个键+R and hold, do not enter repeatedly restart 右Ctrl+R , windows徽标+R .
10.13 can't get in even! With PE head office bar, download the U disk boot making tools, do not do a U disk, only generate ISO boot files, this is relatively simple. And then:
- set the virtual machine to remove the Enable EFI feature from the system (recovery is done).
- Open the virtual machine vbox file (
C:\Users\Administrator\VirtualBox VMs\ inside), the Extradata in the VBoxInternal/Devices/efi/0/Config 5 row deleted (after the recovery, or Mac can not start), in fact, these lines are the above command line set
- Then the virtual machine mounts the PE boot disk
- Start the virtual machine into the PE to kill the files that need to be killed (if you can't start PE maybe it's done
modifyvm "MacOS" --cpuidset ).
The files that need to be killed.
Later found that Mds_stores also occupy the CPU, reference 51329621 PE inside directly kill files.
The world is quiet, although kernel_task use a bit more CPU, but much better:
Use
xcodeNo outfit, a few days ago with 10.12 installed a bit 8. A few, not installed, has been stuck, gave up.
apple configurator 2Installed a test, can be downloaded in the AppStore installation, is open a bit of a problem, but does not affect the features I want to use:
End.
Win7 laptop VirtualBox install black Apple MacOS 10.13