# Running Mac OS X guest OS in VirtualBox

**URL:** <https://www.ruby-forum.com/t/running-mac-os-x-guest-os-in-virtualbox/240841>\
**Category:** Rails\
**Created:** [May 2, 2014, 5:26pm UTC](https://www.ruby-forum.com/t/running-mac-os-x-guest-os-in-virtualbox/240841 "2014-05-02T17:26:06Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![Detlef\_R](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/d/58f4c7/32.png) [@Detlef\_R](https://www.ruby-forum.com/u/Detlef_R)\
**Post date:** [May 2, 2014, 5:26pm UTC](https://www.ruby-forum.com/t/running-mac-os-x-guest-os-in-virtualbox/240841/1 "2014-05-02T17:26:06Z")

</div>

I have plenty of experience using Linux as a host OS and as a guest OS.

I like using VirtualBox for Ruby on Rails development because of its  
ability to save snapshots. In my early days, I found this indispensable  
for installing Ruby on Rails. I still like VirtualBox for Ruby on Rails  
development, because it allows me to save a snapshot of a fresh  
installation. When I think I’ve finished an app, I have easy access to  
a  
fresh Ruby on Rails installation where I can try out my app and make  
sure  
that I’ve included all dependencies in the \*.gemspec/Gemfile and that  
the  
setup procedure in my README file is complete. I’m surprised that using  
VirtualBox isn’t standard operating procedure.

I have been learning to develop Ruby on Rails on a Mac (I learned the  
Linux  
way first), and I have installed Linux as a VirtualBox guest OS on my  
Mac.

However, I’ve been unable to install Mac OS X Mavericks in a guest OS on  
my  
Mac OS X Mavericks host. I’ve followed procedures I found online for  
creating an ISO file from the installation file (which I got by  
downloading  
but not installing the installation file from the Apple store), but OS X  
didn’t boot up on the guest system. I just ended up with an empty black  
screen.

Has ANYONE here SUCCESSFULLY installed Mac OS X as a guest OS? Exactly  
what procedure did you follow in creating the ISO file? Or could it be  
that the ISO file isn’t the problem, and I missed some critical detail  
in  
the boot up process?

Yes, I was so spoiled by Linux.

---

<div class="post-metadata">

**Author:** ![Jason\_H.S\_Rubyist](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/j/2bfe46/32.png) [@Jason\_H.S\_Rubyist](https://www.ruby-forum.com/u/Jason_H.S_Rubyist)\
**Post date:** [May 2, 2014, 5:32pm UTC](https://www.ruby-forum.com/t/running-mac-os-x-guest-os-in-virtualbox/240841/2 "2014-05-02T17:32:53Z")

</div>

> I’m surprised that using VirtualBox isn’t standard operating procedure.

In fact it _has_ become something of a standard procedure to use  
VirtualBox, but implicitly through Vagrant (which is a UI layer on top  
of your virtualization platform).

More recently the Docker project is starting to gain traction here as  
well (which could appeal to your love of snapshots), although the  
technical bar is higher for Docker, and since you mention OSX  
specifically, Docker support for OSX is pretty young.

I’d compare and contrast Vagrant and Docker for your needs before diving  
deeper into OSX Inception just for the sake of development.

Cheers!  
-Chris

Chris T.  
Forge Software  
[removed\_email\_address@domain.invalid](mailto:removed_email_address@domain.invalid)  
800.875.3048 x1

---

<div class="post-metadata">

**Author:** ![Jason\_H.S\_Rubyist](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/j/2bfe46/32.png) [@Jason\_H.S\_Rubyist](https://www.ruby-forum.com/u/Jason_H.S_Rubyist)\
**Post date:** [May 21, 2014, 9:41am UTC](https://www.ruby-forum.com/t/running-mac-os-x-guest-os-in-virtualbox/240841/3 "2014-05-21T09:41:49Z")

</div>

I followed the instructions for generating the Mavericks ISO file. It  
doesn’t work when I try to boot it up in VirtualBox. There’s just a  
blank  
black screen. Did I miss an important detail?

---

<div class="post-metadata">

**Author:** ![Jason\_H.S\_Rubyist](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/j/2bfe46/32.png) [@Jason\_H.S\_Rubyist](https://www.ruby-forum.com/u/Jason_H.S_Rubyist)\
**Post date:** [June 4, 2014, 11:02pm UTC](https://www.ruby-forum.com/t/running-mac-os-x-guest-os-in-virtualbox/240841/4 "2014-06-04T23:02:56Z")

</div>

Some updates:

1. Seeing screen output when you boot up with the Mac OS X ISO file  
requires going to the Settings -\> Display menu and providing enough  
video  
memory. The default setup is virtually no video memory. Setting it to  
the  
full 128 MB of video memory allowed me to see screen output.
2. During the process of booting up, the screen froze with the last  
message as “hfs: mounted OS X Base System on device root\_device”. Going  
to  
the terminal and entering the command “VBoxManage modifyvm MacOSX  
–cpuidset 1 000206a7 02100800 1fbae3bf bfebfbff” (assuming “MacOSX” is  
the  
name of the virtual drive) allowed me to make it past this stage.
3. When you reach the OS X Installer, you need to go to the Utilities  
menu  
and partition your virtual hard drive. Otherwise, the installer will  
not  
recognize it and thus not give you the option of installing OS X on it.

---

<div class="post-metadata">

**Author:** ![Jason\_H.S\_Rubyist](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/j/2bfe46/32.png) [@Jason\_H.S\_Rubyist](https://www.ruby-forum.com/u/Jason_H.S_Rubyist)\
**Post date:** [May 8, 2014, 7:35am UTC](https://www.ruby-forum.com/t/running-mac-os-x-guest-os-in-virtualbox/240841/5 "2014-05-08T07:35:14Z")

</div>

> Has ANYONE here SUCCESSFULLY installed Mac OS X as a guest OS?

Yes, I have. Have mavericks running in a Virtualbox VM hosted on  
mavericks.  
Followed similar internet instructions (link below).. have Virtualbox v  
4.3.10r93012 didn’t have to do anything special (I was actually looking  
to  
make the BIOS EFI etc., but ddin’t have to do any of that, it just  
worked!)

> **[Security Verification](https://discussions.apple.com/verify-human/verify.html?next=%2Fthread%2F5478615?tstart=0)**
>
> Security verification page to protect against malicious bots.

use DVD section, this will lead you to an iso file, mount .iso file to  
virtualbox cdrom, boot from it and you should be good to go.
