a) an Intel Core Duo2 Host computer ( mine Optiplex 760)
Windows XP or win7 (I use WinXp 32bit to run Virtualized OSX Lion 64bit on VB)
Needed (VT-x) enabled on Bios PC
2GB of phisical Ram or more
VirtualBox 4.0.4 or later
Look at my New Post [Easy Guide] more over on this discussion....
0. Create OSX Lion DVD
------------------------
Follow any guide here in the forum
I followed MalD0n Guide
http://www.insanelym...howtopic=256729
To boot Lion in VMM OSinstall.mpkg must be patched ... because inside there is a check for virtualization ...
->Copy OsInstall.mpkg from /System/Installation/Packages to Desktop
open it with Flat Package Editor
drag the file "distribution" somewhere (Desktop will do)
open "distribution" in a text editor and find "virtualization Check" inside
Find this ...
-----------
function isVirtualMachine(){
var cpuFeatures = system.sysctl( 'machdep.cpu.features' );
cpuFeatures=cpuFeatures.split(" ");
for( var i = 0; i < cpuFeatures.length; i++ ){
if( cpuFeatures[i] == "VMM" ){
return true;
}
}
return false;
-------------
-> Change from true to false
if( cpuFeatures[i] == "VMM" ){
return false;
and save "distribution"
drag back the file "distribution" in Flat Package Editor
Save mpkg and drag back to /System/Installation/Packages
Remember that, if you have only 2 Gb Ram on Host computer , also to modify MinimumRAM needed from 2048 to 1024 or lower in the file "distribution" before you copy back )
that's all !
00) Create ISO from DMG
Inside DMG copy olso Mach_kernel and KernelCache
Hint : You have to recreate DVD Hybrid ISO using terminal and
hdiutil makehybrid -iso -joliet -hfs -o OSXLion.iso Lion.dmg
1. Create virtual machine:
--------------------------
VM Name and OS Type
* Name: OSX Lion
* Operating System: Mac OS X
* Version: Mac OS X Server (64 bit)
* enable virtualization in BIOS HOST computer (VT-x)
* Memory 1024 MB (minimum)
* Virtual Disk Size: 20GB (or more)
* Boot Order: CD/DVD-ROM, Hard Disk
* Extended Features: Enable IO APIC
* Extended Features: Enable EFI
2. Set Option in VM
-----------------------
Enable Hardware clock in UTC time
Enable absolute pointing device
Display Video Memory: 32 MB
Extended Features: Enable 3D Acceleration
Storage SATA controller for HDD image Type: AHCI
IDE Controller for CD/DVD device Type: ICH9
Audio Host Audio: Windows Direct Sound
Audio Controller: Intel HD Audio
Network
* Enable Network Adapter
* Attached to: NAT
* Adapter Type: Intel PRO/1000 MT Server (82545EM)
* Cable connected
3. Installation
---------------
Download HackBoot.iso from Mald0n guide to boot Lion ( we needed it later)
http://www.insanelym...p...st&id=94070
Link osxLion.iso to DVD emulation and run Virtual Machine
- Choose the language you want
- Choose Disk Utility in the menu Utilities
- Choose the VBOX Hard Disk, put the name OSXLion and press Erase button
partition scheme GUID and HFS+ journaled
- When finished close the Disk Utility and continue
- Now you should be able to choose the formated drive and then choose install button
- Now it should install OSX Lion on your volume (Notice that it will take ~15 min to finish!)
4. Post Installation
--------------------
To be able to start Lion you have to use “Hackboot.iso”
remove Enable EFI flag from VB
Boot HacBoot on DVD emulation
- Choose OSXLion HD and press Enter
- Create user ....
- Now we have to delete /System/Library/CoreServices/PlatformSupport.plist file.
- now using Kexthelper install these Kexts
* fakesmc.kext
* nullCPUPowermanagenent.kext
- Shutdown VM ( if it does'nt close VM)
- Re Enable EFI flag , that you find under Settings - System
- remove HackBoot.iso from DVD emultation
- Start OSXLion
Greetings to every geek on this forum
Enjoy your lion on VB!
PippoX0
Note:
------------------------------------------------------------------------------
everything works !! :Audio OK, networl OK , video OK ( No Qe/CI - i have tested ..)
Appstore Works ..., LaunchPad works , ecc. i also tested Server.app and works ..
You can also choose to update your OSX Lion (downloaded last Apple patches and works ...)
VB_Lion.JPG 237.55KB
513 downloads



Sign In
Create Account









