Jump to content

OS X Mavericks in VirtualBox


70 posts in this topic

Recommended Posts

Hi, i want to share my experiance with OSx Mavericks installation on Virtualbox 4.30.

 

I have prepared the ISO from dmg after i prepared it with the usual guide .

I boot with HackBoot and i have installed on GUI partition on VDI.

 

First of all Memory ...

I think that memory compression of Mavericks is bloating/freezing Virtual machine.

 

On 2 Gb Ram (in virtual machine) OSX Mavericks runs well

On 1 Gb ram (in virtual machine) OSX Mavericks freezes very often ( i get more free memory using memory clean app from Appstore ) ...

on start free memory is about 100-150mb : this is too small to run anyone program ...

After i have start memory clean, the free memory rises at 560-600 Mb free on 1024 of virtual Ram.

 

OSX Lion and Mlion run well even with 1 Gb of Ram ...

 

Second iWorks 2013 ...

it runs without Qe/Ci enabled so i can be used inside virtual machine ... ( this is good !! )

 

 

So the question is :

 

Is possible to disable Compression memory feature in Mavericks ?

I think it will be usefull in VM .

 

Best regards

 

PippoX0

post-161756-0-95474800-1385035954_thumb.jpg

Link to comment
Share on other sites

GUIDE - How to install OS X Mavericks 10.9 on Virtualbox 4.30

 

What we need

a) an Intel Core Duo2 Host computer ( mine Optiplex 760)

Windows XP or win7 (I use WinXp 32bit to run Virtualized OS X Mavericks 64bit on VB)

Needed (VT-x) enabled on Bios PC

2GB of phisical Ram or more

VirtualBox 4.30 or later

 

:unsure: Hackintosh running Mac Os X to create OSXMavericks.dmg and iso

 

 

0. Create OSX Mavericks DVD

------------------------

Follow any guide here in the forum

I followed OSX Mavericks on Optiplex 760 Guide for creating a USB pen and i adapted to a DMG creation.

http://www.insanelymac.com/forum/topic/292748-dell-optiplex-780-760-guide-osx-mavericks-109/

 

Using Disk utility create a Disc Image OSXMavericks.dmg of 6Gb.

Using Disk utility restore Basesystem.dmg to OSXMavericks.dmg

 

Remove symlink for Packages in /System/Installation of DMG

 

Copy Packages folder from Mac OS X Install ESD into /System/Installation of DMG

Copy Mach_Kernel into / of DMG

Copy /Extra folder with the needed Kexts

Install Chameleon-2.2svn-r2265 on DMG

 

 

HINT:

To boot Mavericks in VMM with only 1024 KB RAM , OSinstall.mpkg must be patched ... because inside there is a check for minimum RAM ...

 

->Copy OsInstall.mpkg from /System/Installation/Packages to Desktop

open it with Flat Package Editor

drag the file "distribution" somewhere (Desktop will do)

open "distribution" in a text editor and find "MinRAM" inside

 

Find this ...

-----------

minRam=2048

-------------

 

-> Change to:

minRam=1024

 

and save "distribution"

drag back the file "distribution" in Flat Package Editor

Save mpkg and drag back to /System/Installation/Packages

 

Remember that this must be done only if you have 2 Gb Ram on Host computer

 

that's all !

 

 

00) Create ISO from DMG

Inside OSXMavericks.DMG copy also Mach_kernel

Hint : You have to recreate DVD Hybrid ISO using terminal and

hdiutil makehybrid -iso -joliet -hfs -o OSXMavericks.iso OSXMavericks.dmg

 

 

 

1. Create virtual machine:

--------------------------

VM Name and OS Type

 

* Name: OSX Mavericks

* Operating System: Mac OS X

* Version: Mac OS X Mavericks (64 bit)

* enable virtualization in BIOS HOST computer (VT-x)

* Memory 1024 MB (minimum)

* Virtual Disk Size: 20GB (or more)

* Boot Order: CD/DVD-ROM, Hard Disk

* Extended Features: Enable IO APIC

* Extended Features: Enable EFI ( first boot Disable - after installation Enable it)

 

2. Set Option in VM

-----------------------

Enable Hardware clock in UTC time

Enable absolute pointing device

 

Display Video Memory: 32 MB

Extended Features: Enable 3D Acceleration

 

Storage SATA controller for HDD image Type: AHCI

IDE Controller for CD/DVD device Type: ICH9

 

Audio Host Audio: Windows Direct Sound

Audio Controller: Intel HD Audio

 

Network

* Enable Network Adapter

* Attached to: NAT

* Adapter Type: Intel PRO/1000 MT Server (82545EM)

* Cable connected

 

 

3. Installation

---------------

Download HackBoot_Mav.iso which i created

Link HackBoot_Mav.iso to DVD emulation and run Virtual Machine

Switch HackBoot_Mav.iso with OSXMavericks.ISO and press F5

Start installation

 

- Choose the language you want

- Choose Disk Utility in the menu Utilities

- Choose the VBOX Hard Disk, put the name OSXMavericks and press Erase button

partition scheme GUID and HFS+ journaled

- When finished close the Disk Utility and continue

- Now you should be able to choose the formated drive and then choose install button

 

- Now it should install OSX Mavericks on your volume (Notice that it will take ~20 min to finish!)

 

 

4. Post Installation

--------------------

To be able to start Mavericks you have to use “Hackboot_Mav.iso”

remove Enable EFI flag from VB

Boot HacBoot_Mav on DVD emulation

 

- Choose OSXMavericks HD and press Enter

- Create user ....

 

- Now we have to delete /System/Library/CoreServices/PlatformSupport.plist file.

- now using Kexthelper install these Kexts

 

* fakesmc.kext

* nullCPUPowermanagenent.kext

 

- Shutdown VM ( if it does'nt close VM)

 

- Re Enable EFI flag , that you find under Settings - System

- remove HackBoot_Mav.iso from DVD emultation

- Start OSXMavericks

 

 

Enjoy your Mavericks on VB!

 

PippoX0

 

HackBoot_Mav.rar

 

AppleHDA.kext.zip - AppleHDA for Virtualbox Audio ( compatible with OSX 10.7, 10.8 and 10.9)

 

--------------------

Hint:

 

To enable all iCloud stuff related ( FindMyMac,ect.) see my post

[How To] Enable "Find My Mac" with a FAKE Recovery HD *UPDATED*

http://www.insanelymac.com/forum/topic/271206-how-to-enable-find-my-mac-with-a-fake-recovery-hd-updated/

  • Like 4
Link to comment
Share on other sites

  • 3 weeks later...

I have been looking through this post (as well as many others); your method for loading Mavericks into Virtualbox, definitly seems to be the most likely way to get it to work. I am having a hard time with Step 3: specifically where it says: "Link HackBoot_Mav.iso to DVD emulation" . . .

 

Could you elaborate on this step possibly?

I would greatly appreciate it.

 

I have downloaded your Hackboot_Mav.iso; though I cannot figure out how to get it to load another iso to boot the installer.

The other methods I have tried many other methods, which have all had various kernal panics; and I have never successfully gotten to the installer from within Virtualbox.

I have built many more than one Hackintosh, and I am trying to get a VM setup for specific reasons. It seems to be more difficult than I had expected.

 

 

-EDIT- I have tried the F5 key; incase you were wondering. Though it does not do anything for me, so I am not sure what is wrong.

Link to comment
Share on other sites

Ok; So I figured it out; and wanted to give an update, in-case anyone is reading this because of the same issue. It took me some playing around to realize that the window for the virtual machine would allow me to change iso's by clicking on the cd/DVD icon and choosing the other disk. This seemingly equates to a virtual equivelant of ejecting a physical cd, and then putting in another cd, or DVD. And f5 works to refresh the new disk as a boot option.

Link to comment
Share on other sites

Hi,

Did you link hackboot to DVD in virtualbox preference of vm ? I guess you had ...

The procedure is run vm , wait the loading of first iso, then return in the upper menu and select the second iso.

Press f5 to refresh DVD mount and then run mavericks iso.

 

Hint: more easy way is create in preference two DVD virtualized hw.

In the first set hackboot and in the second mavericks.

 

Let me known if you resolve ...

 

I See you resolved it :-)

  • Like 1
Link to comment
Share on other sites

Well . . . I was able to get the Hackboot iso to work and to load the Mavericks installer. However; It works perfect on a Mac host (Virtualbox installed on OSX), but the installer does not load when I try it on a Windows host. It seems to hang for some reason before the Graphic UI for the Installer loads. I suppose I need to make some adjustments in the Kexts or something, but I am at a loss at the moment . . .

Link to comment
Share on other sites

Hi mcolinp,

 

try to boot with -x flag (just type -x when you see the boot icon of the drive)

 

bye 

 

Whenever I type "-x" before booting from the installer media (From inside the Hacboot Chameleon gui); It complains that it cannot find mach kernal . . . .

If I don't type "-x"; it will show verbose up to when it would normally switch to the Graphical Installer gui. It then proceeds to display the spinning beach ball of doom and does nothing . . .

Hi ,

Check you have put in Mavericks DMG/ iso in System/Library/Extentions/

 

these Kexts

 

 

* fakesmc.kext

* nullCPUPowermanagenent.kext

 

 

See ya

I have tired this; still does not get me past the verbose stage described above in last reply to other poster . . .

 

I have been doing other reading on Virtualbox; and it seems that there are some unresolved instabilities within Virtualbox on Windows 8.1. Not sure if this is 100% the culprit, but it is starting to look suspect . . .

Link to comment
Share on other sites

I have been doing other reading on Virtualbox; and it seems that there are some unresolved instabilities within Virtualbox on Windows 8.1. Not sure if this is 100% the culprit, but it is starting to look suspect . . .

Try to start VirtualBox in compability mode (i.e Windows XP) or ... try VMware

Link to comment
Share on other sites

I'm getting error "This is not supported method of installing the operating system. Please run Install OSX Mavericks.app"

Hi,

To help you, i need some more info ...

System Host - which Windows version ??

Virtualbox - which VB version ??

 

and your Host Hardware - CPU, RAM, etc.

Link to comment
Share on other sites

thanks. take note dmg size must set to 8Gb else when copy packages will have "not enough free space"

 

in this step "Inside OSXMavericks.DMG copy also Mach_kernel and KernelCache".

i can only find "Mach_kernel" in "Install109.zip" and where is this "kernelCache" ?

Link to comment
Share on other sites

Hello, i've certainly a stupid question, because i try to do this tutorial

but i'm blocking at the step

 

Using Disk utility restore Basesystem.dmg to OSXMavericks.dmg

 

where i could find the Basesystem.dmg please ? i ve download the Mavericks from Appstore and i found a InstallESD.dmg in the content but not this

thanks

Link to comment
Share on other sites

thanks. take note dmg size must set to 8Gb else when copy packages will have "not enough free space"

i checked it out and for me 6GB are fine. If you need more space, you can make a DMG bigger.

 

Kernelcache is not needed ...

 

---------------

@atlantisman87bis

 

Follow the guide to USB Pen creation -> first post

Basesystem.dmg is inside InstallESD.dmg

Link to comment
Share on other sites

Hi,

 

I'm getting stuck after booting from the "hackboot_mav.iso" image; I can switch to the OS X .iso I've created ok, press <f5>, and the kernel boots ok; but seems to get stuck at about the stage it tries to mount the root disk.

 

See screenshot (output when using "-x" kernel flag):

 

post-1269872-0-06516200-1387143404_thumb.png

 

Yes, I've noticed the error around "FakeSMC" about half-way down the screen shot, I know I've put fakesmc.kext into /System/Library/Extensions; not sure why that message appears (I've also copied the whole Install109 extracted .zip file into the root of the image, so "/Install109/Kexts/FakeSMC.kext" exists; but not sure if that is confusing the issue or not!)

 

VirtualBox v4.3.4; real computer is a Dell Latitude E6540 (i7 core) running Windows 7 x64.  Any suggestions?

 

(Note, as I also have a macbook, I've tried booting the same images in Parallels, and it does progress to the installer, so I'm hopeful I haven't done anything too stupid with my image creation, and that I just need some kernel command-line magic...)

 

Any suggestions welcome!

Link to comment
Share on other sites

Hi ,

First, fakesmc.kext should be in S/L/E ( System/Library/Extensions) or /Extra/Extentions.

 

Mach_kernel should be in / root

 

Second, try to repair permissions on Dmg with Disk Utility, before you create the ISO.

 

Third, try to boot with -v -f

Link to comment
Share on other sites

@pippox0  thank you.
I haved install  OS X 10.9.1(13B42) on VirtualBox 4.3.4(Debian Jessie x86_64)
 
1st boot using  HackBoot_Mav.iso and "-v -x" option  to install OSX
2nd boot using HackBoot_Mav.iso and "-v -x" option  to setup user account and others settings, install Chameleon , FakeSMC.kext and NullCPUPowerManagement.kext,
    DELETE IOBluethoothFamily.kext IOBluetoothHIDDriver.kext and AppleBluetoothMultitouch.kext
 
my steps and snapshot:

On the net i read that on VMWare iMessage can run applying a fix to VM...

I'm looking for a workaround for Virtualbox...

iMessage works my "VirtualBox OSX" using  FileNVRAM.dylib patch.

Maybe you should activate AppleID on a real iDevice

iMessage-conversation.png

Link to comment
Share on other sites

Hi,

 

I'm getting stuck after booting from the "hackboot_mav.iso" image; I can switch to the OS X .iso I've created ok, press <f5>, and the kernel boots ok; but seems to get stuck at about the stage it tries to mount the root disk.

 

See screenshot (output when using "-x" kernel flag):

 

attachicon.gifScreenShot.png

 

Yes, I've noticed the error around "FakeSMC" about half-way down the screen shot, I know I've put fakesmc.kext into /System/Library/Extensions; not sure why that message appears (I've also copied the whole Install109 extracted .zip file into the root of the image, so "/Install109/Kexts/FakeSMC.kext" exists; but not sure if that is confusing the issue or not!)

 

VirtualBox v4.3.4; real computer is a Dell Latitude E6540 (i7 core) running Windows 7 x64.  Any suggestions?

 

(Note, as I also have a macbook, I've tried booting the same images in Parallels, and it does progress to the installer, so I'm hopeful I haven't done anything too stupid with my image creation, and that I just need some kernel command-line magic...)

 

Any suggestions welcome!

your VirtualBox HardDisk Image(Mavericks.vid) should be empty(no partiion, no file system)

boot option '-v -x' or '-v -x -F' or '-v -x -f'  :P

Hello, i've certainly a stupid question, because i try to do this tutorial

but i'm blocking at the step

 

Using Disk utility restore Basesystem.dmg to OSXMavericks.dmg

 

where i could find the Basesystem.dmg please ? i ve download the Mavericks from Appstore and i found a InstallESD.dmg in the content but not this

thanks

Basesystem.dmg is Hiddend file

 

defaults write com.apple.finder AppleShowAllFiles Yes && killall Finder

Link to comment
Share on other sites

 Share

×
×
  • Create New...