Introduction: How to Run Mac OS X Inside Windows Using VirtualBox

Picture of How to Run Mac OS X Inside Windows Using VirtualBox

NOTE: This tutorial is now considered outdated and I've published a new instructable with a newer, better and more efficient method to install Mac OS X on your PC, not RUN it! Please refrain from using this tutorial and follow theNew One!


Even if you're a Windows user, you've probably thought about trying the Mac OS X. Maybe you'd like to test OS X before buying a Mac or building a Hackintosh, or maybe you just want to run an app on your Windows machine which is only exclusive for the Mac OS X. Whatever your reason is, you can actually install and run OS X on any Intel-based Windows PC with a program called VirtualBox. Here's how.

Running OS X on your Windows desktop will take a bit of work, but it's pretty easy to do and the final product is quite outstanding. Thanks to Macbreaker and Lifehacker for providing the original instructions! To cut to the chase, here's how to do this.

Step 1: Requirements

Before you start the installation process, you’ll want to gather the following:

- A PC running 64-bit Windows with at least a dual-core processor and 4GB of RAM. Mountain Lion is 64-bit, and thus requires your copy of Windows to be 64-bit. If you’re on a 32-bit version of Windows, you can install Snow Leopard instead (Google it as this instructable is for Mountain Lion not Snow Leopard). Note that your processor also needs to support VT-x. This list should help you find out whether yours does.


- VirtualBox and the VirtualBox Extension Pack: VirtualBox is my favourite virtualisation tool for Windows, and it’s completely free. VirtualBox doesn’t officially support OS X, but it’s actually very easy to get up and running. You should download the main program and the Extension Pack, which will give you support for USB devices.


- A hacked Mountain Lion disc image. Sadly, this won’t work with a vanilla Mountain Lion installer, so you’ll have to find a compatible hacked version. The hacking group Olarila has put a great installation ISO together, and you can find it by searching Google. If that doesn’t fit well with you, you can head over to the Mac App Store and buy a legit copy for yourself, so you can at least pirate with a clear conscience.


- The HackBoot 1 and HackBoot 2 ISO files. Each one has it's own function which you'll know later. However, both will help you boot into the installation.


- Mulitbeast 4, which will help you get audio and other things working correctly after installation. You’ll need to register for a free account over at Tonymacx86.com to download this. Make sure to download MultiBeast 4 — it’s labelled “Lion”, but for our purposes the Lion version works better than the Mountain Lion version.

Step 2: Install and Set Up VirtualBox

Picture of Install and Set Up VirtualBox

Before we install OS X, we’ll need to set up VirtualBox so the OS X install disc can boot correctly. Here’s what you need to do:

Step 1: Launch VirtualBox and click the New button. Give your new virtual machine a name (I just called it “Mac OS X”) and set the operating system to “Mac OS X Server (64-bit)”. See the picture of step number one.

Step 2: Click Next and choose how much RAM to give your virtual machine. This depends on how much RAM is in your system — you can get away with 2GB, but if you have more, give it more. 4GB of RAM should be a good amount, though I gave mine 4GB, you can set it till 6GB if you have spare. See the picture of step number two.

Step 3: Click Next again and choose “Create New Disk”. Create your new disk in VDI format and with dynamically allocated storage. When you’re done, VirtualBox should take you back to the main screen. This step is easy, so it does not need a picture.

Step 4: From here, right-click on your OS X machine in the left sidebar and click Settings. Head to the “System” section and uncheck “Enable EFI”. Same as step 3, it's easy, so it does not need a picture.

Step 5: Click on the Storage section of the settings and click on the CD icon that says “Empty” under Storage Type. Then, click the CD icon next to the “CD/DVD Drive” dropdown list and select “Choose a Virtual CD/DVD Disk File”. Choose the HackBoot 1 ISO and click OK. See the picture of step number five.

Now your virtual machine is ready to boot for the first time. Make sure you have your Mountain Lion ISO ready to go and proceed to the next step.

Step 3: Install OS X in VirtualBox

Picture of Install OS X in VirtualBox

The next step involves actually installing OS X to your new virtual machine. When you’re ready, start up VirtualBox and follow these instructions:

Step 1: Select your OS X virtual machine in VirtualBox’s left sidebar and click the Start button in the toolbar. It will bring you to the HackBoot boot screen, with one icon in the middle labelled HackBoot. See the picture of step number one.

Step 2: Click on the CD icon at the bottom of the VirtualBox window and select “Choose a Virtual CD/DVD Disk File”. This time, choose your hacked Mountain Lion ISO. This step is pretty easy, so it does not need a picture.

Step 3: Go back to the HackBoot boot screen and press F5. It should reload the boot menu, this time showing you an “OS X Install DVD”. Select this option and press Enter. After a moment, it will take you to the OS X Installation screen. Also this step is easy, so it does not need a picture.

Step 4: After you choose your language and agree to the terms and conditions, you’ll see that OS X doesn’t detect any valid hard drives. To fix this problem, head up to the menu bar and go to Utilities > Disk Utility. This step is pretty simple, so it does not need a picture.

Step 5: Click on your VirtualBox hard drive in the left sidebar, then click the Erase tab in Disk Utility’s main panel. Give your drive a name (like “Macintosh HD”) and click “Erase”. See the picture of step number five.

Step 6: Once Disk Utility has finished formatting your drive, you should see it show up in the left sidebar. When you do, exit Disk Utility and continue with the OS X installation as normal. This step is so easy, so it does not need a picture as well.

The rest of the installation should be largely self-explanatory and should go off without a hitch. It took me about 20 minutes to install OS X. When it finishes, it will take you to a black screen with white text. At this point, you can click the “X” in the upper-right corner of the window to power off the virtual machine.

Step 4: Smooth Out the Rough Edges - Part 1 (Fix Audio With Multibeast)

Picture of Smooth Out the Rough Edges - Part 1 (Fix Audio With Multibeast)

You’re almost there! You’ve installed OS X, but you will still need to tweak a few things to get audio and graphics working properly. Here’s what you need to do.

- Fix Audio with MultiBeast

Step 1: Open up VirtualBox and right-click on your OS X virtual machine in the left sidebar. Head back to its Settings and go to the Storage section. Once again, click on the disc icon on the right side of the window, this time choosing the HackBoot 2 ISO. This step is simple, therefore it does not need a picture.

Step 2: Click the Start button to reboot your virtual machine. You should see the HackBoot menu again, this time with an option to boot into your new virtual machine. Select that option and press Enter. See the picture of step number two.

Step 3: After a minute, you should see the Mountain Lion desktop with the familiar galaxy wallpaper. Open up Safari, head to Tonymacx86.com, and download MultiBeast as described in the “Requirements” step. This step is easy as well, so it does not need a picture.

Step 4: Open up System Preferences --> Security. Click the lock in the bottom left-hand corner, enter your password, and set the “Allow Applications” preference to “Anywhere”. This will let you run apps from untrusted developers, which includes Multibeast. This is step is quite easy, so it does not need a picture as well.

Step 5: Launch Multibeast. When you get to the Installation Type section, Choose the options pictured in the picture of step number five. After that, click continue and finish the Multibeast installation. It may take a few minutes.

Your audio won’t work just yet, but we have a few other things we need to do before we restart.

Step 5: Smooth Out the Rough Edges - Part 2 (Boot OS X Without HackBoot)

Picture of Smooth Out the Rough Edges - Part 2 (Boot OS X Without HackBoot)

In order to boot OS X without the HackBoot CD, we’ll need to delete a problematic kext. You can do this with the following steps:

Step 1: Open up the Finder and select Go > Go to Folder from the menu bar. Type in "/System/Library/Extensions" (without the quotations) and press Enter. Of course does not need a picture.

Step 2: In this folder, find the "AppleGraphicsControl.kext" (without the quotations) file and delete it. This will allow your virtual machine to boot up without the HackBoot ISO. See the picture of step number two (main image).

Step 3: Click on the disc icon at the bottom of VirtualBox’s window and uncheck the HackBoot 2 ISO, since you won’t need it anymore. Of course does not need a picture.

Step 6: Smooth Out the Rough Edges - Part 3 (Get Higher-Resolution Virtual Machine)

Lastly, you may have noticed that your Virtual Machine is running at a pretty low resolution. That’s totally lame, so we’re going to make it run at the same resolution as our monitor with a few tweaks:

Step 1: Head back to Go --> Go to Folder and go to "/Extra/" (without the quotations). Double-click on the "org.Chameleon.boot.plist" (without the quotations) file and add the following to the bottom of the file, above the line:

<key>Graphics Mode</key>
<string>1920x1080x32</string>

Save the file and close TextEdit. This allows OS X to start up with a higher resolution. Note that you can set whatever resolution you want; just replace "1920x1080" (without the quotations) with the resolution you want.

Step 2: If the resolution you picked is bigger than 1280×1024 and/or is widescreen, you’ll need to do one last thing to get it working properly. Shut down your virtual machine and open Windows’ Command Prompt. Type the following commands, hitting enter after each one:

cd "C:\Program Files\Oracle\VirtualBox"
vboxmanage setextradata "MyVirtualMachine" "CustomVideoMode1" "1920x1080x32"

Replace the first line with the path to your VirtualBox program folder. In the second line, replace MyVirtualMachine with the name of your machine (in our case, “Mac OS X”), and 1920x1080x32 with the same resolution you added to your Chameleon plist.

Step 7: Finalise

Picture of Finalise

When you’re done, restart your OS X virtual machine and you should be greeted with a full-res desktop and working audio. You can now continue to install your favourite apps, set up your keyboard and mouse, and do anything else you like. You’ve got a fully working virtual Mac on your Windows desktop!

*DISCLAIMER: The eyed-apple logo is a copyrighted image that belongs to tonymacx86.com and does not belong to me by any way, as I'm just using it to for reference to guide the installation.*

*DISCLAIMER: This instructable should be done on your OWN responsibility. I will not tolerate any damage (software damage) regarding this instructable if you do not follow the steps wisely. This was tested several times before on Intel-based PCs and it worked, so if you do not follow the steps wisely, I'm not tolerating any problems or damage that you may cause to your PC due to inattention or neglecting any step implemented in this instructable.*

Later on, I will be making computer instructables (tutorials) such as this instructable. I will be making newer and more easier methods to install the Mac OS X (all versions such as Lion and Snow Leopard) on your PC. Some methods require that you already have an existing OS X. I'll also be making some instructables on Hackintoshing your PC. Stay tuned!

Comments

Omar Amir (author)2013-10-18

NOTE TO ALL WHO ARE FOLLOWING THIS TUTORIAL: I am working on a newer, better and more efficient tutorial to install Mac OS X Directly on your PC, not inside a virtual machine.

dtanders (author)Omar Amir2014-01-09

Some of us are not interested in dual booting. Is there a way to make the VM stable?

Omar Amir (author)dtanders2014-01-10

Yes, there is! I am working on a new tutorial to install Mac OS X on a VM. I am still going through it, it's currently undergoing some tests, but it works as a charm. I'll post that 'ible soon, stay tuned!

randomranger (author)Omar Amir2014-01-11

This may be a noob question, but why don't you just make the VM and then export it using Virutalbox's Export appliance feature to a file sharing site, or just upload the files that VM is made of. Unless of course this is because you simply don't have a way to upload such large files to the web.

Omar Amir (author)randomranger2014-01-13

There are several reasons behind not doing this. Firstly, not all people using this method have the same memory (RAM). For example, if you allocated your VM RAM to 4GB and you have a total of 6GB, not all people have 6GB, so they will have to create the VM from scratch. Secondly, with my current internet speed, it would take me a month (maybe more) to upload 13GB (which is the size of the finished VM). Thirdly, this is a tutorial, it is made to make people understand how it works and how to create one, but not just to have it ready.

bronco_5 (author)2016-11-03

Why not provide a link?

"If you’re on a 32-bit version of Windows, you can install Snow Leopard
instead (Google it as this instructable is for Mountain Lion not Snow
Leopard)"

MinecraftDash23 (author)2016-06-20

I cannot find the hacked .iso anymore. All Google results link me to a 4MB .exe which does nothing

Featheryry (author)2016-06-12

Thanks a lot! You are really helpful! Guys you can also visithttps://plus.google.com/103156713044838092165/pos... to get genuine and cheap windows keys to activate your windows.

DanL1916 (author)2016-04-30

I have been working on this a while, I can find my USB and my V/D. I am running Windows 10 and when I try to access the USB, Drive, CD it the error I get is cannot read the format. I used TransMac to read the files and they are all there. How do I get windows or VB to access the drives, USB, CD, VD with out and error. I did try Guess CD no luck. Ok can you help.

TomekJ1 (author)2016-04-20

please link hackboot

NJR4 (author)2016-03-26

Step 4 is very important, missed it once and it did not boot

rsimionescu (author)2016-01-18

WARNING! the hackboot1 and hackboot2 links are downloading some executables now (HackBoot1.iso.exe and HackBoot2.iso.exe)

NadyV (author)2016-01-10

This last step did not work for me.

NadyV (author)NadyV2016-01-10

Great tuto still works with the hack two though

NadyV (author)2016-01-10

When I get there my Virtual box hard drive does not show and this seems obvious because I did not add it to none of the ports, how you guys made it there without adding a hard drive ?

NadyV (author)NadyV2016-01-10

So I have finally added it and now it is showing

NadyV (author)NadyV2016-01-10

And to add salt to the injury if I added I whether get stuck on one screen or the other trying to root or I do not get the HDD to show still

omar.saab.96 (author)2014-09-24

HEEEEEEEEEEEEEEELP

When i press F5 nothing happens !!!!!

I am on 64 bit and I tried to press fn+f5 and tried shift+f5 , alt+f5, ctrl+f5, everything !! but in vain

Thanks in advance for your help :)

Omar Amir (author)omar.saab.962014-09-25

It's not about the F5 button. You just need to refresh the screen.

mathcz (author)Omar Amir2015-05-04

hello,

same problem here, nothing happens when i press f5, is there another way to refresh ?

thanks in advance

Mrityunjayp2 (author)mathcz2015-12-01

This one worked for me, if need any help ping me.

http://www.techaroid.com/2015/12/run-mac-os-x-on-windows7-8-8.1-10.html

Waiting for your thoughtful questions if any.

Best

Mrityunjay

hfahmed58 (author)2014-02-19

in between of step I get Suck here:

as per your guideline I perform

Step 3: Go back to the HackBoot boot screen and press F5. It should reload the

boot menu, this time showing you an “OS X Install DVD”.

& Till here I completed successfully but when I pressed enter at “OS X Install DVD”. It shows me a black screen with error.

can you help to install properly

Omar Amir (author)hfahmed582014-02-21

Are you sure you chose the hacked Mountain Lion ISO?

AlfR1 (author)Omar Amir2015-05-07

Hi!
What do you mean by "the hacked Mountain Lion ISO"?

I downloaded a .zip tjat does not contain any ISO...

Thanks for your assistance!

Omar Amir (author)AlfR12015-05-10

It's the ISO file of OS X that you are going to use. Try to extract the .zip to find if there's an ISO file, if not, message me and I'll guide you further.

AlfR1 (author)Omar Amir2015-05-11

Thanks for getting back to me, Omar.

Yes, I downloaded Mountain Lion 4.7.0 and 5.5.5, extracted the files and can not find any .ISO file.

What can we do?

Omar Amir (author)AlfR12015-05-12

I'll send you a private message with the link.

Hari OmG (author)Omar Amir2015-10-31

Hello Omar,

Can you please send me the link for "the hacked Mountain Lion ISO" file. I did download "OS X Mountain Lion" but it does not contains any ISO file. It only have "vmdk","vmsd", "vmx", "vmxf".

Thanks, in advanced.!

AlfR1 (author)Omar Amir2015-05-12

Ok, thank you so much, I'll wait for it.

hfahmed58 (author)Omar Amir2014-02-22

yes, i downloaded from torrent by hotiso

Omar Amir (author)hfahmed582014-02-25

I didn't mean that. I meant during this step, you have to click on the CD icon at the bottom of the program and choose the hacked Mountain Lion ISO, did you do that?

MeetMeBikash (author)Omar Amir2014-10-19

I just had the same problem , i hope you have finished your exams and help me out . I did absolutely as per instructed .

MeetMeBikash (author)Omar Amir2014-10-19

I just had the same problem , i hope you have finished your exams and help me out . I did absolutely as per instructed .

jbuckles1 (author)hfahmed582014-03-02

check this out man..

http://www.youtube.com/watch?v=1kMMZ6CSdio&feature=youtu.be

JonathanE13 (author)2015-10-23

I'm stuck on step 3 hackboot won't load the iso file plz help

blakehx (author)2015-10-11

When I choose the main icon on Hackboot it says:

Loading Darwin

Loading Mach_Kernel

Can not locate Mach_Kernel

Also my mouse doesn't work

JoeP17 (author)2015-06-24

I get as far as the disk image as you see of HackBoot but it says it's missing the kern file to load the OS to the system. Please assist or provide a link to the OS for me to install.

Omar Amir (author)JoeP172015-06-24

Did you change your BIOS settings?

adeelj (author)2015-04-09

Me stuck on low memory Option when i click on Disk Utility> erase nothing will appear to click.what should i do?

roma.kap (author)2015-03-24

Hello :)

I use Windows 7 32 Bit.

Like on this video, i try to install mac os x.
At the 3:15 it will be typed: /amd
After that, it will be installed, but i get error, cause it could not be found....

I have tried all options.../amd1 etc...

What can i do???

vengalavinay (author)2014-05-09

I tried it but i am getting a interactive shell...please show a path to configure the mac os.

thank you
-vinay .

Horlabs (author)vengalavinay2014-08-12

Try to disable EFI in the "System" options of your VM

LouiseJMunoz (author)2014-07-05

A bold is structured playing, usually undertaken for amusement and sometimes acclimated as an educational tool. Amateur are audible from work, which is usually agitated out for remuneration, and from art, which is added about an announcement of artful or brainy elements. However, the acumen is not clear-cut, and abounding amateur are as well advised to be plan (such as able players of beholder sports/games) or art (such as jigsaw puzzles or amateur involving an aesthetic blueprint such as Mahjong, solitaire, or some <a href = "http://kuorma-pelit.blogspot.com">kuorma pelit</a>).

osuhickeys (author)2014-04-27

I am getting stuck when I boot with Hackboot 2 ISO. The last thing to show in the console is "Ethernet [Intel8254x]" Link up on en01...." Any suggestions??

Omar Amir (author)osuhickeys2014-04-28

Hi,

No need to post the comment twice my friend, I'll be answering, so please be patient. Anyways, try booting by typing the line below in the chameleon screen

-v GraphicsEnabler=No

I've really realized that installing OS X is way more better than emulating (VM), so I'll be posting a tutorial on how to install the latest OS X on your PC (not emulate/VM), but I'm just busy these days with my exams, but I'll be posting the 'ible soon. Stay tuned!

osuhickeys (author)Omar Amir2014-05-07

Sorry for the double post. I thought maybe I did not do something correctly when it still was not showing up after a few minutes. Tried your suggestion with the same result. The end of the line says debug [796d,bc08,0de1,1e00,01e0,3c00]

osuhickeys (author)2014-04-27

I am getting stuck at the Hackboot 2 ISO. The last thing to show on the console is "Ethernet [Intel8254x]" Link up on en01....". It never goes any farther so I never get booted into OS X. Any ideas?

gr4y (author)2014-04-09

Hi,

When I try to click on OS X Install Disc and then press ENTER, the text in the top left-hand corner just says:

Mach-0 file has bad magic number.

Then it goes back to show the OS X Install Disc option.

How to fix this?

Omar Amir (author)gr4y2014-04-14

You have to use the latest multibeast 4.6.1 with easybeast and system utilities checked. When your boot loader is corrupt you have to install the OS again.

amparrox (author)2014-04-09

hi people, can someone provide me a link to download the hacked mountain lion i can't find it.... i need to create a virtual machine to finish some work of the college using iweb app for only MAC OS.

I really will appreciate your help. thanks.

About This Instructable

690,770views

106favorites

License:

Add instructable to: