

use Startup Manager to start from something other than the template.when the Welcome screen displays regions, shut down.name the partition Mountain Lion template.Use Disk Utility to partition the spare drive, one partition.For a virtual machine with 2 GB memory, a 16 GB device will suffice. IntentionĪ template, a reasonably small virtual disk image that can be copied for use in any VirtualBoxVM. (Bear in mind: day one was almost totally oriented to download-based upgrades from Snow Leopard.)ġ0.7.x or 10.8 (Build 12A269) in VirtualBoxĪ preferred alternative to my earlier answer, a simpler approach to installing then imaging what's required to run 10.8 in a VirtualBoxVM.Īssume that a similar approach will be equally good for 10.7. With that caution in mind, my strongest recommendation is (A) to wait for Apple to provide USB flash media ( scheduled for August 2011) with the assumption that it will be both (i) greater than 11A511 and (ii) more suitable for virtual machines and other environments that lacked broad support from Apple on the day of Lion's release. home-produced bootable media for Lion: known risks and unknowns around 10.7 (Build 11A511).Please consider the following extract from Ask Different Chat: dmg out of context, as suggested above, you may be risking the integrity of your installation in ways that we can not predict. app for 11A511 as a whole) carries the greatest long-term risks. This may be most tempting and most likely to yield immediate success, of sorts, but in my estimation: hacking with this particular. Suggestion D: hobby hacking with InstallESD.dmgĪt least one Apple Exchange user reports some success with a home-produced DVD burnt from an InstallESD.dmg If at step (5) you fail, discuss in Ask Different Chat.
ADDING CODE TO MAC OS FOR VIRTUALBOX MAC OS X
dmg then use Mac OS X Utilities to reinstall using the electronic software distribution downloaded from Apple If you can boot the virtual machine from that.

Use chflags with the nohidden keyword to remove the hidden flag from the copy that you set aside Use ditto or cp to set aside from that volume a copy of the following file: Suggestion C: hobby hacking with BaseSystem.dmg Attention please to agreements at Apple - Legal.
ADDING CODE TO MAC OS FOR VIRTUALBOX INSTALL
In the virtual machine: install Snow Leopard then (honouring Apple's license for Snow Leopard as far as possible in this situation) use that installation for nothing other than an immediate upgrade to Lion. Suggestion B: attempt upgrade from Snow Leopard within the virtual machine

It may be something greater than 11A511 and if so, that greatness may be more suitable for use in virtual machines without the need to hack (see caution below). Suggestion A: await media from AppleĪwait Apple's provision of Lion on a USB thumb drive. This version of Mac OS X is not supported on this platform! dmg files are recognised.ĭepending on your approach, you might see: With the most recent VirtualBox it is unnecessary to convert disk images. Whilst end user forums are currently limited to Mac OS X Server, not updated for Lion, there is discussion of Lion (not always Lion Server) in that context. 10.7 (Build 11A511) guest in VirtualBox 4.1 greater
