Objective
Previously wrote an article on Windows to build the OBJECT-C development environment, and wrote a HelloWorld program. But the real development of Apple software is in Mac OS x system (hereinafter referred to as OSX). What if I can't afford a MacBook or OS X system? It's time to think of using a virtual machine to install an OSX, is that OK? Let's look at the problem here.
Note: The following discussion of computer-installed OS X systems refers to the installation of OS X systems on virtual machines.
Is my computer supported?
First give everyone a very positive answer, your computer can install OS X. OS x system is divided into a number of versions, which version can be installed? Looking at the data, Apple has deprecated 32-bit systems starting with OS X 10.8. An important indicator of installing OS X is whether the CPU supports virtualization Technology (virtualization technology, hereinafter referred to as VT). Therefore, the ability to support a higher version of OS X is this. Computers that support VT can install the latest version, and computers that do not support VT will only be installed to OS X 10.6.8 at the most. How do you tell if the CPU supports VT? We use the securable software (software in the "Preparing for Work" section), which detects whether the CPU supports VT.
For example, if the English letter of the third item says "No", then the installation of the high version of OSX is not supported. (There will also be the "Locked" keyword, which requires the BIOS to turn on the virtualization option.) We know the features of our CPUs and it's easy to find the OS X system installer that fits your computer.
Preparatory work
Prepare for a lot of things, in addition to software, but also need to have a certain knowledge. Need to have a certain understanding of the virtual machine children's shoes, do not know the virtual machine to search for it. Blogger put a brief look at the environment in which he installed OS X. Windows XP, virtual machine VMware Workstation 9. The required software is as follows:
1. Software
SecurAble
Vmware 9
Unlock-all (This software contains patches to unlock VMware installation OSX and VMware OS X drivers)
After securable detection:
Support Vt:os X 10.8 or later
does not support Vt:os X 10.6.8 or less
Blogger recommends that if you support VT, it is recommended to use the "OS X 10.8 Install Dvd.iso" image, which is OS X 10.8.4 after installation. If VT is not supported, it is recommended to use the Donghuang V2.2, which is also an ISO image, without conversion, and OS X 10.6.3 after installation.
Also attached:
SecurAble (PCHome) Unlock-all (Thunderbolt Express) support Vt:os x 10.8.4 install image (Thunderbolt fast) does not support VT: Donghuang V2.2 Install image (ed2k address) Mac OS X 10.6.3
Donghuang V3.2 Install image (ed2k address) Mac OS X 10.6.5
(VMware find it, a lot of resources on the Internet.) )
Start installation
Everything is ready to start installing OS X. Because some of the long CPU support VT, some do not support. In order to carry forward the spirit of inquiry, blogger in support of VT, not support VT installed on the computer, in order to take care of everyone, here I divided into two situations to discuss. Please see what kind of CPU you are in.
Support VT
Supports VT, which is easy to set up. First, install VMware, and then run Unlock-all when you turn off VMware. The purpose of using Unlock-all is to choose Apple OS X When you create a new virtual machine.
The installation process was smooth and no problems were encountered. (Will not install can look at the VMware install OSX tutorial and VirtualBox installation OSX tutorial) if the installation of problems, you can start with the "-V" parameter, the error message to see the web search on the corresponding solution. Installing the driver directly after installation is possible. To install the driver, see the section "Installing drivers" later in this article. After the driver is installed, you can adjust the screen resolution. By the way, attach a picture of the installation success
VT Not supported
The focus of this tutorial is to not support Vt. First, create a new virtual machine first. Type Select "Advanced (Custom)", System select FreeBSD, virtual disk type must choose "SCSI", disk capacity is recommended more than 10GB.
After creation, you need to edit the virtual machine settings. Select the optical drive, put the ISO image downloaded on the Internet and click "Advanced". Change the IDE type to SCSI type and select "SCSI 0:1". After setting this, enter OS X system to recognize the optical drive.
Turn on the virtual machine and wait for the boot interface. Press "F8" in the interface and enter:
-V Cpus=1 arch=i386 busratio=20
Its role is to enter the installation program to install the 32-bit OS X system. Wait a moment, if the above settings are correct, you can enter the installation interface. First select the installation language, then click on "Disk Utility".
The next operation is partitioning. Select "Partition tab", select partition input and partition capacity, then click "Apply". Hint: partition to choose Well, install the system after the change is difficult to modify. Virtual machine does not matter, blogger here directly divided into 1 districts.
Close the disk utility, and then select the partition that you installed. After the installation is confirmed, there will be a "custom" button on the left, which will appear after opening.
There are a number of cores, which are selected according to their own CPU and components described below. And only 1 can be selected for this item. Blogger for Intel CPU, here choose Legacy this kernel. After the choice, expand the "Hardware Driver", it is recommended that the "Ethernet card" in front of the tick, or installed to the end of the card will not be installed in the driver and the OS X is not on the network.
The next step is the lengthy installation process, which is waiting slowly. When finished, there will be "installation failed" Such a hint, do not care about it, in fact, is now installed successfully.
After rebooting, enter the Chameleon boot menu in the same way, select the partition you just installed, and proceed to install with the same parameters as the installation screen.
The rest of the installation steps are simple and are no longer demonstrated in each step.
Installation drive
After the system is installed, the next step is to install the driver. Installation of the driver is relatively simple, the installation of the image in the Unlock-all decompression, there is a darwin.iso, the file loaded into the CD-ROM drive. Note that the blogger uses the Donghuang V2.2 inside, can not directly replace the CD-ROM, need to enter the Finder, press the button next to the disc, and then change the disc.
Once the CD is loaded, double-click Install Vmware Tools, and then follow the normal installation of the software. 1 minutes before the installation is completed, the speed will be very slow, this time do not forcibly quit, or it is likely to appear "five countries" situation, patience to wait for a moment, the installation needs to be restarted.
Show
Look at it! Computers that do not support VT can also use VMware to install OS X. Experience OS X systems and start here. What do I need to do next when I install OS X system? Echoing the preface, the next step should be to install an IDE integrated development environment! In OS X, you can use Xcode to develop an OS X, iOS system. If you need to install Xcode, you can go online to find the installation. Finally, a "flag" in OS X 10.6--Snow leopard.
This article was reproduced from: http://www.mengjx.com/mac-os-x-in-virtualmachine.html
Install Mac OS x tutorials in virtual machines (for all PC methods, especially PCs that don't support hardware virtualization)