Super User is a question and answer site for computer enthusiasts and power users. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I know how to install Mac OSX on virtual box using iso image. I have doe that also. But my question is installing OSX mountain lion which has been downloaded from App store, in virtual box. Since it is downloaded from app store, it tries to install when I opened that package. Also is there any way to convert App store package to iso image. The file I own is not a dmg file(I found an option to install using dmg file in virtual box).

share|improve this question
Are u talking about accomplishing this on a Mac or a PC - Which is the primary Operating System? – Simon Dec 21 '12 at 16:08
If u are talking about doing it on a called Hackintosh builds, I think that is considered off topic for SuperUser – Simon Dec 21 '12 at 16:11
If he's downloading it from the App Store he's obviously on a Mac. And at that point telling him how to convert the DMG to an ISO isn't violating anything. Calm the Hackintosh stuff down. – peelman Dec 21 '12 at 16:17
sorry for my late reply. I have purchased and installed it in one of my iMac. I have a mac mini where Mac OS Lion is primary OS. I don't need to upgrade it into Mountain Lion because my old Xcode (4.2) and newer ones Xcode 4.5 will work on Mountain lion. – rakeshNS Dec 21 '12 at 17:05
up vote 8 down vote accepted

The simple way is this:

hdiutil makehybrid -iso -hfs /Applications/Install\ OS\ X\ Mountain\ -o OSX-10.8.iso


That will spit out a file called OSX-10.8.iso that you can feed into Parallels, VMware Fusion, or VirtualBox and install from there.

share|improve this answer
Not quite... VirtualBox doesn't appear to be supporting Mountain Lion or newer. I've tried and I'm stuck with a PowerShell. – Jeffrey Oct 13 '13 at 13:35

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .