OS X Mountain Lion – Virtualbox – Ubuntu 13.04

Today I decided to do something I’ve been wanting to do for a while. I’m a GNU/Linux user at heart, so why do I want to install OS X you ask? Well mostly out of curiosity really. Just to see how it goes. I read this article on Lifehacker a while back about how to accomplish this with Windows, so I thought I’d try it on Ubuntu.

First, a checklist of what you need to do this:

Once you’ve downloaded all the iso-files, boot up Virtualbox and create a new VM.

New VM

Set Type to Mac OS X and Version to Mac OS X.

Press next and set the amount of ram you want to dedicate to this machine. I set mine to 4096, but 2048 should suffice.

Follow the steps to create a new virtual disk to install OS X on. I read somewhere that you would have to have an NTFS host disk to install the virtual disk on, but it worked fine with my ext4 setup.

Open up the settings for your Mac OS X machine. The Lifehacker guide told me to have the EFI setting enabled (which Virtualbox enabled by default), but when I tried that Hackboot 1 wouldn’t give me nothing but a blank screen. So, with my setting, turn that off.

In the graphics setting I set up 64mb ram.

On the Storage tab select Controller IDE and load Hackboot 1 in there.

You should now be ready to go. Boot up and you will get the Hackboot start screen. Select Storage from the top menu and load the OS X image and click F5, then Enter.

Follow the steps in the wizard. I got all the way to the “Select disk to install” screen, and it was blank… I went to the Disks tool and had to create a partition there, when that was done I exited the tool, and my virtual disk showed up when I got back to the previous screen.

I pressed on through the wizard

OS X install process



After the installation is done, you go through a series of steps to set up languages/keyboard and users



A few more steps and we’re ready to go.

Ready desktop OS X


Switch the boot disk to Hackboot 2 when rebooting, this is required to boot up.

Remember to be patient during booting, it takes some time to load up the desktop.

Thanks to debianandi and Lifehacker for help along the way!

10 Comments on OS X Mountain Lion – Virtualbox – Ubuntu 13.04

      • No worries, thank you for your response :o)
        I haven’t yet had any luck with a couple of different approaches, I think my issue is not having a good iso.

        I tried IATKos, with no luck.
        The last method while trying to use Mac OS X Lion 10.7.3 Retail Virtual Box Image hung on a black screen, after what looked like a success.

        I’ve tried loading iso’s after using the Hackboot 1 iso you supplied, no luck yet

        Thanks for your guide though, I’ll keep you in the loop re my success!

  1. doesn’t work with the vanilla 10.8 (mountain lion) image. i’m on ubuntu, last virtualbox version, followed exactly your steps, after booting the osx image from hackboot1 it says “unable to find driver for this platform: ACPI …” and panics. maybe you got a pre-patched osx image…..

  2. I’ad done what u mentioned in your blog but when I load OS X iso image and press enter it shows black screen with some commands on it and I really don’t know what they meant..

    Mac Os version: Not yet set
    System uptime in nanoseconds : 7723251

    and some other information related to kernel…
    What should I do?

Leave a Reply