EDIT:NOTE: This post was for 10.7 Developer Preview 2 and the steps were out of date for GM and 10.7 release versions though I've done my best to patch the steps for the release version..
For more info and alternative, more tried and tested guides to use, see here.
I've received a few PM's recently asking how I installed the developer previews of 10.7 on my system, so to save me sending individual replies everytime, I'm posting here the list of steps that I used so I can then point people to in the future. This is by no means a complete reference for everyone's hardware, and these steps might not even be the best way of doing it. The main 10.7 installation topic
at InsanelyMac is still the place for an overview of how's and why's etc.
This is only what I did to install 10.7 DP2 on my very compatible hardware that consists of the GA-EP45-DS3L, E7300 CPU, 2x2GB DDR2 RAM, NVidia 8800GT. Installation of 10.7 Developer Preview 2Credit goes to usr-sse2 for posting the original installation steps at AppleLifeBefore starting, you will find it beneficial to:
• Ideally to be up to date with the latest SL install procedure and techniques here.
• As we will be booting 10.7 with XPC and not Chameleon, then you won't be able to benefit from any of Chameleon's tricks such as GraphicsEnabler and auto generation of SSDT tables for power management. So you might want to have knowledge of adding your P & C-State data in to your DSDT as we used to do, and be able to enable your video by an other method i.e. device (EFI) property injection, video in your DSDT or maybe NVEnabler.UPDATE:
cparm found the solution (in Apple's own sources!) to allow booting Lion from Chameleon without double-faulting so the latest Chameleon builds can now happily boot 10.7
So in this case step 15 can be skipped and step 16 will read 'Reboot using Chameleon and select……"Things to do first:
• Two spare partitions on your HDD, formatted as Mac OS Extended (Journaled) using the GUID Partition Table option. I just resized an existing partition on my drive to make room for two additional ones. I used one sized 8GB for the Mac OS X Base System, and one sized 40GB for Lion.
• You will also need a spare USB memory stick sized 1GB or more so OS X can format it as FAT32.
Find a kind friend that can let you have the installer disk image.
• Download the latest version of iPhoneTom's XPC and also find yourself DuetToHDD.Installation steps:
1 - Double click the installer disk image in the finder to mount volume.
2 - Load Terminal and do the following:
cd /Volumes/Mac\ OS\ X\ Install\ ESD
3 - Load Disk Utility.
4 - Click Restore Tab in right pane.
5 - Drag the 'Mac OS X Base System Volume' found under BaseSystem.dmg in left pane of Disk Utility, to the Source field.
6 - Drag a spare partition to Destination field (I used the 8GB one I partitioned earlier). Tick the Erase option.
7 - Click 'Restore' button and enter password to authenticate.
8 - Quit Disk Utility.
9 - Eject the mounted volume named 'Mac OS X Base System' from the Finder (the one with the white icon).
10 - Open newly created partition, now named Mac OS X Base System
11 - Navigate to /System/Installation/
12 - Trash the alias named Packages
13 - Next you need to copy the Packages folder from the already mounted Mac OS X Install ESD volume to Mac OS X Base System/System/Installation. To do that, enter the Terminal again and type the following:
cd /Volumes/Mac\ OS\ X\ Install\ ESD
sudo cp -R Packages /Volumes/Mac\ OS\ X\ Base\ System/System/Installation
14 - In Terminal, cd
to the directory containing FakeSMC.kext, then type the following:(Note: The second line below is one single line, just split due to line length).Note: THINK!.. You will need to check the path's here to make sure they match what you're trying to do. The below commands might not be correct for your system.
sudo cp -R FakeSMC.kext /Volumes/Mac\ OS\ X\ Base\ System/System/Library/Extensions
sudo rm -rf /Volumes/Mac\ OS\ X\ Base\ System/System/Library/Caches/com.apple.kext.caches/*
15 - Copy the mach_kernel from the mounted InstallESD image to the newly created Mac OS X Base System partition.
15 - Download iPhoneTom's XPC, Erase (1GB+) USB stick in DiskUtility as MSDOS (FAT32), use DuettoHDD to prepare USB, copy XPC files to USB and edit settings.plist. Note: Using correct settings here is the key to a successful installation and further on, a successful boot of Lion. (I might expand this section another time, but for now I posted some notes here and here). 16 - Reboot using XPC and select the 'Mac OS X Base System' volume to boot from.
16 - Reboot using Chameleon and select the 'Mac OS X Base System' volume to boot from.
17 - Wait until you see the installer's language selection screen, then proceed and install Lion to a blank partition (I used the 40GB one I prepared earlier), using Disk Utility if needed to prepare partition.
18 - When the installation is finished, it will restart - here you want to boot back in to Snow Leopard.
19 - In Terminal, cd
to the directory containing your kexts and copy then in Lion's S/L/ENote: For my hardware, I only needed FakeSMC.kext to boot Lion. Though I've also added, the same kexts that I have been using for 10.6, so thats the FakeSMC plugins, the KiNG's Orangeiconfix.kext, Lnx2Mac's RealtekRTL81xx.kext and Mozodojo's VoodooMonitor.kext. If you want to add other kexts then do so after adding FakeSMC.kext.
sudo cp -R FakeSMC.kext /Volumes/LionDP2_Test/System/Library/Extensions
sudo rm -rf /Volumes/LionDP2_Test/ System/System/Library/Caches/com.apple.kext.caches/*
20 - You should now be able to boot the 10.7 developer preview 2 from the XPC booter Note:
For ALC888 audio to function you'll need three things. A patched AppleHDA.kext, a legacyHDA.kext and a revised HDEF section in DSDT. I have these setup at my end, courtesy of a solution from cparm. I'll post a revised DSDT later.
Posted everything needed for audio here
.Note: This post serves as a reference to installing the 10.7 developer preview 2 for users of the same hardware as me. I will not respond with major troubleshooting sessions for other users with different hardware and have no intention of producing a fully detailed step by step PDF guide as I did for Snow Leopard because there are already a few guides and topics here at InsanelyMac dedicated to installing 10.7.