Mac OS X Lion (Developer Preview) – Install Guide Last Updated: 05.03.11 David Huynh
DAVIDEMON – INSANELYMAC FORUMS
Mac OS X Lion (Developer Preview) – Install Guide Installing “Mac OS X Lion (Developer Preview)” is quite a difficult task. You will need both your own knowledge and understanding of installing Mac OS X on a PC, as well as patience, in order to complete this challenging task. In some cases, you may be very unlucky and therefore, will not be able to install Mac OS X on your system specifications. This guide does not go in full depth, so please refrain from complaining if your computer blows up. Here are my system specifications: Motherboard: ASUS P5E (x38) Processor: Intel Pentium® Dual-‐Core Processor E5200 Memory: 4GB DDR2 SDRAM Graphics Card: ATi Radeon Gigabyte HD 5670 Sound Card: SupremeFX II Blackhawk
WHAT YOU WILL NEED: •
Mac OS X Lion.dmg
•
Existing Snow Leopard installation or maybe Leopard
•
iBOOT EFI boot loader (download -‐ http://osx86.co/f36/new-‐duet-‐based-‐efi-‐bootloader-‐t6383/)
•
Spare USB drives (for Mac OS X Lion Installation and iBOOT EFI boot loader)
•
Existing Windows installation (optional if you already know how to install iBOOT)
CONTENTS: 1. Part 1 (Setting up Mac OS X Lion installation) 2. Part 2 (Installing iBOOT) 3. Part 3 (Installing Mac OS X Lion) 4. Part 4 (Getting Mac OS X Lion to work) 5. A few side notes… PAGE 2 OF 6
DAVIDEMON – INSANELYMAC FORUMS
INSTRUCTIONS:
Part 1 (Setting up Mac OS X Lion installation) 1. Boot into your existing Mac OS X installation. 2. Mount the “Mac OS X Lion.dmg”. 3. Open “Terminal.app” and type the following: open /Volumes/Mac\ OS\ X\ Install\ ESD/BaseSystem.dmg
4. Open “Disk Utility.app” and erase your USB drive and modify the “Format” to “Mac OS Extended (Journaled)” and use GUID partition table. 5. Restore “Mac OS X Base System” from “BaseSystem.dmg” to that same USB drive. 6. Open “Finder” and locate the newly restored drive. 7. Go to the folders “System > Installation” and remove the “Packages” alias. 8. Go back to “Terminal.app” and type the following: open /Volumes/Mac\ OS\ X\ Install\ ESD/Packages
9. Copy the contents of that folder. 10. Go back to the restored USB drive and again, locate “System > Installation”. 11. Create a folder called “Packages” and paste the previously copied files. 12. Wherever your “FakeSMC.kext” is, locate it. e.g. “Extra > Extensions” 13. Copy that kernel extension and go to the USB drive and paste it in the folder “System > Library > Extensions”. 14. Go back to “Terminal.app” and type the following (drag and drop FakeSMC.kext from the folder): sudo su [enter your password] chown –R 0:0 FakeSMC.kext chmod –R 755 FakeSMC.kext
And the first part should be set!
Part 2 (Installing iBOOT) 1. Boot into your existing Windows Installation. 2. Download iBOOT EFI boot loader. 3. Extract the file to your Desktop, or anywhere else you prefer. 4. Run the Windows setup located in “iBOOT > iBOOT Setup Tool (Windows) > ‘iBOOT_SetupToolBeta.2.exe’” PAGE 3 OF 6
DAVIDEMON – INSANELYMAC FORUMS
5. Insert a spare USB drive and click on “Format Disk”. 6. Re-‐plug your USB drive and click on “Prepare iBOOT”. (or whatever it is called). If you need to add your DSDT or EFI drivers, add them in their respective folders. There is an alternate way if you do not have an existing Windows installation – installing iBOOT via Mac OS: 1. Go to the folder “iBOOT > DuetToHDD”. 2. Run “Terminal.app” and drag and drop “DuetToHDD” (not the folder, the actual file) press the “Space” bar and type: write /dev/rdiskXsY Where X and Y points to your spare USB drive. 3.
Press the “Space” bar again, and drag the “Efildr20” file into “Terminal.app” and press “Enter”.
Credits to “blade5502” of InsanelyMac Forums for the instructions. You’re ready to go!
Part 3 (Installing Mac OS X Lion) 1. Boot your computer via iBOOT USB drive. 2. You should see a white line for a few seconds, then a blank screen, if not, the GUI interface. 3. If you do not see a GUI interface, press the “U” key to increase the resolution, or the “D” key to decrease the resolution, until you are able to see the USB drives. 4. If not again, press “V” to detect volumes, which should refresh the loader. 5. Press “M” and set the boot flags as: -v Any other flags are optional, e.g. arch=i386, arch=X86_64”. 6. Select your installation USB drive, “Mac OS X Base System”. If it does not boot properly, then either you have no completed a step properly, OR, you are missing a boot flag which varies among systems. 7. Once the installation loads, select your language and continue the normal process of removing, resizing, or creating partitions on your hard drive. I recommend partitioning your hard drive, to keep your existing Operating Systems incase something goes wrong. As for me, I like having everything new even if it is in alpha, beta, etc, stages. I destroyed my existing partitions and started a fresh install. It’s time to unleash the Lion. PAGE 4 OF 6
DAVIDEMON – INSANELYMAC FORUMS
Part 4 (Getting Mac OS X Lion to work) There is an alternate way of doing this via an existing Mac OS installation, however since we are performing a fresh install, we will boot into your installation drive. 1. Once everything is done, restart your computer and boot into iBOOT again. 2. Load up the “Mac OS X Base System”. 3. When the installation is loaded, go into the “Utilities” menu and select “Terminal”. 4. Type in the following: cd /Volumes/[---]/System/Library/CoreServices/ rm –rf PlatformSupport.plist cd /Volumes/Mac\ OS\ X\ Base\ System/System/Library/Extensions/ cp –R FakeSMC.kext /Volumes/[---]/System/Library/Extensions/ chown –R 0:0 /Volumes/[---]/System/Library/Extensions/FakeSMC.kext chmod –R 755 /Volumes/[---]/System/Library/Extensions/FakeSMC.kext exit Where [-‐-‐-‐] is your Mac OS X Lion partition.
5. Reboot and once again load up iBOOT, and this time, select your installed Mac OS X Lion partition and go! 6. If everything goes well, you should see the welcome video, and account creation wizard. You may now customize boot settings in iBOOT to your tastes, install kexts from “Extra > Extensions” from your previous Mac OS X Snow Leopard 10.6.6 partition into “System > Library > Extensions” of your newly installed OS. And that should be it! Welcome to the world of Lions… Known working kexts are:
-‐
FakeSMC.kext (System Management Controller emulator – required)
-‐
NullCPUManagement.kext (disables AppleIntelCPUManagement.kext which may cause kernel panics without a proper DSDT – recommended)
-‐
EvOreboot.kext (adds restart and shutdown functionality, without a DSDT, for most systems – optional)
-‐
ElliotForceLegacyRTC.kext (prevents the “CMOS Reset” which is encountered on most motherboards – recommended)
-‐
IOAHCIStorageBlockInjector.kext (cosmetically changes the look of external drives to look internal – optional)
PAGE 5 OF 6
DAVIDEMON – INSANELYMAC FORUMS
A few side notes… Your system may or may not accept certain hardware components such as graphics cards. For me, my ATi worked out of the box (all ports working) with the new ATi support. If troubles occur, read, research and have patience while other members figure out methods that will help you, or, experiment on your own. Quote “netkas” from netkas.org: Apple didn’t include Fermi drivers in Lion DP (Shame!!) But, with NVIDIA’s Fermi drivers you can get resolution change working, just copy NVDAResman.kext and NVDAFG100hal.kext from NVIDIA drivers into /S/L/E/ of Lion, and remove GeForce.kext from /S/L/E/ That’s all; you will not get QE/CI because a)
Lion’s GeForce.kext doesn’t properly work with Fermi and Snow’s nvdaresman (from NVIDIA drivers)
b)
Lion’s GeForceGLDriver.bundle doesn’t work with GeForce.kext (from NVIDIA drivers), and
c)
Snow’s GeForceGLDriver.bundle (from NVIDIA drivers) can’t be used in Lion.
That’s it from me! Thank you all that helped me through my installation, and I hope this community prospers in the time to come. Special credits to USR-‐SSE2 for coming up with the original guide on installing Mac OS X Lion (Developer Preview).
PAGE 6 OF 6