Recently, I tried creating an OSX Virtualbox VM on my macbook. Creating a virtualbox VM should be easy, I guessed, as I am just looking to run an OSX guest on an OSX host. Not trying to create a hackintosh here.
However, it turned out to be more tricky than I anticipated. For starters, I needed a bootable iso of the OSX operating system, but Apple does not provide one anymore. So this is what I had to do...
I searched around on google and ran into many useless pages. Finally, I found one that had a useful solution.
I replicate the instructions here, in case that website goes missing.
Look for Install OSX Yosemite.app
in your /Applications
folder. If its already there, you can save on a large download.