Instructables

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 the New 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.
 
Remove these adsRemove these ads by Signing Up

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.
1-40 of 41Next »
Omar Amir (author) 9 months ago
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.
Some of us are not interested in dual booting. Is there a way to make the VM stable?
Omar Amir (author)  dtanders6 months ago

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!

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)  randomranger6 months ago

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.

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>).

vengalavinay2 months ago

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

thank you
-vinay .

Untitled-2.jpg
osuhickeys3 months ago

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)  osuhickeys3 months ago

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!

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]

osuhickeys3 months ago

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?

gr4y3 months ago

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)  gr4y3 months ago

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.

amparrox3 months ago

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.

Omar Amir (author)  amparrox3 months ago

I've sent you a PM with the link!

jbuckles14 months ago

this might help you out

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

macguide.jpg
hfahmed585 months ago

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

mac.pngmac 1.png

check this out man..

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

Omar Amir (author)  hfahmed585 months ago

Are you sure you chose the hacked Mountain Lion ISO?

yes, i downloaded from torrent by hotiso

Omar Amir (author)  hfahmed585 months ago

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?

anomani5 months ago

Thanks for this easy to understand steps.

Omar Amir (author)  anomani4 months ago

Glad you understood, thanks!

Totaltimo9 months ago
I have the same problem as haza4best. The boot process is stuck at the grey apple logo and nothing happens. I did delete the kext file and activated / deactivatet the hackboot2 iso as described. Nevertheless, the resolution (fullscreen widescreen) is okay. This is also my second attempt, but without success.... As soon as I reactivate hackboot2 I can start the system, but without the large resolution.
Omar Amir (author)  Totaltimo9 months ago
Same answer. I have just realized now that this tutorial could be considered as an outdated tutorial due to the fact that it is very buggy, so I'm working on a new one, so please be patient. I am sorry if that did not work, but this is a bug as it doesn't occur to all who follow this tutorial, just some of them.
Thank you for your answer. That's okay, I just thought it was me who made a mistake. I'll be waiting patiently for V 2.0 of this tutorial :-) By the way, the error occurs only on my Acer Laptop, on my desktop computer at home everything's working as you described.
Omar Amir (author)  Totaltimo9 months ago
That's why I considered this tutorial as an outdated one as it sometimes work and sometimes doesn't, so I am working on a newer, better and more efficient one which will be hopefully, with no bugs. Thanks for your patience!
boosted_v69 months ago
Good write up, ive almost got it going. But when I go into osx with hackboot 2 and go to change permissions. When I try unlock, no admin name comes up (like in normal Mac's) and I type my details in and the box just jiggles :(

please help, im too close to be stuck now :(
Omar Amir (author)  boosted_v69 months ago
Glad to hear that. I actually can't get how are you stuck. The HackBoot 2 ISO is used only in Step '4', where exactly are you stuck in this step and if you can provide a screenshot, this would help me more to solve your problem. The purpose of the HackBoot 2 ISO is to boot into the OS X to setup Multibeast and delete the problematic kext which will enable you to boot into the OS without the need of the HackBoot ISO again.
Yeah its for the multibeast step. You say to goto system pref>security then click the unlock padlock down the bottom left and change app permissions etc. but I cannot unlock it. When the admin box opens both fields are blank and if I type in the user name and password I created in the setup prior it doesnt accept and the box jiggles (like with wrong credentials)

I'm not near the computer at the moment but will get one asap.
Omar Amir (author)  boosted_v69 months ago
You've answered yourself! There's no way this could be wrong except if you're using the wrong credentials (which are not the ones you created before). Anyways, you could leave this step to the end as it involves only installing Multibeast which fixes the audio, so it's not a stuck, you can continue normally and leave it till the end if you wish.
I fixed the problem by erasing the drive and re installing os x. This time when the window comes up it has my admin name in there like it should.

Only thing i'm having trouble with is the last step with the resolution in the win7 cmd. I've done the first line and got into the virtual box folder, but I cant get the 2nd command to work. I'm not the most savvy with cmd

Also a few other things:
-My audio doesnt work after the multibeast install
-How do i use wifi in os x?
-How do I access my win 7 hdd/s in os x? As I have a lot of apps on there to use in osx.

Hope you can help
Omar Amir (author)  boosted_v69 months ago
First off, make sure the virtual machine is shut down, then open the command prompt by running it as an administrator! Type in this line vboxmanage setextradata "MyVirtualMachine" "CustomVideoMode1" "1920x1080x32"
replace MyVirtualMachine with the name of your machine and 1920x1080x32 with the same resolution you added to your Chameleon plist. Don't forget that this step is only required if the resolution you picked is bigger than 1280×1024 and/or is widescreen. Also bear in mind that not all the resolutions can be set due to your computer limitations, so it depends on the screen size and so. I have made it before on a laptop with a 15.3" screen with a resolution of 1366x768x32 and it was working flawlessly.
-The audio problem: you should know that the audio won't just work after installing multibeast (same for the resolution tweak), you must reboot your machine. If you already rebooted and the audio still doesn't work, then check if the multibeast version you used was 'Lion' or 'Mountain Lion', although we're installing the Mountain Lion OS X, in our case, it's better to use the 'Lion' version, so check that. If you tried both of the points mentioned above, then double-check that when you were installing multibeast, you chose the same options as I did, in the picture given in step 4.
-WiFi problem: Set the VirtualBox machine's network to use bridge adapter to bridge the network from the host (Windows) to the guest (OS X). If the WiFi bridging does not work in your virtual machine, try to enable the 'Send the host's MAC address to DHCP server' option in the Network Adapter pane to ensure that the virtual machine gets a valid IP address from the WiFi access point for accessing the Internet.
-HDD accessing: Until there is Guest Additions for Mac OS X, you can still share folders on the host with the guest via the network. It is pretty simple:

1) Share a folder from the actual host machine (from the OS itself, not through the vbox shared folders settings)
2) Use NAT for your guest's network settings
3) From Mac OS X, Open "Finder" (looks like a square face, usually on the bottom-left)
4) From the top menu, navigate to Go->Connect to Server
5) For "Server Address" enter smb://10.0.2.2
6) Click "Connect"
7) Enter your username and password (for the host machine)
8) Select the shared folder from the list

This is the method I am using in my Mac OS X guests until the new Guest Additions is implemented.

If you any other inquiries or problems, please do not hesitate to ask. Thank you.
Thanks for the reply.

Ok so I've got:
-Wifi working
-Resolution good

However cant understand the file sharing.

Can I access usb drives?

And I cannot get the audio to work. I have tried with both multibeast for lion and mountain lion. Still no luck. Also didnt have the same options as you had in the pics.

Am so close to having everything I need to use OS X properly (sound and a way to access USB or hdd's (hopefully there is a way))

Thanks
Omar Amir (author)  boosted_v69 months ago
You should be able to access USB devices if you installed the VirtualBox Extension Pack, however, you can't access your host's HDD except with file sharing, this is the method everyone uses till the new Guest Additions is implemented. Regarding the sound problem, I can't guarantee that it will work on your Virtual Machine if you did not follow my steps carefully, you said that you did not have the same options as I had in the picture, then obviously, it will not work. In addition, I did mention that this tutorial is now considered as an outdated one and I am now working on a newer, better and more efficient one, so please be patient. Thank you.
hamza4best9 months ago
I doubled checked it and I did delete the kext file..so why isn't it working?..i reinstalled from beginning and did the same but it still didn't work..ALso the resolution doesn't change..even though i tried it many times.
Omar Amir (author)  hamza4best9 months ago
I have just realized now that this tutorial could be considered as an outdated tutorial due to the fact that it is very buggy, so I'm working on a new one, so please be patient. I am sorry if that did not work, but this is a bug as it doesn't occur to all who follow this tutorial, just some of them.
hamza4best9 months ago
I cant get this step "Boot OS X Without HackBoot" to work
The next time i boot up i get stuck at the apple logo screen with the grey background.However if i boot with hackboot2 again then everything works fine,even the audio..any solution?
Omar Amir (author)  hamza4best9 months ago
Are you sure you've deleted the kext? Also when you uncheck the HackBoot 2 ISO, reboot and wait for a while as the first time to boot without the HackBoot 2 ISO takes a few minutes. Moreover, the HackBoot 2 ISO should be used when installing Multibeast and should be unchecked after deleting the problematic kext. Regarding the audio problem, I've mentioned that before, you should know that the audio won't just work after installing Multibeast (same for the resolution tweak), you must reboot your machine. If you already rebooted and the audio still doesn't work, then check if the Multibeast version you used was 'Lion' or 'Mountain Lion', although we're installing the Mountain Lion OS X, in our case, it's better to use the 'Lion' version, so check that. If you tried both of the points mentioned above, then double-check that when you were installing Multibeast, you chose the same options as I did, in the picture given in step 4.
avrinder.sidhu11 months ago
Good one
1-40 of 41Next »