Mac OS X build instructions Oracle VM Virtual. Box. Prerequisites on Mac OS X1. Snow Leopard, 1. Lion, 1. Mt. Lion, 1. 0. 9. Mavericks or 1. Yosemite running on Intel hardware Power. PC hardware is not supported. Please note that building a X1. Virtual. Box on Mac OS X is not supported. Xcode matching your Mac OS X version http developer. Snow Leopard. 4. 1. Lion and later 4. You may use toolsdarwin. OS X versions. Some things from Mac. Ports http www. After installing Mac. Install Os X In Virtualbox' title='Install Os X In Virtualbox' />Install Run Mac OS X 10. Snow Leopard in a Virtual Machine on top of OS X Lion. VirtualBox is a generalpurpose full virtualizer for x86 hardware, targeted at server, desktop and embedded use. For a thorough introduction to virtualization and. Previously, we showed you how to install Mac OS X Snow Leopard using VMware in Windows 7. Since VMware license costs a lot, the good news is that you can now. Ports, do not forget to add the following two lines to your. PATHoptlocalbin optlocalsbin PATH. MANPATHoptlocalshareman MANPATH. Then perform the following command for lt Snow Leopard. Snow Leopard 3. 2 Bit. Doxygen and texlive are optional. On 1. 0. 5 you may need a newer Open. SSL version than the one provided by the system. If so, perform. sudo port install openssl. La. Te. X sudo port install texlive texlive fonts extra texlive latex extra texlive latex recommended for building the documentation. Some words on 3. 2bit vs. Starting with 1. 0. Mac OS X is available in 6. However, we have to distinct between the user and the kernel space. As Virtual. Box is using its own kernel extensions, it has to be build and run in a version which match the kernel variant. You can check the current kernel mode by executing uname m. If this shows i. 38. For switching between these modes on boot on supported hardware see this kb article. If the build system doesnt correct detect the right kernel mode, you can use target arch to overwrite it. Please also note that Virtual. Box can execute 6. Building Virtual. Box. Change to the root directory of the sources and execute the configure script. You can manually set the target architecture with target archx. If it finds everything it needs, it will create a file called Auto. Config. kmk containing paths to the various tools on your system. Also, it will create an environment setup script called env. Weve previously shown you how to install OS X Mountain Lion on a virtual machine by using iAtkos ML2, which is great practice for installing Mac OS X on your actual. Introduction. The following are instructions on how to run Androidx86 inside VirtualBox. Note For optimal performance, make sure you have enabled either VTx or AMD. Before we install OS X, well need to set up VirtualBox so the OS X install disc can boot correctly. Heres what you need to do Step 1 Launch VirtualBox and. This step only has to be done once if something changes in your build tool setup, you might have to repeat it but keep in mind that both output files will be overwritten. For additional options like providing a path to the Open. SSL library see. configure help. Whenever you want to build Virtual. Box, you have to open a shell and source the generated environment setup script env. The default is to a release build, should you wish to do a debug or profile build add BUILDTYPEdebug or BUILDTYPEprofile as argument to kmk or export it as an environment variable in your shell. Running Virtual. Box. Load all the kernel extension modules. These can be found in outdarwin. Execute and make sure the modules loads successfully. Enter outdarwin. Virtual. Box. appContentsMac. OS. Run. Virtual. Box. Building OSE packages for distribution. Never disable hardening see previous section when creating packages for redistribution. Hardening needs some additional configuration and post build steps. The default install directory of Virtual. Box is ApplicationsVirtual. Box. app. If you like to change that, say into ApplicationsOpen. SourceVirtual. Box. Local. Config. kmk. VBOXPATHAPPPRIVATE ApplicationsOpen. SourceVirtual. Box. ContentsMac. OS. VBOXPATHAPPPRIVATEARCH ApplicationsOpen. SourceVirtual. Box. ContentsMac. OS. VBOXPATHSHAREDLIBS ApplicationsOpen. SourceVirtual. Box. ContentsMac. OS. VBOXPATHAPPDOCS ApplicationsOpen. SourceVirtual. Box. ContentsMac. OS. It may also make sense to disable some of the development only stuff, like test cases. Add the following to Local. Config. kmk. VBOXWITHTESTSUITE. VBOXWITHTESTCASES. Starting with Virtual. Box 4. 1, extra debug symbols are created. You can prevent that by adding the following to Local. Config. kmk. k. Build. Global. DefaultsLDDEBUG. Next rebuild Virtual. Box and install it into ApplicationsOpen. Source. There isnt any support for installing Virtual. Box into a target directory. Just copy the files to the destination. Now make sure that the setuid stubs have the correct permissions. R root admin ApplicationsOpen. SourceVirtual. Box. ApplicationsOpen. SourceVirtual. Box. ContentsMac. OSVirtual. Box. sudo chmod us ApplicationsOpen. SourceVirtual. Box. ContentsMac. OSVirtual. Box. VM. sudo chmod us ApplicationsOpen. SourceVirtual. Box. ContentsMac. OSVBox. Headless. sudo chmod us ApplicationsOpen. SourceVirtual. Box. ContentsMac. OSVBox. Net. Adp. Ctl. sudo chmod us ApplicationsOpen. SourceVirtual. Box. ContentsMac. OSVBox. Net. DHCP. Another requirement of hardening is that every path component of the parent directory of Virtual. Box. app is owned by root and not world writable. Make sure this is the case. Relative vs. absolute paths in the used libraries. If you see something like the following error when starting Virtual. Box you need to change the used libraries to use absolute paths. Virtual. Box sup. R3. Hardened. Main. Get. Trusted. Main dlopenApplicationsVirtual. Box. appContentsMac. OSVirtual. Box. dylib, failed. ApplicationsVirtual. Box. appContentsMac. OSVirtual. Box. dylib, 1. Library not loaded Qt. Core. frameworkVersions4Qt. Core. Referenced from ApplicationsVirtual. Box. appContentsMac. OSVirtual. Box. dylib. Reason unsafe use of relative rpath Qt. Core. frameworkVersions4Qt. Core in ApplicationsVirtual. Box. appContentsMac. OSVirtual. Box. dylib with restricted binary. On Mac OS X it isnt allowed to use libraries with relative paths for referencing to other libraries when the executable is setuid. You can display all linked libraries by the following command. L ApplicationsVirtual. Box. appContentsMac. OSVirtual. Box. dylib. Next, assuming Qt is installed in ApplicationsVirtual. Box. appContentsFrameworks, you can change the path by using this. ApplicationsVirtual. Box. appContentsFrameworksQt. Gui. frameworkVersions4Qt. Gui. ApplicationsVirtual. Box. appContentsFrameworksQt. Gui. frameworkVersions4Qt. Gui. installnametool change executablepath. FrameworksQt. Core. Versions4Qt. Core. ApplicationsVirtual. Box. appContentsFrameworksQt. Core. frameworkVersions4Qt. Core. ApplicationsVirtual. Box. appContentsFrameworksQt. Gui. frameworkVersions4Qt. Gui. The first command changes the identifier of the library itself. The second changes references to other libraries. There, the first path is the old referenced path, the second one is the new path and the last path is the file to change see man installnametool. Note, you need to repeat this with every library involved at least Virtual. Box. dylib, Qt. Core, Qt. Gui, Qt. Network, Qt. How to Run Mac OS X Inside Windows Using Virtual. Box. Even if youre a Windows fan, youve probably thought about trying OS X. Maybe youd like to test drive OS X before switching to a Mac or building a Hackintosh, or maybe you just want to run that one killer OS X app on your Windows machine. Whatever your reason, you can actually install and run OS X on any Intel based Windows PC with a program called Virtual. Box. Heres how. Building a hackintoshthat is, installing mac. OS on non Apple hardwareused to require extremelyRead more Read. Running OS X on your Windows desktop will take a bit of work, but its pretty easy to do and the final product is awesome. To see what the whole setup will look like when youre done, check out the video above. Then, head to the instructions below to set it up for yourself. Thanks to Mac. Breaker for figuring out a lot of the original instructions Update These instructions are now outdated. We now recommend following these instructions over at Mac. Breaker for the newer, more popular i. Atkos distribution of OS X instead. What Youll Need. Before you start the installation process, youll want to gather the following A PC running 6. Windows with at least a dual core processor and 4. GB of RAM. Mountain Lion is 6. Windows to be 6. 4 bit. If youre on a 3. Windows, you can install Snow Leopard instead. For more info, check out the difference between 3. Note that your processor also needs to support VT x. This list should help you find out whether yours does. Virtual. Box and the Virtual. Box Extension Pack Virtual. Box is our favorite virtualization tool for Windows, and its completely free. Virtual. Box doesnt officially support OS X, but its 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 wont work with a vanilla Mountain Lion installer, so youll 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 doesnt sit 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 Hack. Boot 1 and Hack. Boot 2 ISO files. These will help you boot into the installation. Multi. Beast 4, which will help you get audio and other things working correctly after installation. Youll need to register for a free account over at Tonymacx. Make sure to download Multi. Beast 4its labeled Lion, but for our purposes the Lion version works better than the Mountain Lion version. Windows users have a few choices when it comes to virtualizing another OS, but our personalRead more Read. Step One Install and Set Up Virtual. Box. Before we install OS X, well need to set up Virtual. Box so the OS X install disc can boot correctly. Heres what you need to do Start up Virtual. Box 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 6. Click Next and choose how much RAM to give your virtual machine. This depends on how much RAM is in your systemyou can get away with 2. GB, but if you have more, give it more. GB of RAM should be a good amount, though I gave mine 6. GB since I had RAM to spare. Click Next again, and choose Create New Disk. Create your new disk in VDI format and with dynamically allocated storage. When youre done, Virtual. Box should take you back to the main screen. From here, right click on your OS X machine in the left sidebar and click Settings. Go to the System section and uncheck Enable EFI. 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 CDDVD Drive dropdown, and select Choose a Virtual CDDVD Disk File. Choose the Hack. Boot 1 ISO and click OK. Now, your 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 Two Install OS X in Virtual. Box. The next step involves actually installing OS X to your new virtual machine. Cakewalk Audio Fx 3 Serial Ports there. When youre ready, start up Virtual. Box and follow these instructions Select your OS X machine in Virtual. Boxs left sidebar and click the Start button in the toolbar. Itll bring you to the Hack. Boot boot screen, with one icon in the middle labeled Hack. Boot. Click on the CD icon at the bottom of the Virtual. Box window and select Choose a Virtual CDDVD Disk File. This time, choose your hacked Mountain Lion ISO. Go back to the Hack. Boot 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, itll take you to the OS X Installation screen. After you choose your language and agree to the terms and conditions, youll see that OS X doesnt detect any valid hard drives. To fix this problem, head up to the menu bar and go to Utilities Disk Utility. Click on your Virtual. Box hard drive in the left sidebar, then click the Erase tab in Disk Utilitys main pane. Give your drive a name like Macintosh HD and click Erase. 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. The rest of the installation should be pretty self explanatory, and should go off without a hitch. It took me about 2. OS X. When it finishes, itll 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 Three Smooth Out the Rough Edges. Youre almost thereYouve installed OS X, but youll still need to tweak a few things to get audio and graphics working properly. Heres what you need to do. Fix Audio with Multi. Beast. Open up Virtual. Box 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 Hack. Boot 2 ISO. Click the Start button to reboot your virtual machine. You should see the Hack. Boot menu again, this time with an option to boot into your new virtual machine. Select that option and press Enter. After a minute, you should see the Mountain Lion desktop with the familiar galaxy wallpaper. Open up Safari, head to Tonymacx. Multi. Beast as described in the What Youll Need section. 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. Launch Multibeast. When you get to the Installation Type section, Choose the options pictured below Click continue and finish the Multibeast installation. It may take a few minutes. Your audio wont work just yet, but we have a few other things we need to do before we restart. Boot OS X Without Hack. Boot. In order to boot OS X without the Hack. Boot CD, well need to delete a problematic kext. You can do this through the following steps Open up the Finder and select Go Go to Folder from the menu bar. Type in SystemLibraryExtensions and press Enter. In this folder, find the Apple. Graphics. Control. This will allow your virtual machine to boot up without the Hack.