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