5

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).

4
  • Are u talking about accomplishing this on a Mac or a PC - Which is the primary Operating System?
    – Simon
    Commented Dec 21, 2012 at 16:08
  • 1
    If u are talking about doing it on a PC....so called Hackintosh builds, I think that is considered off topic for SuperUser
    – Simon
    Commented Dec 21, 2012 at 16:11
  • 2
    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
    Commented Dec 21, 2012 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
    Commented Dec 21, 2012 at 17:05

1 Answer 1

9

The simple way is this:

hdiutil makehybrid -iso -hfs /Applications/Install\ OS\ X\ Mountain\ Lion.app/Contents/SharedSupport/InstallESD.dmg -o OSX-10.8.iso

Source

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.

1
  • 1
    Not quite... VirtualBox doesn't appear to be supporting Mountain Lion or newer. I've tried and I'm stuck with a PowerShell.
    – Jeffrey
    Commented Oct 13, 2013 at 13:35

You must log in to answer this question.

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