Hackintosh 10.6.7 – Snow Leopard on VirtualBox 4 with Working Sound

Snow Leopard on VirtualBox 4

We have published several guides on installing Mac OS X in normal PC with desktop virtualization software. You can find out all guides related to this topic here. Each guide is having several issues and drawbacks. Therefore I decided to publish another revamped complete guide on hackintosh 10.6.7 Snow Leopard on VirtualBox 4 with working sound.

Before continue the installation steps, let me summarize important issues fixed in this guide.

  • This works with original (vanilla kernel) retail DVD or ISO file. No need to download any hacked OS X distributions.
  • Third party boot loaders are not required to load the original Snow Leopard DVD or ISO file.
  • Shutdown and Restart of Virtual machine works without crashing.
  • ‘About the Mac’ option works without crashing and properly reading processor and memory (Intel Core2duo is in my case)
  • Can be updated to latest 10.6.7.
  • USB keyboard and mouse issue fixed after 10.6.7 update.
  • USB storage (Flash disk or external hard disk) access crashing issue fixed.
  • Sound is working inside Virtual machine, Bravoo…… Smile
  • 5 Screen resolution sizes can be adjusted
  • Shared folders between Mac OS X guest and Windows host for data sharing

 

What’s You Need?

1) Snow Leopard retail DVD – More information available on how to Rip the DVD to ISO format if you face any issues.

2) Hardware Virtualization Technology (VT) Enabled Computer in BIOS – Read this guide how to enable Virtualization Technology (VT) in BIOS and Confirm.

3) Latest VirtualBox and Its extension pack, as of today VirtualBox 4.0.4 is the latest. Read more here about extension pack installation and download

4) Bit patient Winking smile to read this full guide and other several guides I point out.

 

My Demonstration PC

Intel Core2Duo 2.66GHz, 3GB RAM, Intel P35 chipset with Windows 7 32Bit Host OS.

Since I don’t have other processor computers, I can’t guarantee this guide for all types of processors, but I’m sure this will work on most of the Intel processor computers, AMD users must be lucky with this method, but it’s possible too.

 

Step by Step Guide for Hackintosh 10.6.7 Snow Leopard on VirtualBox 4

1) Create a new virtual machine with Operating System type – Mac OS X and Version Mac OS X Server.

2) Configure RAM size (Minimum 1GB, Recommended 2GB) and Create new hard disk (20GB will be enough, but you can assign more).

3) Go to the newly created virtual machine’s settings and adjust the System settings as shown below.

Snow Leopard on VirtualBox 4

The things you must check here,

  1. Floppy drive removed.
  2. Chipset selected to ‘ICH9’ (New chipset supported from VirtualBox 4 versions)
  3. Enable IO APIC, Enable EFI (This is the built in Boot loader for Mac OS X)

4) You can go to Display and adjust the maximum settings. To be honest, I don’t know how this will improve the video performance inside Mac VM, just hoping…..

Snow Leopard on VirtualBox 4

 

5) Go to storage option and mount the ISO file or select the host DVD drive here.

desktop virtualization software

If you want to install with Snow Leopard original retail DVD (Get it here) by inserting into host drive, select the Host drive option and make sure Passthrough is enabled as shown below.

Snow Leopard on VirtualBox 4

 

6) Go to USB options and make sure ‘Enable USB Controller’ and ‘Enable USB 2.0 (EHCI) Controller’ selected.

Check the sound option and confirm ‘Windows DirectSound’ and ‘Intel HD Audio’ options are selected. Intel HD Audio is the new virtual audio controller added with VirtualBox 4 and later versions, this driver works inside Snow Leopard virtual machine.

7) Check the installed VirtualBox extension pack on host computer. Extension pack should be installed to support USB2.0 in Snow Leopard VM, if not you will get crashing screen while trying to access USB storage.

Here is the guide about USB crashing problem

Check this guide how to install VirtualBox VM Extension Package

oracle virtualbox extension pack

8.) Now go to virtual machine’s folder ( C:\Users\User-Name\VirtualBox VMs\Virtual-Machine-Name) and open the .vbox file in word processing software like MS WordPad.

Snow Leopard on VirtualBox 4

9) Enter the following string in the location mentioned in example file.

<ExtraDataItem name=”VBoxInternal2/SmcDeviceKey” value=”ourhardworkbythesewordsguardedpleasedontsteal(c)AppleComputerInc”/>

Here is the example file of working Snow Leopard in VirtualBox 4.

extra_xml_thumb1

 

The above extra string helps in several ways to install Snow Leopard in VirtualBox 4.

  1. Original Vanilla kernel installation with original retail DVD
  2. VirtualBox built in EFI boot loader works here. So, you do not need any third party boot loaders.
  3. Shutdown and restart of VM works (no hanging screen)
  4. ‘About the Mac’ screen works inside snow leopard virtual machine.

 

10) Power on the virtual machine now. Installation must start normally without any issues. Follow more installation steps and how to create partition during the installation in this guide.

Complete the initial setups and configurations. I’m sure you will land on working Snow Leopard desktop in VirtualBox 4.

 

Some Post Installation Setups and Configurations on Snow Leopard 10.6.7 on VirtualBox 4

1) Network, USB Access inside virtual machine

NAT and Bridged networking modes worked straightaway inside virtual machine.

USB storage access such as Flash disk and external hard disk worked fine without any issues.

Important Note – You must install VirtualBox Extension Pack before access USB

2) Sound

That’s a really great news for hackintosh users in Oracle VirtualBox. New VirtualBox 4 and latest versions’ new motherboard and sound chipset support sound in Snow Leopard. I can hear 90% clear and unbreakable sound from VM.

working sound in Snow leopard on Virtualbox 4

Double check the main chipset type under System was set to ICH9 and Audio Controller set to Intel HD Audio as shown above. I’m not sure how this will work in AMD based computers.

working sound

3) Screen Resolution Sizes

Since we do not have proper VirtualBox guest additions tools for Mac OS X, we have to use manual methods to modify screen resolution size to 5 options.

Check the below guide and user comments to find out the correct working method for you.

Increase Mac OS X Snow Leopard Screen Resolution Size in VirtualBox

4) Latest 10.6.7 Update

It worked fine. Because of this is purely running from original vanilla kernel without any hacked versions, the update (software or manual) to 10.6.7 installed well.

Just check this guide where to download combo and separate Snow Leopard 10.6.7 update and run the installation.

Take a snapshot before run the update.

hackintosh 10.6.7 on VirtualBox

5) Shared Folders in Snow Leopard Virtual machine and Windows 7 host

Though, VirtualBox shared folders can’t be used here without guest additions tools, we can use normal file sharing between Mac OS X and Windows by setting up network. You can share large amount of data by this step.

More information available here to setup shared folders in Mac OS X and Windows 7

 

I hope this guide will be useful in running latest Hackintosh 10.6.7 Mac OS X Snow Leopard on VirtualBox 4 for testing and learning purposes.

You can’t expect the all full features as running on physical Apple hardware, but still its useful for experiment purpose with your normal PC.

You can download free eBook from Sysprobs for more useful installation methods, tips and tricks on Hackintosh on desktop virtualization software VMware and VirtualBox.

Feel free to drop some comments, success and failure installation attempts, I will be happy to help you.

Have fun.

Comments

  1. Henry Chang says

    Dinesh,
    Thank you for your sharing.

    I follow your instruction to run Mac OS(10.6.3) in VM of Virtual Box. (virtual reference setup, add string in .vbox, install extension package, etc. )

    But the installed process always hangs after appearing mouse point.

    I am not sure what I miss. Would you please know what I miss in which process?

    Thank you.

    My Specs:
    C2D E7500
    4GB Ram (Host/Guest)
    nVidia PX9500GT
    VirtualBox 4.0.4

  2. tia says

    Does this guide suppose to work for ISO file of 10.6.3 or 10.6.4 OSX veriso? I keep getting “Still waiting for root device” (I’ve followed the guide exactly).

    Thanks

    Spec:
    CPU: Intel Core2 Duo E8400
    Host OS: Win7 64 bit
    Motherboard: Gigabyte EP43-UD3L
    Adapter: NVIDIA GeForce 9500 GT

  3. CJ says

    Dinesh,

    Thanks for this info! I didn’t get it to work at first, but after carefully following your instructions from the beginning, it worked like a charm. I was able to upgrade to 10.6.7 without problem.

    I have two questions for you:

    1) my CPU load is at 100% in my host (ubuntu), even though the OSX guest shows normal (~5-10%) load. i can hear my cpu fan on full speed while the OSX guest is running (but not for a XP guest). do you know what could be going on here? (apologies if this is the wrong forum for this question)

    2) why does adding this simple string to the .vbox file work? is this some kind of leak from apple? i’m a bit surprised that a little bit of text makes the problem go away. (please feel free to send me an email with answer if you prefer)

    Thanks,
    Chirag

  4. Nacho says

    All right… I’ve been trying this for hours and I can’t seem to get it to not crash. At step 9, when I put in the line and save it, either VirtualBox will say it’s corrupt or it will allow me to start but then crash right when I run the VM. Is there any cure for this problem? I am running an AMD 1090T Processor but only put in 4 cores for the VM. I also only put in 4GB’s of RAM out of the 8 that I have so I do not believe that my host is experiencing problems.

  5. VanDat says

    Hi Dinesh,
    I tried all of your ways..and all FAILED , shame on me !!!
    Using laptop. i7 on VirtualBox 4 . Just tried this last one i still got issue :
    I got the dot dot dot ( .. . . . . issue )
    efiboot loaded from device: Acpi(PNP0A03,0)/Pci(1F|1)Ata(Secondary,Master)/CDRO
    M(Entry0)
    boot file path: \System\Library\CoreServices\boot.efi
    .Loading ‘march_kernel’
    ……………………………………………………………………..
    …………………………………….
    root device uuid is’1CA47655-13E3-3073-A102-7B9CEC98BFEC’
    Loading drivers…
    Loading System\Library\Caches\com.apple.kext.caches\Startup\Extensions.mkext…
    ……………………………………………………………………..
    ………………………….

    Also , i can’t find the Element in the ( C:\Users\User-Name\VirtualBox VMs\Virtual-Machine-Name ) , it’s not there… it’s in the .VirutalBox folder , and tried to paste after a RUN, the line got deleted. Don’t know what going on.
    I’m using retail DVD iso.

    Any ideas ?
    Thanks in advance.

    • BenS says

      I have the same issue. On a Core I5 laptop and booting straight from DVD. I get this …. issue. I’m on VirtualBox 4.1 and added the line (as well as the element to the vbox file as the ExtraData element didn’t exist in mine initially. Don’t know what’s going on! Could use some help!

  6. Martin says

    “USB keyboard and mouse issue fixed after 10.6.7 update.”

    Hmm, I did a straight update to 10.6.8. and my mouse is stuck. I am running VirtualBox 4.1. (be careful! snapshots make the machine to go to Guru Meditation! It is known bug and I hope VB team will fix it… again. For now workaround is to Pause the machine befoire creating a snapshot).

    As I have a i3 CPU, I had to use iBoot method without EFI initially, so I could install 10.6. retail without problems, all working – network, sound, USB. After I updated to Combo 10.6.8., I ejected iBoot CD, enabled EFI back again and booted straight to a new 10.6.8. I guess, now I have to fix mouse/keyboard issue.

    BTW, that ExtraData section in .vbox file appears only after you launch virtual box at least once! But you can add the entire section manually, it will stay there. Just close Virtualbox and delete .vbox-prev file before you edit the .vbox file. If you don’t delete vbox-prev, vbox will get restored and you lose your ExtraData fields.

    And you should be able to set the screen resolution using one more ExtraDataItem:

    EfiGopMode value corresponds tto following video modes:
    0 – 640×480
    1 – 800×600
    2 – 1024×768
    3 – 1280×1024
    4 – 1440×900

    I found it on one forum, I haven’t tried it yet because of mouse issues.

    Also you can add more than one CPU core, but DO NOT DO IT before the update! And do not add more than 2GB of RAM, if you have assigned more than 64MB video memory.

  7. Ollin says

    After following the instructions, I get this message during the installation: Mac OS X can’t be installed on this computer.

    Here are my specs:
    Windows XP SP3
    CPU: Intel Core 2 Dual
    Memory: 4GB
    Virtual Box 4.0.4

    Your help will be appreciated.

  8. sautaja says

    I got the same error message too:

    Loading drivers…
    Loading System\Library\Caches\com.apple.kext.caches\Startup\Extensions.mkext…
    ……………………………………………………………………..
    ………………………….

  9. says

    I initially used an external USB disk to store the OSX virtual disk. Installation worked as normal but I was receiving errors on start up, probably there was some conflicts with the virtual USB hub support. Copying the virtual disk file on my notebook internal HD solved the issue and now OSX works like a charm! ^^

    My configuration: Intel Core 2 Duo CPU, Windows 7 Enterprise 64bit SP1, 8Gb RAM
    Virtual configuration: 1 CPU, 2Gb RAM, 64Mb video memory, 3D acceleration (no 2D), HD 240 GB
    Retail disk used during installation: Snow Leopard 10.6.3
    Virtual Box version: 4.1.2

  10. myself says

    Please help me in any way you can.

    I downloaded a retail mac osx snow leopard, but when i mount it in virtualbox, it just says “oracle virtualbox has stopped responding”

    I tried to convert it to iso, but same happens…

    What do i do worng?:(

    Could anyone perhaps help me through teamviewer?

  11. Charley says

    I have Ubuntu 11.04 and VirtualBox 4.1.2 r73507 and a moderate (or less) level of computer literacy with Ubuntu, Windows, and VirtualBox, but am a complete beginner with Mac.

    I tried to follow your instructions, but so far it won’t work.

    I purchased an OSX Snow Leopard CD.

    It begins to boot, and continues for a while, then says Bug and systemstart = False or something like that. I can’t remember the exact wording. Then I see the busy rotating CD image forever. i.e. – system hangs at this point.

    I realized my problem was probably related to step 9. I had NOT added that code to .vbox file because my host is Ubuntu, NOT Windows. I perceive your instructions are for a Windows7 host.

    However, since it did NOT work without that line of code added to the .vbox file, I decided to add it to the .vbox file exactly as you’d shown. Now I have a new problem. VirtualBox says OSX virtual machine is NOT accessible because:

    Couldn’t find end of Start Tag ExtraDataItem line 21.
    Location: ‘/home/charles/VirtualBox VMs/OSX-SL-Inst-1/OSX-SL-Inst-1.vbox’, line 21 (21), column 26.
    /home/vbox/vbox-4.1.2/src/VBox/Main/src-server/MachineImpl.cpp[685] (nsresult Machine::registeredInit()).
    Result Code:
    NS_ERROR_FAILURE (0×80004005)
    Component:
    VirtualBox
    Interface:
    IVirtualBox {c28be65f-1a8f-43b4-81f1-eb60cb516e66}

    ===

    I need instructions specificlally for installing OSX Snow Leopard in VirtualBox 4.1.2 with Ubuntu 11.04 host on my PC.

    Please help me. Thank you

      • Jacob says

        May I ask what you mean by “check double-quote characters around name and value”? I copied and pasted the whole line as is to the end of the ExtraDataItem list just above the 2nd . I’m having the same problem as the spinning CD image and it doesn’t change from that. Any help would be great.

        • MIke P says

          Sometimes, when you copy and paste text that contains quotes, the just pasted quotes aren’t recognized as quotes by the virtual box XML parser. So you need to go through the part that you pasted and retype the quotes to make sure that they are recognized as quotes and not some fancy representation of quotes (meaning they have different character code than what VirtualBox is expecting).

          • Jacob says

            OMG!!! You are amazing!!! I went in an changed erased the qoutes and retyped them back in. Everything just started working. Thank you so much Mike.

  12. bensge says

    hey guys!
    I have a really big problem with snowleopard:
    Everything worked fine after this tutorial. i used iboot bootloader. and the i forgot to make a snapshot pefore i installed 10.6.7 over software-update. everything installed fine a i rebooted osx. but now everytime i want to strat osx after a few seconds the “you have to reboot bla bla bla…”
    is there any way to get snowleopard back to work?
    Really need snowleopard…
    thanks for replies,
    bensge

  13. Ashkan says

    Hi guys , i know im late here! but i wanna know if i can install this on my AMD Phenom II X4 955 ? i see nobody talking about a sucsesfull instalation on an AMD platfrom so can anyone confirm that it will work if i download the ISO file ? tanx in advance .

  14. myself says

    how about putting updated nvidia drivers into it so we dont have to use 80% of cpu to use it all the time?

  15. MikeP says

    Running Snow Leopard in VirtualBox (4.1.4) using Windows 7 x64 as my host.

    Physical system:
    Intel i5 Core 2 quad
    6gb system memory
    ATI Mobility Radeon HD 5400 w/1gb dedicated memory

    I have the following settings in the VM:

    System memorj: 2048mb
    Display memory: 128mb (with 3D enabled)
    CPUs: 2

    I’m using the Chameleon bootloader in the VM.

    When I look in the Snow Leopard System profiler, it says that I have 4mb of display memory.

    Is there any way to fix this?

    Thanks!
    Mike

  16. tony says

    Thanks so much Dinesh

    I’m writing this from Snow Leopard on VirtualBox 4.1.6 on Windows 7 Ultimate x64 and my PC is:

    Intel Core i5 2500K
    MSI P67A GD65 B3
    HIS 6950

    The only problem that I have is that I cant change the resolution, it is only 1024×768 available and also About Mac dialog does not works, when I click on About menu I think the desktop is restarted

    But for now its working at least

    Again thanks so much for this tutorial

  17. Dusty says

    Hi! I tried everything but after it gets through the screen of code in the beginning, I get stuck at this grey screen with a mouse pointer. I’m using a Pentium Dual Core with 3GB of ram. Can someone help please? P.S Nice tutorial! :)

  18. Tobias says

    Hi,

    Mine doesn’t work, and I think it’s because i didn’t do step 9 right. Where do i put the string?

    • Mike P says

      -> Mine doesn’t work, and I think it’s because i didn’t do step 9 right. Where do i put the string?

      It goes into the .vbox file (an XML formatted file) that defines the virtual machine to VirtualBox.

      The easiest way to find the file is to open the VIrtualBox main application, right click the VM entry in the main application and select “Show in Explorer” (I’m running Windows as my host OS, on other operating systems the entry may be different).

      You’ll want to edit the file in something that can deal with XML formatting so that it’s easier to place the text from step 9 in the right location.

      • Jeff P says

        This doesn’t seem to work with current versions of VirtualBox – it seems to re-write the .vbox file on startup, even if it is marked read-only.

        • Mike P says

          Sorry, I forgot to tell you to close the VirtualBox application after opening the .vbox file. If you don’t, any manual edits you make are overwritten when you close VirtualBox application because Oracle wrote it to basically it reads the entire .vbox file into memory and then write it back out on exit, blowing away any manual edits.

          I found this out the hard way and it slipped my mind. My apologies and Merry Christmas!

  19. io says

    I can’t proceed with the install – “Mac OS X can’t be installed on this computer.”
    Restore From Backup / Restart are the next options

    I got this in the install log window: “_CFGetHostUUIDString: unable to determine UUID for host. Error 35″

    Any ideas how this can be fixed?

  20. Unbwogable says

    How can I get past the error below? I’m getting the following error when I try to select the ISO in storage settings:

    Failed to open the CD/DVD image C:\Documents and Settings\unbwogable\VirtualBox VMs\Snow Leopard DVD.iso.

    Could not get the storage format of the medium ‘C:\Documents and Settings\unbwogable\VirtualBox VMs\Snow Leopard DVD.iso’ (VERR_NOT_SUPPORTED).

    Result Code: VBOX_E_IPRT_ERROR (0x80BB0005)
    Component: Medium
    Interface: IMedium {53f9cc0c-e0fd-40a5-a404-a7a5272082cd}
    Callee: IVirtualBox {c28be65f-1a8f-43b4-81f1-eb60cb516e66}

  21. Grant says

    Unable to upgrade from Snow Leopard to Lion denied through Apple store.

    I succeeded in the install described in this excellent post; and run successfully run Snow Leopard.
    My Motherboard is a 64bit capable version of MSI (MS-7346) but I am running Windows 7 32bit.
    My VirtualBox version is 4.1.4r74291 [so it should have the fix for to handle Lion]
    I have an Intel Core 2 Quad CPU.

    I cannot set the Virtual machine via VirtualBox settings to anything other than 1 CPU. The Guest operating system fails to start.
    I am not able to run the Max OS update from the Apple store as it recognises the guest to have only one CPU.

    Any thoughts / Any Virtual Box extensions that can help me getting it working would be much appreciated?

    Thanks

  22. sam says

    ugh all the iso’s i got from the pirate bay arent working so can somebody give me a link to a retail snow leopard install iso? hopefully not everyone used an install disk

  23. Josh says

    I just wanted post to say thank you to Dinesh for this wonderful guide, it has really helped me with the creation of my virtual Hackintosh.

    Oh, for anybody having problems with their own VirtualBoxes after installing any software upgrades up from Snow Leopard 10.6.3 try running the Install Disk again and use the Disk Utility’s Repair Disk option under the First Aid tab. That took care of my post upgrade problems.