Skip to content

Instantly share code, notes, and snippets.

@frdmn
Last active February 22, 2022 08:39
Show Gist options
  • Save frdmn/de12c894a385bc8e6bff to your computer and use it in GitHub Desktop.
Save frdmn/de12c894a385bc8e6bff to your computer and use it in GitHub Desktop.
Install OS X 10.10 Yosemite in VirtualBox
@frdmn
Copy link
Author

frdmn commented Nov 26, 2014

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

@raicho81
Copy link

Cool! It worked good for me.

@jofromaix
Copy link

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
Copy link

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

@jay-w-opus
Copy link

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

@mmuldoor
Copy link

mmuldoor 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
Copy link

jsgv 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
Copy link

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

@geopast
Copy link

geopast 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
Copy link

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
Copy link

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
Copy link

jozacks 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
Copy link

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
Copy link

@liar666 answer worked for me too! Yoohoo!

@sanmaozhao
Copy link

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

@magnusviri
Copy link

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
Copy link

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
Copy link

@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
Copy link

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

@Jatindesraj
Copy link

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
Copy link

@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
Copy link

@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