Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
Install OS X 10.10 Yosemite in VirtualBox
@IOOI-SqAR

This comment has been minimized.

Copy link

commented Oct 19, 2014

An somewhat easier way with a bash script and step by step explanation can be found here:
http://sqar.blogspot.de/2014/10/installing-yosemite-in-virtualbox.html

@frdmn

This comment has been minimized.

Copy link
Owner Author

commented Oct 22, 2014

@IOOI-SqAR nice post!

@edissonp

This comment has been minimized.

Copy link

commented Oct 23, 2014

I am follow all the steps, but when the VM is boot show this error and not install

ACPI_SMC_PlatformPlugin::registerLPCDriver - WARNING - LPC device initialization failed: C-state power management not initialized

What a need to check?

Working with teh last virtual box 4.3 on windows 7

@stevenlustig

This comment has been minimized.

Copy link

commented Oct 23, 2014

It seems to me that the entire creation of the sparseimage and conversion back to .dmg is unnecessary since the initial iesd command copies the the two BaseSystem files over...

Am I missing something?

@frdmn

This comment has been minimized.

Copy link
Owner Author

commented Oct 27, 2014

@edissonp Which Mac do you use to run VirtualBox?

@stevenlustig I'll find out and let you know. Thanks for the tip :)

@amontalban

This comment has been minimized.

Copy link

commented Nov 17, 2014

I have a MacBook Pro (Retina, 15-inch, Late 2013), and in order to solve the "Missing Bluetooth Controller Transport" thing I had to execute the following command in terminal:

VBoxManage modifyvm "VM Name" –cpuidset 00000001 000306a9 00020800 80000201 178bfbff

[1] http://www.jacobtomlinson.co.uk/2014/06/07/how-to-install-os-x-yosemite-developer-preview-in-virtualbox/

@zachgenius

This comment has been minimized.

Copy link

commented Nov 18, 2014

hi , I have the same problem just like @edissonp had. My system is windows 7 (64bit with 8GB RAM), dmg is 10.10 and virtualbox with version 4.3.18

@liar666

This comment has been minimized.

Copy link

commented Nov 19, 2014

https://www.youtube.com/watch?v=tafqhSUfKnY
points to:
https://drive.google.com/folderview?id=0B9oZd81xqtTOckJOT25uTzVfT3c&usp=sharing
The file Key.text made everything work for me under GNU/Linux+VBox 4.3.18!

VBoxManage.exe modifyvm "Yosemite 10.10 Retail" --cpuidset 00000001 000306a9 04100800 7fbae3ff bfebfbff
VBoxManage setextradata "Yosemite 10.10 Retail" "VBoxInternal/Devices/efi/0/Config/DmiSystemProduct" "MacBookPro11,3"
VBoxManage setextradata "Yosemite 10.10 Retail" "VBoxInternal/Devices/efi/0/Config/DmiSystemVersion" "1.0"
VBoxManage setextradata "Yosemite 10.10 Retail" "VBoxInternal/Devices/efi/0/Config/DmiBoardProduct" "Iloveapple"
VBoxManage setextradata "Yosemite 10.10 Retail" "VBoxInternal/Devices/smc/0/Config/DeviceKey" "ourhardworkbythesewordsguardedpleasedontsteal(c)AppleComputerInc"
VBoxManage setextradata "Yosemite 10.10 Retail" "VBoxInternal/Devices/smc/0/Config/GetKeyFromRealSMC" 1

@wush978

This comment has been minimized.

Copy link

commented Nov 19, 2014

@liar666 your post works for me, thanks!

@ghost

This comment has been minimized.

Copy link

commented Nov 19, 2014

@liar666, thanks! Works great on SL6.5+VB4.3.18!

@frdmn

This comment has been minimized.

Copy link
Owner Author

commented Nov 20, 2014

@liar666 Nice find!

@sandvige

This comment has been minimized.

Copy link

commented Nov 21, 2014

This is not working for me with this error:

***********************************************************
This version of Mac OS X is not supported on this platform!
***********************************************************

Any idea?

@frdmn

This comment has been minimized.

Copy link
Owner Author

commented Nov 26, 2014

@sandvige which OS X did you try? Yosemite? Latest version from AppStore?

@raicho81

This comment has been minimized.

Copy link

commented Nov 27, 2014

Cool! It worked good for me.

@jofromaix

This comment has been minimized.

Copy link

commented Dec 16, 2014

Hi, trying to install yosemite in Virtualbox 4.3 on linux host. I get stuck with this message

ACPI_SMC_PlatformPlugin::registerLPCDriver - WARNING - LPC device initialization failed: C-state power management not initialized

Architecture: x86_64
CPU op-mode(s): 32-bit, 64-bit
Byte Order: Little Endian
CPU(s): 8
On-line CPU(s) list: 0-7
Thread(s) per core: 2
Core(s) per socket: 4
Socket(s): 1
NUMA node(s): 1
Vendor ID: GenuineIntel
CPU family: 6
Model: 60
Stepping: 3
CPU MHz: 3200.000
BogoMIPS: 6784.35
Virtualization: VT-x
L1d cache: 32K
L1i cache: 32K
L2 cache: 256K
L3 cache: 8192K
NUMA node0 CPU(s): 0-7

Thanks

Jo

@1dot75cm

This comment has been minimized.

Copy link

commented Dec 29, 2014

@liar666, thanks! Works great on GNU/Linux+VB4.3.20!

@zhongjiewu

This comment has been minimized.

Copy link

commented Jan 1, 2015

@edissonp saw the same thing but then the GUI installer showed up about 10 second after I see this error message

@mmuldoor

This comment has been minimized.

Copy link

commented Jan 5, 2015

I'm going to try a different route.. Installed OSX via Niresh's Mavericks Distro, then trying to upgrade to Yosemite. I'll post the results!

@jsgv

This comment has been minimized.

Copy link

commented Jan 10, 2015

Im stuck on the shell screen, won't install.
Not sure how to proceed from here.

UEFI Interactive Shell v2.0 UEFI v2.31 (EDK II, 0x00010000) . Revision 1.02


Press ESC in 4 seconds to skip startup.nsh or any other key to continue.
2.0 Shell>      

Fixed: just needed to change the SATA Port

@ned-sfdc

This comment has been minimized.

Copy link

commented Jan 12, 2015

I think instead of using mount and unmount, one should use attach and detach for hdiutil.

@geopast

This comment has been minimized.

Copy link

commented Feb 20, 2015

Would you be able to post the same steps for installing 10.9 and 10.8 on a Mac in VB?
I've tried following the above for 10.10 and they worked after adjusting the guest CPU as you suggested.
I'm trying now to do the same install for 10.9 but it halts during the startup at the following:-

hfs: mounted OS X Base System on device root_device

@klappradla

This comment has been minimized.

Copy link

commented Feb 25, 2015

Worked perfectly fine for me, thanks!

A few notes:

  • running VM 4.3.22 on OSX Yosemite
  • at point 11, I didn't get errors in the Terminal, but still had to unmount in DiskUtility by hand to continue
@julian-weinert

This comment has been minimized.

Copy link

commented Apr 1, 2015

First guide ever that completely worked and also mentioned the correct chipset ID.
Thank you very much, my new integration test server appreciates it a lot!

@jozacks

This comment has been minimized.

Copy link

commented May 20, 2015

A few other bits of info that weren't explicitly spelled out that might be helpful for others:

  • create VM with type Mac OS X and version Mac OS X (64-bit); I set RAM to 4096, not sure that is optimal; create thje VM with a virtual hard drive of format VDI (I chose dynamically allocated)
  • to get it to boot from the CD, I started the VM and then went to Devices menu > CD/DVD Devices > Choose a virtual CD/DVD disk file..., then navigated to choose yosemitefixed.dmg. Then shut down machine and started it again.
  • to change chipset ID, go to settings for the VM > System > Motherboard > Chipset
  • I had to run the first command as root (sudo) (and maybe other commands, I just ran them all as root after that)
@awong-dev

This comment has been minimized.

Copy link

commented Jun 9, 2015

FYI, I just downloaded yosemite today to try this and after the iesd step, the resulting yosemite.dmg already has both BaseSystem.dmg and BaseSystem.checklist. I think you can remove all the steps regarding creating a sparse image, copying the files, and then recreating the dmg saving many gigs of extra copies.

@gabrielhpugliese

This comment has been minimized.

Copy link

commented Aug 4, 2015

@liar666 answer worked for me too! Yoohoo!

@sanmaozhao

This comment has been minimized.

Copy link

commented Sep 10, 2015

@jesusjjf
I get UEFI Sheel too. "change the SATA Port" is how to do?
Thanks!

@magnusviri

This comment has been minimized.

Copy link

commented Sep 11, 2015

Ditto, how do you "change the SATA Port"? Mine is set to SATA Port 0 in the VirtualBoxes' Settings, Storage. Is there a way to do it using the UEFI shell or command line?

@satlakranthi

This comment has been minimized.

Copy link

commented Jan 7, 2016

hi sir,

i'm getting error when i going to install yosemite 10.10 in virtual box win windows 7 like below image. kindly help to do this.

thanks and regards
Satla Kranthi

untitled

@Lankapathi

This comment has been minimized.

Copy link

commented Feb 26, 2016

@liar666 hey friend , VBoxManage.exe modifyvm "Yosemite 10.10 Retail" --cpuidset 00000001 000306a9 04100800 7fbae3ff bfebfbff
"Yosemite 10.10 Retail" should I change this part ? if i have to change this what should i type here ?

@coderjxh

This comment has been minimized.

Copy link

commented Mar 22, 2016

@liar666, thanks! Works great on Win7+VB5.0.16

@Jatindesraj

This comment has been minimized.

Copy link

commented Aug 19, 2016

Hi,

Can you please help with this, I am not able to install MAC OS X 10.9 Virtual image. I am installing it for the first time and have followed all the instructions.
error

@Berkmann18

This comment has been minimized.

Copy link

commented Dec 13, 2016

@JesusGalvan I also have that shell prompt popping up, did you solved it by just changing the Sata port of the .vdi file in the Controller: SATA ?

@lemarcque

This comment has been minimized.

Copy link

commented Jun 11, 2017

@JesusGalvan @magnusviri @magnusviri Did you find any solution ? Because i got the same error.
Thank you.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.