Thursday, March 15, 2012

Install Snow Leopard 10.6.2 in VisualBox on Windows 7

        To develop software for iOS, you need a Mac system. However, it's too expensive if you buy a Mac system just for learning how to write code on iOS especially when you are not sure if iOS or Mac software development is suitable for your taste. Naturally, virtual machine becomes inevitable inexpensive choice for studying purpose. There are a lots of articles on internet talking about installing Mac OS on virtual machine. This blog is a simple guide based on those articles.

       To install Snow Leopard 10.6.2, we need following software:
              1. Snow_Leopard_Client_Server_10.6.2_SSE2_SSE3_Intel_AMD iso.
              2. Boot loader iBoot (iBoot-Legacy-2.7.2 works for me, someone else may want to try iBoot-3.2.0)
              3. VisualBox (the one I used is 4.1.8).

       Preparation:
              1. Enable the VT-X / AMD-V CPU feature in BIOS of your motherboard.
              2. Create a Mac OS VM in VisualBox. The most important thing is UNCHECK the "Enable EFI" checkbox in system page.

       Install Snow Leopard 10.6.2:
              1. Mount Snow_Leopard_Client_Server_10.6.2_SSE2_SSE3_Intel_AMD iso to VM's DVD drive. Start the VM.
              2. Install snow leopard using default setting.
              3. Unload Snow_Leopard_Client_Server_10.6.2_SSE2_SSE3_Intel_AMD iso and load iBoot-Legacy iso when the installer reboots VM.
              4. Use iBoot boot the installed snow leopard and finish the post install configuration.

       You may need iBoot to boot every time when you reboot the VM.
      
       To check your Mac OS version in terminal:
              $ /usr/bin/sw_vers
              ProductName: Mac OS X
              ProductVersion: 10.6.2
              BuildVersion: 10C540
              $

No comments: