VirtualBox/Setting up a Virtual Machine/Mac OS X
< VirtualBox < Setting up a Virtual MachineRemarks
- PLEASE BE REMINDED THAT ACCORDING TO OS X END USER LICENSE AGREEMENT (EULA), OS X SHOULD ONLY BE INSTALLED ON MACINTOSHES. ANY OS X INSTALLED ON OTHER OPERATING SYSTEMS MAY BE DEEMED AS A VIOLATION OF EULA. USERS MAY RISK BEING CHARGED BY APPLE INC. NEITHER THE EDITORS OF THIS BOOK NOR WIKIBOOKS WILL BE RESPONSIBLE FOR THIS ISSUE.
- Due to copyright restrictions, no screenshots will be provided.
Create ISO Installation Media
- Download OS X file from App Store.
- When download finishes, find the app, and click "Show Package Contents".
- You will find a InstallESD.dmg file. Extract it.
- Open "Disk Utility"
- Choose Image > Convert
- In the window, choose the InstallESD.dmg to convert and the disk type to be "DVD/CD-R master for export". Also choose the name for installer disk and the final destination. Then click "Convert".
- After conversion completes, you will see a .cdr file in your destination folder.
- Open "Terminal"
- Type hdiutil convert /(source path)/OSXInstaller.cdr.dmg -format UDTO -o /(destination path)/OSXInstaller.iso in "Terminal"
- Check destination folder. This is your file for installation in VirtualBox. There should be a .iso file extension.
Installation in VirtualBox
- Open VirtualBox. Click "New"
- Type the name for virtual machine and OS X for type. Choose your version.
- Select memory size.
- Select "Create Virtual Disk Now"
- Choose VDI for format.
- Select storage name and size. The size should be at least 32 GB.
- Go to "Settings"
- Go to "Storage" Tab
- In the SATA controller, click "Add Optical Disk".
- Insert the .iso file.
- Go to "Display" tab.
- Set video memory to maximum value.
- Quit "Settings"
- Boot by clicking "Start".
- When it boots, you will see some data being displayed.
- After a while, you will need to choose the language for installation. Choose your own language.
- Then you will be asked where to install the OS X.
- On the upper-left corner, you will see a "Utilities" button. Click it and select "Disk Utility".
- You will see a window with different storages on the left. Choose "VBOX HARDDISK Media".
- Erase the Storage by clicking the "Erase" button on the top.
- You will be prompted to enter the name for the storage. Enter your desired name and continue.
- Wait for the process to complete. Then quit Disk Utility.
- You will find a new storage media, which is like a hard disk. Choose that storage for the installation of OS X to install.
- After installation completes, the virtual machine will automatically shut down. Go to "Settings".
- Go to "Storage" section to eject the .iso file.
- Boot virtual machine again.
- Choose system language.
- Choose allow location or not.
- You will be asked to enter your Apple ID. Even if you have an Apple ID, do not enter now.
- Accept EULA of OS X
- Restore Time Machine Backups (if you have)
- You will see the main page of OS X, open App Store.
- Enter your Apple ID and sign in...
There should be 2 scenarios...
- Scenario 1: You will sign in within a short time. Congratulations! You have done it!
- Scenario 2: It took ages. Stop signing in and check the FAQ below.
FAQ
Why can't I install OS X, or why do I have to wait for ages to sign in?
In case the installation can't be completed...
It will be quite problematic because you need to enter commands through "Terminal" in host machine.
In case you can install OS X, but you can't sign in normally...
It will be relatively easy.
This article is issued from Wikibooks. The text is licensed under Creative Commons - Attribution - Sharealike. Additional terms may apply for the media files.