There are a few good articles explaining how to install Mac OS X on VirtualBox and a lot of people had reported success:
But unfortunately, when I try to install on my Lenovo ThinkPad X201 with Core i5 M520 CPU, none of those guide worked. I couldn’t boot up the Mac Installer DVD from the virtual machine. After a number of hours try and error, I finally got to the conclusion that all my failures were because, the boot loader and OS X version combinations that I tried, none of them supports my Core i5 CPU.
I then searched up and down for the support of Core i5 boot loaders. With help from my friend, I found this page. It has no mention of VirtualBox but the tools and instructions worked for me. When I was about to write a full blog of the detail steps, I came to know from Dinesh that he actually had a post about using iBoot with VirtualBox, which was pretty much what I did.
Now you have two options to go. a) Use a pre-built VirtualBox disk image (.vdi) that has both Snow Leopard 10.6.4 and boot loader pre-installed; b) install manually step by step yourself.
Using Pre-built Disk Image
This is an easiest option to go,
- Download the the disk image following the links provided in the end of all steps. Total 7.5G compressed and 12G expanded.
- Unzip it using 7-Zip, a really cool free utility that can open almost any compressed file including .iso image.
- Rename the downloaded vdi file to something reads better to you, say SnowLeopard.vdi and place it in the your virtual disk image folder. You can find your Default Hard Disk Folder in settings of the VirtualBox console (File->Preferences or Ctrl-G)
- Complete only the step 1 of the instruction here to create the Virtual Machine, except that do NOT create the hard disk as we already have one, acknowledge to the warning message and continue.
- Go to setting of the newly create VM and selected the Storage on left. Keep the CD/DVD drive and delete all Virtual Hard Disks if you accidently created in last step. Add a SATA Controller and select the newly downloaded vdi file. Use the folder icon with green arrow to add the disk if it is not already in the Hard Disk dropdown list.
- Start the VM and have your Mac OS X running, the user id and password are both “vbox”.
- To change the screen resolution, follow the instructions in the manual install option.
Snow Leopard 10.6.4 pre-installed bootable VirtualBox disk image download links from fileserve:
- VirtualBox-Snow-Leopard-10-6-4.7z.001 MD5:04f1bfd7b581eefc6ff3af21d708d678
- VirtualBox-Snow-Leopard-10-6-4.7z.002 MD5:f8f5ccd92dd92678f06a716836c89b5e
- VirtualBox-Snow-Leopard-10-6-4.7z.003 MD5:313efd49fab57508e6408fc2ebba8d1e
- VirtualBox-Snow-Leopard-10-6-4.7z.004 MD5:f0e7f0b95ffff405a64db13f144e03ad
- VirtualBox-Snow-Leopard-10-6-4.7z.005 MD5:34408bf64c89469e694e8e7731742d55
- VirtualBox-Snow-Leopard-10-6-4.7z.006 MD5:92f17379ab9192f761adbd8b7948f7b3
- VirtualBox-Snow-Leopard-10-6-4.7z.007 MD5:d4a7f1c6e0f597fd2b60af14bed88a1a
- VirtualBox-Snow-Leopard-10-6-4.7z.008 MD5:3838445f3cb21e08bf2b939061a3f184
- VirtualBox-Snow-Leopard-10-6-4.7z.009 MD5:4226544fafe37a0e92addf2d0758d3e7
- VirtualBox-Snow-Leopard-10-6-4.7z.010 MD5:c097ca3b019e6c6ba3fad2b46a424aa3
- VirtualBox-Snow-Leopard-10-6-4.7z.011 MD5:fc590c3dde7cc282a4118d26907f503a
Install Using iBoot and Snow Leopard Retail DVD image
Somebody may prefer this option because it allows you customize the installer where you can select if you would install the additional languages and print drivers. I’ll save my time by introducing you to that post for most of it and just noting down things that you need to watch out here.
Lenovo ThinkPad X201, Core i5 M520 CPU, 4GB RAM, Integrated Graphics, Windows 7 Ultimate 32bit, VirtualBox 3.2.8
I have Snow Leopard 10.6.3 Install DVD iso image on hand and so that’s what I used. I believe 10.6.4 will sure work and 10.6.2 is the first version supports Core i series CPU so it “should” work too. Anything older than that won’t work, don’t bother trying.
Install Boot Loader to HDD
It is very important that you must update to 10.6.4 before installing the boot loader from MultiBeast package. Otherwise, your Mac won’t boot at all, not even from the iBoot boot loader iso. Always take a snapshot of your VM before you do this.
There are three methods described on this page. I tried first one, doesn’t work, than I tried 2nd one, I cannot start VM. So eventually, that’s how I made it work.
- You need both method 1 and 2, any one along won’t work.
- You must have the boot loader installed to HDD first, i.e. you must be able to boot directly from HDD.
- For method 1, you must edit the plist file under /Extra, not the one under /Library/Preferences/SystemConfiguration.
- The command line described in method 2 will corrupt your machine XML file. I had to edit the file manually. To edit the XML file:
- Find the location of the xml file by going to File->Preferences of you VirtualBox console and get the value of Default Machine Folder (see the image above). Go to that folder and see <Your Machine Name> sub folder. The XML file is there.
- Shutdown all VM instances and also close VirtualBox console. This is very important as otherwise your change will be overwritten.
- Backup <Your Machine Name>.xml file.
- Use any text edit to add below line right under <ExtraData>, and set the resolution that you want, make sure it is the same resolution was what you set in the com.apple.Boot.plist file.
<ExtraDataItem name="CustomVideoMode1" value="1280x800x32"/>
The final xml should look something like below:
... ... <ExtraData> <ExtraDataItem name="CustomVideoMode1" value="1280x800x32"/> <ExtraDataItem name="GUI/LastCloseAction" value="powerOff"/> ... ...
Good luck and your mileage may vary.