willgonz Posted August 15, 2011 Share Posted August 15, 2011 So I have a MacBook Pro i7. I would like to install a guest OS of Lion. I am running Lion now, but I need a test environment so I can safely break stuff in the test. Is there a guide? Thanks, WillGonz Link to comment https://www.insanelymac.com/forum/topic/265674-install-lion-as-guest-os-on-real-mac/ Share on other sites More sharing options...
willgonz Posted August 16, 2011 Author Share Posted August 16, 2011 Ok I think I got this to work. First I used VirtualBox 4.1.2 then I followed this guide: http://and.thirdly.org/post/7842554385/cre...d-for-os-x-lion Then I followed this Guide only doing the part of the OSInstall.mkpg I ended up copying his downloadable one and putting it into mine. http://www.insanelymac.com/forum/index.php?showtopic=265453 It is installing now. Here are the steps: Buy the Lion upgrade from the Mac App Store and wait for it to complete its download. Do not launch it. Start terminal and enter the following cd /Applications/Install\ Mac\ OS\ X\ Lion.app/Contents/SharedSupport open InstallESD.dmg cd /Volumes/Mac\ OS\ X\ Install\ ESD/ hdiutil convert BaseSystem.dmg -format UDRW -o ~/Desktop/Lion.dmg hdiutil resize -sectors 8636968 ~/Desktop/Lion.dmg hdiutil attach ~/Desktop/Lion.dmg Right now you would have 2 disks mounted in Finder, “Mac OS X Install ESD” and “Mac OS X Base System”. Head into “Mac OS X Base System” and then the “System” directory. Enter the “Installation” directory and deleted the file with an arrow named “Packages”. Copy the “Packages” directory in the “Mac OS X Install ESD” disk into the same directory where you deleted the “Packages” file previously. Replace the OSInstall.mpkg with the one from Install Retail Lion on Virtual Box 4.1, Guide on installing Mac OS X Lion on Virtual Box This copy should take a huge amount of time. Its about 2GB in size. Eject both drives once the copy is done. Switch back to terminal and enter the following hdiutil convert ~/Desktop/Lion.dmg -format UDZO -imagekey zlib-level=9 -o ~/Desktop/Lion\ Install.dmg Wait for it to do its thing. Once its done, “Lion Install.dmg” on your desktop is a disk image you can either burn to a DVD or restore to a USB drive for a way to boot into the Lion install process to get a clean install. By clean install, it means using the bootable DVD/USB and then running disk utility to format your system to install Lion. You do not need any Hacks if you're running on a real Mac. Link to comment https://www.insanelymac.com/forum/topic/265674-install-lion-as-guest-os-on-real-mac/#findComment-1735408 Share on other sites More sharing options...
Recommended Posts