os x mavericks in virtualbox - multi-booting and virtualisation - insanelymac forum

8
17/2/2014 OS X Mavericks in VirtualBox - Multi-booting and Virtualisation - InsanelyMac Forum http://www.insanelymac.com/forum/topic/294083-os-x-mavericks-in-virtualbox/ 1/8 1.1k Follow @insanelymac 6,253 f ollow ers fluid | fixed Sign In Create Account View New Content OSx86 Project Multi-booting and Virtualisation Page 1 of 3 OS X Mavericks in VirtualBox Started by pippox0, Nov 21 2013 11:16 AM News Forum Downloads OSx86 Wiki Mac Netbook pippox0 Posted 21 November 2013 - 11:16 AM 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 v irtual machine ... ( this is good !! ) So the question is : Is possible to disable Compression memory feature in Mav ericks ? I think it will be usefull in VM . Best regards PippoX0 Attached Files (http://www.insanelymac.com/forum/index.php?app=core&module=attach&section=attach&attach_id=132360) VB_Mavericks.JPG (http://www.insanelymac.com/forum/index.php? app=core&module=attach&section=attach&attach_id=132360) 114.06KB 86 downloads pippox0 Posted 21 November 2013 - 02:31 PM GUIDE - How to install OS X Mavericks 10.9 on Virtualbox 4.30

Upload: 0123a

Post on 08-Feb-2016

1.303 views

Category:

Documents


2 download

TRANSCRIPT

Page 1: OS X Mavericks in VirtualBox - Multi-Booting and Virtualisation - InsanelyMac Forum

17/2/2014 OS X Mavericks in VirtualBox - Multi-booting and Virtualisation - InsanelyMac Forum

http://www.insanelymac.com/forum/topic/294083-os-x-mavericks-in-virtualbox/ 1/8

1.1k

Follow @insanelymac 6,253 follow ers

flu id | fix ed

Si gn In Create Account Vi ew New Content

OSx 8 6 Pr oject Mu lt i-boot in g a n d V ir tu a lisa t ion

Pa g e 1 of 3

OS X Mavericks in VirtualBoxSta r ted by pippox 0, Nov 2 1 2 01 3 1 1 :1 6 A M

News Forum Downloads OSx86 Wiki Mac Netbook

pippox0 Posted 2 1 Nov em ber 2 01 3 - 1 1 :1 6 A M

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

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

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

First of all Memory ...

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

On 2 Gb Ram (in v irtual machine) OSX Mav ericks runs well

On 1 Gb ram (in v irtual machine) OSX Mav ericks freezes v ery often ( i get more free memory using memory clean app from Appstore )

...

on start free memory is about 1 00-1 50mb : this is too small to run any one program ...

After i hav e start memory clean, the free memory rises at 560-600 Mb free on 1 024 of v irtual Ram.

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

Second iWorks 201 3 ...

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

So the question is :

Is possible to disable Compression memory feature in Mav ericks ?

I think it will be usefull in VM .

Best regards

PippoX0

Attached Files

(http://www.insanely mac.com/forum/index.php?app=core&module=attach&section=attach&attach_id=1 32360)

VB_Mavericks.JPG (http://www.insanely mac.com/forum/index.php?

app=core&module=attach&section=attach&attach_id=1 32360) 114.06KB 8 6 dow n loa ds

pippox0 Posted 2 1 Nov em ber 2 01 3 - 02 :3 1 PM

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

Page 2: OS X Mavericks in VirtualBox - Multi-Booting and Virtualisation - InsanelyMac Forum

17/2/2014 OS X Mavericks in VirtualBox - Multi-booting and Virtualisation - InsanelyMac Forum

http://www.insanelymac.com/forum/topic/294083-os-x-mavericks-in-virtualbox/ 2/8

What we need

a) an Intel Core Duo2 Host computer ( mine Optiplex 7 60)

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

Needed (VT-x) enabled on Bios PC

2GB of phisical Ram or more

VirtualBox 4.30 or later

Hackintosh running Mac Os X to create OSXMav ericks.dmg and iso

0. Create OSX Mav ericks DVD

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

Follow any guide here in the forum

I followed OSX Mav ericks on Optiplex 7 60 Guide for creating a USB pen and i adapted to a DMG creation.

http://www.insanely m...-mav ericks-1 09/ (http://www.insanely mac.com/forum/topic/2927 48-dell-optiplex-7 80-7 60-guide-osx-

mav ericks-1 09/)

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

Using Disk utility restore Basesy stem.dmg to OSXMav ericks.dmg

Remov e sy mlink for Packages in /Sy stem/Installation of DMG

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

Copy Mach_Kernel into / of DMG

Copy /Extra folder with the needed Kexts

Install Chameleon-2.2sv n-r2265 on DMG

HINT:

To boot Mav ericks in VMM with only 1 024 KB RAM , OSinstall.mpkg must be patched ... because inside there is a check for minimum

RAM ...

->Copy OsInstall.mpkg from /Sy stem/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=1 024

and sav e "distribution"

drag back the file "distribution" in Flat Package Editor

Sav e mpkg and drag back to /Sy stem/Installation/Packages

Remember that this must be done only if y ou hav e 2 Gb Ram on Host computer

that's all !

00) Create ISO from DMG

Inside OSXMav ericks.DMG copy also Mach_kernel

Hint : You hav e to recreate DVD Hy brid ISO using terminal and

hdiutil makehy brid -iso -joliet -hfs -o OSXMav ericks.iso OSXMav ericks.dmg

1 . Create v irtual machine:

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

VM Name and OS Ty pe

* Name: OSX Mav ericks

* Operating Sy stem: Mac OS X

* Version: Mac OS X Mav ericks (64 bit)

Page 3: OS X Mavericks in VirtualBox - Multi-Booting and Virtualisation - InsanelyMac Forum

17/2/2014 OS X Mavericks in VirtualBox - Multi-booting and Virtualisation - InsanelyMac Forum

http://www.insanelymac.com/forum/topic/294083-os-x-mavericks-in-virtualbox/ 3/8

* enable v irtualization in BIOS HOST computer (VT-x)

* Memory 1 024 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 dev ice

Display Video Memory : 32 MB

Extended Features: Enable 3D Acceleration

Storage SATA controller for HDD image Ty pe: AHCI

IDE Controller for CD/DVD dev ice Ty pe: ICH9

Audio Host Audio: Windows Direct Sound

Audio Controller: Intel HD Audio

Network

* Enable Network Adapter

* Attached to: NAT

* Adapter Ty pe: Intel PRO/1 000 MT Serv er (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 OSXMav ericks.ISO and press F5

Start installation

- Choose the language y ou want

- Choose Disk Utility in the menu Utilities

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

partition scheme GUID and HFS+ journaled

- When finished close the Disk Utility and continue

- Now y ou should be able to choose the formated driv e and then choose install button

- Now it should install OSX Mav ericks on y our v olume (Notice that it will take ~20 min to finish!)

4. Post Installation

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

To be able to start Mav ericks y ou hav e to use “Hackboot_Mav .iso”

remov e Enable EFI flag from VB

Boot HacBoot_Mav on DVD emulation

- Choose OSXMav ericks HD and press Enter

- Create user ....

- Now we hav e to delete /Sy stem/Library /CoreServ ices/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 y ou find under Settings - Sy stem

- remov e HackBoot_Mav .iso from DVD emultation

- Start OSXMav ericks

Enjoy y our Mav ericks on VB!

Page 4: OS X Mavericks in VirtualBox - Multi-Booting and Virtualisation - InsanelyMac Forum

17/2/2014 OS X Mavericks in VirtualBox - Multi-booting and Virtualisation - InsanelyMac Forum

http://www.insanelymac.com/forum/topic/294083-os-x-mavericks-in-virtualbox/ 4/8

PippoX0

(http://www.insanely mac.com/forum/index.php?app=core&module=attach&section=attach&attach_id=1 32366)

HackBoot_Mav.rar (http://www.insanely mac.com/forum/index.php?

app=core&module=attach&section=attach&attach_id=1 32366) 2.56MB 1 7 1 7 dow n loa ds

(http://www.insanely mac.com/forum/index.php?app=core&module=attach&section=attach&attach_id=1 3257 8)

AppleHDA.kext.zip (http://www.insanely mac.com/forum/index.php?

app=core&module=attach&section=attach&attach_id=1 3257 8) 1.54MB 9 8 6 dow n loa ds - AppleHDA for Virtualbox Audio (

compatible with OSX 1 0.7 , 1 0.8 and 1 0.9)

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

Hint:

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

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

http://www.insanely m...ery -hd-updated/ (http://www.insanely mac.com/forum/topic/27 1 206-how-to-enable-find-my -mac-with-a-

fake-recov ery -hd-updated/)

mcolinp Posted 07 Decem ber 2 01 3 - 04 :1 2 A M

I hav e been looking through this post (as well as many others); y our method for

loading Mav ericks into Virtualbox, definitly seems to be the most likely way to

get it to work. I am hav ing a hard time with Step 3: specifically where it say s:

"Link HackBoot_Mav .iso to DVD emulation" . . .

Could y ou elaborate on this step possibly ?

I would greatly appreciate it.

I hav e downloaded y our Hackboot_Mav .iso; though I cannot figure out how to get

it to load another iso to boot the installer.

The other methods I hav e tried many other methods, which hav e all had v arious

kernal panics; and I hav e nev er successfully gotten to the installer from within

Virtualbox.

I hav e built many more than one Hackintosh, and I am try ing to get a VM setup for specific reasons. It seems to be more difficult than I

had expected.

-EDIT- I hav e tried the F5 key ; incase y ou were wondering. Though it does not do any thing for me, so I am not sure what is wrong.

mcolinp Posted 07 Decem ber 2 01 3 - 05 :5 9 A M

Ok; So I figured it out; and wanted to giv e an update, in-case any one is reading this because of the same issue. It took me some play ing

around to realize that the window for the v irtual 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 v irtual equiv elant of ejecting a phy sical cd, and then putting in another cd, or DVD. And f5

works to refresh the new disk as a boot option.

pippox0 Posted 07 Decem ber 2 01 3 - 06 :02 A M

Hi, Did y ou link hackboot to DVD in v irtualbox preference of v m ? I guess y ou had ... The procedure is run v m , 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 mav ericks iso. Hint: more

easy way is create in preference two DVD v irtualized hw. In the first set hackboot and in the second mav ericks. Let me known if y ou

resolv e ... I See y ou resolv ed it :-)

mcolinp Posted 07 Decem ber 2 01 3 - 08 :1 2 PM

Well . . . I was able to get the Hackboot iso to work and to load the Mav ericks installer. Howev er; 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

Page 5: OS X Mavericks in VirtualBox - Multi-Booting and Virtualisation - InsanelyMac Forum

17/2/2014 OS X Mavericks in VirtualBox - Multi-booting and Virtualisation - InsanelyMac Forum

http://www.insanelymac.com/forum/topic/294083-os-x-mavericks-in-virtualbox/ 5/8

moment . . .

doabigcheese Posted 08 Decem ber 2 01 3 - 1 0:4 8 PM

Hi mcolinp,

try to boot with -x flag (just ty pe -x when y ou see the boot icon of the driv e)

by e

pippox0 Posted 09 Decem ber 2 01 3 - 05 :5 6 A M

Hi ,

Check y ou hav e put in Mav ericks DMG/ iso in Sy stem/Library /Extentions/

these Kexts

* fakesmc.kext

* nullCPUPowermanagenent.kext

See y a

mcolinp Posted 1 0 Decem ber 2 01 3 - 01 :3 9 A M

doabigcheese, on 08 Dec 2013 - 4:48 PM, said:

Hi mcolinp,

try to boot with -x flag (just ty pe -x when y ou see the boot icon of the driv e)

by e

Whenev er I ty pe "-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 ty pe "-x"; it will show v erbose 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 . . .

pippox0, on 08 Dec 2013 - 11:56 PM, said:

Hi ,

Check y ou hav e put in Mav ericks DMG/ iso in Sy stem/Library /Extentions/

these Kexts

* fakesmc.kext

* nullCPUPowermanagenent.kext

See y a

I hav e tired this; still does not get me past the v erbose stage described abov e in last reply to other poster . . .

I hav e been doing other reading on Virtualbox; and it seems that there are some unresolv ed instabilities within Virtualbox on Windows

8.1 . Not sure if this is 1 00% the culprit, but it is starting to look suspect . . .

Page 6: OS X Mavericks in VirtualBox - Multi-Booting and Virtualisation - InsanelyMac Forum

17/2/2014 OS X Mavericks in VirtualBox - Multi-booting and Virtualisation - InsanelyMac Forum

http://www.insanelymac.com/forum/topic/294083-os-x-mavericks-in-virtualbox/ 6/8

pippox0 Posted 1 0 Decem ber 2 01 3 - 1 1 :5 5 A M

mcolinp, on 09 Dec 2013 - 7:39 PM, said:

I hav e been doing other reading on Virtualbox; and it seems that there are some unresolv ed instabilities within Virtualbox on

Windows 8.1 . Not sure if this is 1 00% the culprit, but it is starting to look suspect . . .

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

Marko S Posted 1 0 Decem ber 2 01 3 - 03 :3 6 PM

I'm getting error "This is not supported method of installing the operating sy stem. Please run Install OSX Mav ericks.app"

pippox0 Posted 1 1 Decem ber 2 01 3 - 02 :2 8 PM

Marko S, on 10 Dec 2013 - 09:36 AM, said:

I'm getting error "This is not supported method of installing the operating sy stem. Please run Install OSX Mav ericks.app"

Hi,

To help y ou, i need some more info ...

Sy stem Host - which Windows v ersion ??

Virtualbox - which VB v ersion ??

and y our Host Hardware - CPU, RAM, etc.

firepigmac Posted 1 2 Decem ber 2 01 3 - 03 :2 3 PM

hi,

about this "Using Disk utility create a Disc Image OSXMav ericks.dmg of 6Gb"

i should select GUID partition table or MBR when create this 6Gb disk ?

pippox0 Posted 1 2 Decem ber 2 01 3 - 09 :4 8 PM

Guid is Ok ...

firepigmac Posted 1 5 Decem ber 2 01 3 - 08 :4 2 A M

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

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

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

atlantisman87bis Posted 1 5 Decem ber 2 01 3 - 01 :1 0 PM

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

but i'm blocking at the step

Page 7: OS X Mavericks in VirtualBox - Multi-Booting and Virtualisation - InsanelyMac Forum

17/2/2014 OS X Mavericks in VirtualBox - Multi-booting and Virtualisation - InsanelyMac Forum

http://www.insanelymac.com/forum/topic/294083-os-x-mavericks-in-virtualbox/ 7/8

Using Disk utility restore Basesy stem.dmg to OSXMav ericks.dmg

where i could find the Basesy stem.dmg please ? i ve download the Mavericks from Appstore and i found a InstallESD.dmg in

the content but not this

thanks

pippox0 Posted 1 5 Decem ber 2 01 3 - 05 :5 2 PM

firepigmac, on 15 Dec 2013 - 02:42 AM, said:

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

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

Kernelcache is not needed ...

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

@atlantisman87 bis

Follow the guide to USB Pen creation -> first post

Basesy stem.dmg is inside InstallESD.dmg

jamesrt Posted 1 5 Decem ber 2 01 3 - 09 :4 1 PM

Hi,

I'm getting stuck after booting from the "hackboot_mav .iso" image; I can switch to the OS X .iso I'v e 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):

(http://www.insanely mac.com/forum/index.php?app=core&module=attach&section=attach&attach_id=1 33305)

ScreenShot.png (http://www.insanely mac.com/forum/index.php?app=core&module=attach&section=attach&attach_id=1 33305)

96.58KB 9 1 dow n loa ds

Yes, I'v e noticed the error around "FakeSMC" about half-way down the screen shot, I know I'v e put fakesmc.kext into

/Sy stem/Library /Extensions; not sure why that message appears (I'v e also copied the whole Install1 09 extracted .zip file into the root

of the image, so "/Install1 09/Kexts/FakeSMC.kext" exists; but not sure if that is confusing the issue or not!)

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

(Note, as I also hav e a macbook, I'v e tried booting the same images in Parallels, and it does progress to the installer, so I'm hopeful I

hav en't done any thing too stupid with my image creation, and that I just need some kernel command-line magic...)

Any suggestions welcome!

pippox0 Posted 1 6 Decem ber 2 01 3 - 06 :1 9 A M

Hi ,

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

Mach_kernel should be in / root

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

Third, try to boot with -v -f

luckman212 Posted 1 6 Decem ber 2 01 3 - 07 :1 5 PM

Page 8: OS X Mavericks in VirtualBox - Multi-Booting and Virtualisation - InsanelyMac Forum

17/2/2014 OS X Mavericks in VirtualBox - Multi-booting and Virtualisation - InsanelyMac Forum

http://www.insanelymac.com/forum/topic/294083-os-x-mavericks-in-virtualbox/ 8/8

Pa g e 1 of 3 Ba ck to Mu lt i-boot in g a n d V ir tu a lisa t ion

In sa n ely Ma c For u m → OSx 8 6 Pr oject → Mu lt i-boot in g a n d V ir tu a lisa t ion

© 201 4 Insanel y Mac | N ew s | For um | Dow nl oads | OSx 86 W i k i | Mac N etbook | W eb hosti ng by CatN | Desi gned by Ed Gai n | Logo by i r fan | Pr i v acy Pol i cy

This looks really interesting! Does iMessage work from inside this VM? Just curious, b/c I hav e not been able to get it to work with

VMware.