nForce OS X Lion (10.7) APP STORE DOWNLOAD INSTALL GUIDE
on a
Series 6 or 7 nForce chipset / Intel CPU MOBO
*************************************************************
N.B. This guide is being updated and expanded with time.......at present, please read posts #1, #2, #3, #4, #5, #6.....
*************************************************************
GUIDE CONTENTS
*************************************************************
Post #1 - How to Install OS X Lion on a HDD
Breaking News
Introduction
Latest Download Links
Previous Download Links
Acknowledgements
Methods for Installing OS X Lion on a HDD :
Part A. Enabling Snow Leopard running in 64bit mode on an nForce MOBO for OS X Lion Purchase and Download from the Apple App Store
Part B. Making a Bootable GPT Partitioned USB Flash Drive OS X Lion 10.7 Installer
Part C. Installing a Bootable OS X Lion OS 10.7 OS on a GPT Partitioned Hard Drive Using a Bootable GPT USB Flash Drive Installer
Part D. Installing a Bootable OS X Lion OS 10.7 OS on a MBR Partitioned Hard Drive Volume Using a Bootable GPT USB Flash Drive Installer
I have prepared the following BootCD/OS X Lion Base System Installer DVD installation methods for nForce MOBO owners
{a} who do not have ready access to an 8GB minimum size USB flash drive,
{b} who are having difficulty booting their PC from a USB flash drive, or
{c} who just like the idea of having an archival 'backup' installation method on an optical disk should their USB flash drive ever fail…….
BTW I use DVD+RW disks [rather than DVD-RW due to the claimed built-in defect management of DVD+RW] for [1] convenience (can be re-written up to 1000 times), and [2] long-term data-retention because the recording layer in DVD-RW and DVD+RW is not an organic dye [as used for DVD±R disks] but a phase change material, often GeSbTe chalcogenide glass, that can be transformed back and forth between a crystalline phase and an amorphous phase by a temperature change, also changing the reflectivity, depending on the power of the DVDRW laser beam.
N.B. Since the working 64bit AppleNforceATA.kext from imk does not support SATA DVDRWs for read/write , if you have to use the 64bit AppleNforceATA.kext from imk, then these DVD methods are only for use with PATA (IDE) DVDRWs...... this is because as far as I am aware, MeDevil has never released the source code for his 32bit AppleNForceATA_TEST.kext for SATA DVDRW support; only the source code for his 32bit AppleNForceATA.kext with PATA DVDRW read/write support has been released.
Part E. Installing a Bootable OS X Lion OS 10.7 OS on a GPT Partitioned Hard Drive Using the verdant_nForce_OSX_Lion_Installer_DVD_Booter
Part F. Installing a Bootable OS X Lion OS 10.7 OS on a MBR Partitioned Hard Drive Using the verdant_nForce_OSX_Lion_Installer_DVD_Booter
Post #2 - Graphic Card Operation in OS X Lion
Getting an nVidia graphics card working in Lion
Getting an ATI graphics card working in Lion
Indications that Core Image (CI) and Quartz Extreme (QE) are both enabled in Lion
Generating an EFI Graphics String for Lion
Inserting Graphics Card Hardware Matching Device ID into nVidia Graphics Kexts
Post #3 - Generating and Modifying the DSDT.aml File for Your Own nForce MOBO
1. Device (RTC) fix for the Snow Leopard CMOS Reset issue
2. DTGP Method patch to enable the use of other patches in the DSDT.aml file
3. Device (HPET) fix to enable the removal of NullCPUPowerManagement.kext from /Extra/Extensions/ and loading of AppleIntelCPUPowerManagement.kext
4. Device (LPCB) patch insertion into the DSDT.aml file to enable Native Power Management in OS X
5. Device (TMR) and Device (PIC) fixes to prevent audio "stuttering" when Native Power Management in OS X is enabled, i.e. after SpeedStepping with C-states is enabled
Post #4 - OS X Lion Installation / Boot / Operation Issues
Issue 1. [PCI configuration begin] bootup error - proposed solutions
Issue 2. Setting up Builtin Ethernet manually / LAN0 / (en0) - proposed solutions
Post #5 - Getting Audio Working in Lion
1. Audio via Analog Devices AD1988B CODEC
2. Audio via Realtek ALC885 (ALC889a) CODEC
I will post methods for getting other other audio codecs on nForce chipset MOBOs working in Lion as and when I receive them from nForce MOBO users / readers of this topic.....
Post #6 - How to Enable Natural Power Management ("vanilla speed stepping") in OS X Lion (and OS X Snow Leopard) on an nForce chipset + Intel CPU MOBO
Post #7 - Resolving the "still waiting for root device" error message on bootup after updating to OS X Lion 10.7.2
Post #8 - Peripheral Devices on nForce chipset + Intel CPU MOBOs
Device 1. Asmedia 106x SATA Controller Ver 0.95 AHCI Mode
Issue 1. Displayed in System Report as "Unknown AHCI Standard Controller:" and "Vendor: Unknown"
Issue 2. Updating the ASM1061 firmware from version 0.89 to version 0.95 and then 0.95.1
Issue 3. Resolvable Issues when the Asmedia SATA Controller is connected to one or more SATA Optical Drive
*************************************************************
*************************************************************
BREAKING NEWS
*************************************************************
1. The Apple Lion Update 10.7.1 (Client) is now available via Software Update, or as a standalone download (as is the Server version).......the 10.7.1 update is recommended for all users running OS X Lion and includes general operating system fixes that enhance the stability and compatibility of your Mac......
Note that it installs a 10.7.1 version of AppleHDA.kext, which means that if you were using the AppleHDA.kext version 10.6.2 in /System/Library/Extensions/ to enable your MOBO audio to function under Snow Leopard 10.6.8 and Lion 10.7.0, then by ensuring that in OS X Lion /System/Library/Extensions/, the 10.7.1 AppleHDA.kext is renamed using Terminal to AppleHDA.kext.1071_Orig, or something similar, so that it becomes a folder in /System/Library/Extensions/ :
sudo mv /System/Library/Extensions/AppleHDA.kext /System/Library/Extension/AppleHDA.kext.1071_Orig
your audio functioning will hopefully be restored as it is for the AD1988B codec......
Unfortunately, however, it does not appear to be that simple for the ALC885 codec........I will keep you updated on this......
2. You may have seen the announcement by Apple of their Lion Recovery Disk Assistant but running the Recovery Disk Assistant.app on my OSx86 /Hackintosh OS X Lion system generates the following message:
Lion_Recovery_Disk_Assistant.png 23.99K 120 downloadsbecause the USB Installer procedure outlined below, when installing OS X Lion on my OSx86 / Hackintosh PC, has not created a hidden Mac OS X 10.7 Lion Recovery HD volume of around 800MB, which can be seen on a real Mac by typing in the Terminal:
diskutil list
as the following example output shows:
diskutil.gif 20.66K 128 downloadsNote the Apple_Boot Recovery HD......
I installed OS X Lion to a 41 GB GPT partition and have 6.4 GB spare, so it is not a question of insufficient space.......
This is interesting.......although personally I am not a fan of hidden recovery volumes because I like to clone my own bootable backup volumes.......
Nevertheless, it is worth investigating to see how the USB flash drive OS X Lion Installer and/or the target OS X Lion HDD volume need modifying in order for the Lion Installer app to create a hidden Mac OS X 10.7 Lion Recovery HD volume within target OS X Lion HDD volume........
I would be very interested to know if the USB flash drive OS X Lion Installer setup procedure presently described in Part B. below has generated a hidden Mac OS X 10.7 Lion Recovery HD volume within target OS X Lion HDD volume for anyone on their OSx86 / Hackintosh nForce chipset PC.....
*************************************************************
INTRODUCTION
*************************************************************
This guide is:
1. Is focussed on installing and running OS X Lion on a Series 6 or 7 nForce chipset / Intel CPU MOBO:
nForce_Chipset_MOBOs.png 568.23K 371 downloadssimply because I have a 650i nForce chipset + Intel Q6600 CPU MOBO........nevertheless, I hope that owners of non-nForce chipset + Intel CPU MOBOs also find it interesting and even helpful too.......
I say this because:
{a} Each reader's MOBO brand/model typically has to have its own custom setup for DSDT/audio/networking/video etc.
{b} it is primarily the need for the AppleNForceATA.imk64bit.kext in /Extra/Extensions/ and nForceLAN.0.64.5.kext in /System/Library/ Extensions/, as well not being able to use a SleepEnabler.kext and having issues with sleep that distinguishes nForce chipset + Intel CPU MOBOs fromnon-nForce chipset + Intel CPU MOBOs rather than the basic procedures for installing OS X.........
2. Split into sections and sub-sections (from post #1 to post #8) for ease of following and adding to....
3. A "live guide" that will evolve with both Lion and time (with some inevitable typo corrections, additions, deletions etc.).......So, please read the current online "live" guide before attempting to follow it, even if you had previously followed an earlier version successfully.....
4. Starts with the assumption that you already have OS X Snow Leopard (10.6.6 or later) installed and running in 64bit mode on a Mac or Hack using at least the following 64bit capable kexts in /Extra/Extensions:
AppleNForceATA.imk64bit.kext
EvOreboot.kext or OpenHaltRestart.kext
FakeSMC.kext
NullCPUPowerManagement.kext or Disabler.kext
HOWEVER, if you are currently running OS X Leopard, then see my nForce RETAIL INSTALL GUIDE for Snow Leopard (10.6) on a Series 6 or 7 nForce chipset / Intel CPU MOBO on how to install Snow Leopard.......
While I realise that some of you may have already obtained the OS X Lion 10.7.0 Installer as a .dmg /.iso image file, my working assumption is that most of you will need to have Snow Leopard installed in order to purchase and download the OS X Lion 10.7 Installer from the Apple App Store.......
My plea to all readers is:
Remember Apple are a company not a charity and they will do all they can to protect their market share and profits, and if they ever begin to see the OSx86/Hackintosh web fora as a 'serious threat', they may decide to fully 'lock down' OS X......!
SO PLEASE THANK APPLE FOR THEIR FANTASTIC OS AND FOR NOT FULLY LOCKING IT DOWN TO THEIR OWN HARDWARE BY SUPPORTING FURTHER AND FUTURE APPLE R&D ON OS X IF YOU CAN......
This you can do by:
[1] BUYING AND DOWNLOADING OS X LION 10.7 FROM THE APPLE APP STORE......
[2] IF AND WHEN YOU CAN AFFORD IT, PURCHASING A MAC AND/OR OTHER APPLE PRODUCTS IF THEY CAN DO WHAT YOU NEED THEM TO DO......
*************************************************************
LATEST DOWNLOAD LINKS
*************************************************************
SendSpace:
Download 1. verdant_nForce_OSX_Lion_Installer_DVD_Booter
verdant's BootCD and the Netkas boot files for a OS X Lion Mac OS X Base System DVD
Download 2. verdant_Lion_Support_Files_V1.1
verdant_Lion_Support_Files_V1.1>
64bit Kexts for Extra Extensions>
IntelThermal.kext
FakeSMC.kext
SuperIOFamily.kext
NVClockX.kext
ACPIMonitor.kext
IntelCPUMonitor.kext
AppleNForceATA.imk64bit.kext
EvOreboot.kext
AD1998b.FIX.kext
NullCPUPowerManagement.kext
Pure 64bit Extra Kexts>
AHCIPortInjector.kext
AppleACPIPS2Nub.kext
ApplePS2Controller.kext
ApplePS2Keyboard.kext
ApplePS2Mouse.kext
ApplePS2Trackpad.kext
ATAPortInjector.kext
AtherosFix.kext
FakeSMC.kext
JMicron36xATA.kext
JMicron36xSATA.kext
NullCPUPowerManagement.kext
OpenHaltRestart.kext
Applications>
SMC Monitor
Kext Wizard
Lion FakeSMC> - FakeSMC (3.1.0) - Revision 493. Made by mojodojo
SMC_Stat_i - this is a SMC monitor menu bar app
Release 10.6 - only use the HWSensor kexts in /E/E/ appropriate for your hardware - see 64bit Kexts for Extra Extensions>
64bit Kexts for Sys_Lib_Extensions>
AppleRTC.Patched.kext
nForceLAN.0.64.5.kext
AppleHDA.1062.kext
AppleRTC.10.6.8.kext
CUDA 4.0 for Lion>
devdriver_4.0.21_macos.dmg - this is the image file for CUDADriver.pkg
CUDADriver.pkg
MaLd0n Extra Folder>
Extra_Folder.zip - this is the .zip file for Extra Folder.pkg
Extra Folder.pkg
Chameleon 2.0 RC5 r1200 VS Installer>
Chameleon_2_RC5_VS.dmg
Chameleon 2.0 RC5 r1191 Themes and Extra .plist Files>
Themes
org.chameleon.Boot.plist
smbios.plist
Chameleon 2.0 RC5 r1191 VS Installer>
Chameleon 2 RC5 VS.dmg
*************************************************************
PREVIOUS DOWNLOAD LINKS
*************************************************************
Later versions of my Lion Support Files will have additions and/or deletions as time proceeds.....
SendSpace:
verdant_Lion_Support_Files_v1.0
Chameleon RC5 r1191 Themes and Extra .plist Files >
Themes
org.chameleon.Boot.plist
smbios.plist
64bit Kexts for Sys_Lib_Extensions >
FakeSMC.kext
nForceLAN.0.64.5.kext
AppleHDA.1062.kext
AppleRTC.kext
64bit Kexts for Extra Extensions >
IOATAFamily.RootBoot.kext - this is a Snow Leopard kext that may/may not speed bootup in Lion
AppleNForceATA.imk64bit.kext
EvOreboot.kext
AD1998b.FIX.kext - this is a AD1988B legacy kext for use with a DTGP and HDEF patched DSDT
NullCPUPowerManagement.kext
Chameleon 2 RC5 r1191 VS Installer >
Chameleon 2 RC5 VS.dmg
Note that Lion Support Files v1.0 is a just preliminary collection of the initial installers, .plist files, kexts etc. that I have used to get Lion OS X installed and running on my own Asus P5N32E SLI Plus (nForce 650i) MOBO........
Audio and USB are working fine.......but there are other still functions to be sorted out if possible.......I have not even considered sleep/waking, as it is not a function I use on my Desktop.......I still have to check out FireWire.....
*************************************************************
ACKNOWLEDGEMENTS
*************************************************************
ALL CREDIT goes (in no particular order) the original developers of the included applications/kexts/bootloaders and boot files etc:
In /Extra/Extensions/
NullCPUPowerManagement.kext - David Elliott
AD1998b.FIX.kext - THe KiNG
AppleNForceATA.imk64bit.kext - MeDevil for original kext AND imk for the working 64bit version
EvOreboot.kext - EvO Team
FakeSMC.kext – netkas, Slice
In /System/Library/Extensions/
nForceLAN.0.64.5.kext – eno
In boot sector, / and /Extra/
Chameleon 2.0 RC5 r1191 –meklort has now enabled the BuildBot to host automatically compiled binaries of the latest Chameleon trunk: http://builds.voodoo...cts.org/builds/
Thanks to everyone involved in the development of Chameleon 2.0 RC5, making it a compatible bootloader for Lion......!
Evan Lojewski, Kabyl, Cosmosis Jones, Tamás Kosárszky, Rekursor, Blackosx, JrCs, DieBuche, Pradeesh, Charles Delorean, Andy Vandijck, naw com, Master Chief, mozodojo, valv, armel cadet-petit, MacMan, Daniel, Miranda, iFabio iFabio, Sergey Slice.
Not forgetting netkas for PC_EFI v10.6 and v10.7........
Thanks also to MaLd0n for the MacPro3,1 SMBIOS.plist
http://www.insanelym...howtopic=256729
Apologies to anyone I have forgotten, or do not know to mention, or have yet to mention in the above credits as the guide is expanded in due course......
For example, the coder of the Chameleon 2.0 RC5 r1191 [VS] .dmg installer and later Chameleon 2.0 RC5 revision [VS] installers - if anyone knows the coder(s) of the installer, please tell me, so that I can acknowledge their work......
*************************************************************
Methods for Installing OS X Lion on a HDD
*************************************************************
This section covers {a} the USB flash drive OS X Lion installer method and {b} my OS X Lion Boot CD + OS X Lion DVD installer method for installing OS X Lion on a GPT Partitioned HDD and/or on a MBR Partitioned HDD.
*************************************************************
Part A. Enabling Snow Leopard running in 64bit mode on an nForce MOBO for OS X Lion Purchase and Download from the Apple App Store
*************************************************************
According to Apple, to upgrade to OS X Lion, the following must be done:
Step 1: Make sure your Mac can run Lion.
Your Mac must have an Intel Core 2 Duo, Core i3, Core i5, Core i7 or Xeon processor to run Lion. Find out if your current Mac has one of these processors by clicking the Apple icon at the top left of your screen, then choosing About This Mac.
General requirements
* Mac computer with an Intel Core 2 Duo, Core i3, Core i5, Core i7, or Xeon processor
* 2GB of memory
* OS X v10.6.6 or later (v10.6.8 recommended)
* 7GB of available space
* Some features require an Apple ID
Step 2: Make sure you have the latest version of Snow Leopard.
Get up to date with the latest version of OS X Snow Leopard to purchase OS X Lion from the Mac App Store. If you have Snow Leopard, click the Apple icon and choose Software Update to install the latest version, which is 10.6.8.
Step 3: Download OS X Lion from the Mac App Store.
Open the Mac App Store from your Dock to buy and download Lion. Then follow the onscreen instructions to install it.
In the case of OSx86 / Hackintosh PCs, the equivalent steps are:
Step 1: Make sure your OSx86 / Hackintosh PC can run Lion.
Initial Requirements:
* At least 2GB of memory
* OS X v10.6.6 or later (v10.6.8 recommended) running in 64bit mode
* At least 7GB of available space
* Some features require an Apple ID and password
Further Requirements:
[1] If your PC has a CPU that System Profiler lists as 'Unknown' even though it is an Intel CPU, it is not just a case of editing:
[i] The AppleSystemInfo.strings "UnknownCPUKind" entry from "Unknown" to, for example, "Intel® Core™2 Quad CPU Q6600" (found in OS X 10.6.8 /System/Library/CoreServices/Resources/English.lproj/}.
[ii] The AboutThisMac.strings for Processor text fields in the About This Mac window (found in 10.6.8 /System/Library/CoreServices/loginwindow.app/Contents/Resources/), to get, for example, "3.0 MHz Intel® Core™2 Quad CPU Q6600" to display properly in the About This Mac window.
because these changes are purely cosmetic......OS X still regards your CPU as Unknown......consequently, some software installers (if not hacked) will fail to install because the CPU is not properly detected, e.g. the Microsoft Silverlight installer.
The solution is to use a bootloader with auto-CPU detection (following the work of DigitalDJ; see here).
RECOMMENDATION: Try using a recent/current Chameleon v2.0 RC5 bootloader version, such as Chameleon 2.0 RC5 r1191, or Chameleon 2.0 RC5 r1200, etc.
meklort has now enabled the BuildBot to host automatically compiled binaries of the latest Chameleon trunk: http://builds.voodoo...cts.org/builds/
Hence, with a Core2Quad CPU, e.g. Q6600, the Chameleon v2.0 RC5 bootloader will inject a "Quad-Core Intel Xeon" CPU-type......
[2] It is necessary to use a SMBIOS.plist which gives 'vaild' details as far as OS X Snow Leopard and Lion are concerned for the following keys:
SMbiosdate
SMbiosversion
SMboardproduct
SMfamily
SMmanufacter
SMproductname
SMserial
because in OS X Lion 10.7 /System/Library/CoreServices/PlatformSupport.plist, there is a list of Supported Board IDs:
Mac-F2268DC8 Mac-F22C86C8 Mac-F22587C8 Mac-F2218FA9 Mac-F2218EA9 Mac-F42D86A9 Mac-F22C8AC8 Mac-F22586C8 Mac-942B59F58194171B Mac-F226BEC8 Mac-F4218FC8 Mac-942459F5819B171B Mac-F4218EC8 Mac-F2208EC8 Mac-F22C89C8 Mac-F22587A1 Mac-F221DCC8 Mac-F42388C8 Mac-F223BEC8 Mac-F4238CC8 Mac-F222BEC8 Mac-F227BEC8 Mac-F4208AC8 Mac-F22788A9 Mac-F4238BC8 Mac-F221BEC8 Mac-F2238AC8 Mac-F4208EAA Mac-F22788C8 Mac-F22589C8 Mac-F4228EC8 Mac-F22788AA Mac-F42C86C8 Mac-F4208CA9 Mac-942C5DF58193131B Mac-F2238BAE Mac-F42289C8 Mac-F2268CC8 Mac-F4208DC8 Mac-F2218FC8 Mac-F2218EC8 Mac-F4208DA9 Mac-F42D89C8 Mac-F4208CAA Mac-F42D89A9 Mac-F2268AC8 Mac-F42C89C8 Mac-942452F5819B1C1B Mac-F42786A9 Mac-F42D88C8 Mac-F42187C8 Mac-94245B3640C91C81 Mac-F42D86C8 Mac-F2268EC8 Mac-F2268DAE Mac-F42C8CC8 Mac-F42C88C8 Mac-94245A3940C91C80 Mac-F42386C8 Mac-942B5BF58194151B Mac-F42189C8
Recommendation: Use the very useful Extra Folder Installer posted by MaLd0n here and run the Installer with the Extra Folder option UNCHECKED but CHECK the smbios.plist option that is applicable to your CPU:
iMac9,1 >>> Intel Core 2 Duo ("Penryn")
iMac10,1 >>> Intel Core 2 Duo ("Wolfdale")
iMac11,1 >>> Core i5, or Core i7 ("Nehalem")
iMac11,2 >>> Intel Core i3 or Core i5 ("Clarkdale")
iMac11,3 >>> Intel Core i3, Core i5, or Core i7 ("Clarkdale, Lynnfield")
iMac12,1 >>> Intel Core i5 or Core i7 ("Sandy Bridge")
iMac12,2 >>> Intel Core i5 or Core i7 ("Sandy Bridge")
MacBook2,1 >>> Intel Core 2 Duo Mobile ("Merom") / Intel Graphics Media Accelerator (GMA) 950
MacBook4,1 >>> Intel Core 2 Duo Mobile ("Penryn") / Intel Graphics Media Accelerator (GMA) X3100
MacBookPro4,1 >>> Intel Core 2 Duo Mobile ("Penryn") / NVIDIA GeForce
MacBookPro6,1 >>> Intel Core i5 or Core i7 Mobile ("Arrandale") / NVIDIA GeForce and Intel HD Graphics
MacBookPro8,1 >>> Intel Core i5 or Core i7 Mobile ("Sandy Bridge") / Intel HD Graphics 3000
MacBookPro8,3 >>> Intel Core i7 Mobile ("Sandy Bridge") / AMD Radeon HD and Intel HD 3000 Graphics
MacPro3,1 >>> Intel Xeon 5400 series ("Harpertown") / Use for Core2Quad
MacPro4,1 >>> Intel Xeon 3500 or 5500 series ("Bloomfield, Gainestown") / Use for Core i Nehalem/ Quad Core HT / Line 9xx
MacPro5,1 >>> Intel Xeon W3530, W3565, W3680, E5620, X5650, or X5670 ("Bloomfield, Westmere") / Use for Core i Nehalem/ Quad or Six Core HT / Line 9xx
I have found that without the correct SMBIOS.plist details, i.e. all the details recognisable as 'valid' by the Apple App Store, it is not possible to purchase and download the Install Mac OS X Lion app from the App Store, even though other software can be purchased and downloaded via the App Store using a 'validated' Apple ID......
For example, I have found that using SMBIOS.plist details for a MacPro2,1 with my Core2Quad Q6600 CPU, which results in my OSx86 / Hacintosh PC being recognised by Geekbench as a Mac:
GeekBench_Screen_shot_MacPro2_1.png 29.22K 199 downloadsdid not enable the purchase and download of the Install Mac OS X Lion app, whereas using 'valid' SMBIOS.plist details for a MacPro3,1 (thanks to MaLd0n), which results in my OSx86 / Hackintosh PC being recognised by Geekbench as a Hackintosh:
Geekbench_Scree_shot_MacPro3_1.png 38.77K 145 downloadsdid enable the purchase and download of the Install Mac OS X Lion app.....!
So, a OSx86 / Hackintosh PC being recognised by Geekbench as a Hackintosh is not necessarily an obstacle to being able to purchase and download the Install Mac OS X Lion app from the Apple App Store........
Step 2: Make sure you have the latest version of Snow Leopard.
While Apple have recommended using the latest version OS X Snow Leopard version, which is 10.6.8 (make sure you run Software Update, so that the recently released Mac OS X 10.6.8 Supplemental Update is installed; alternatively, you can download and run the standalone Mac OS X 10.6.8 Update Combo v1.1.....
However, some IM members have had problems with 10.6.8 but success with 10.6.7 when attempting to purchase and download the Install Mac OS X Lion app.....so, if 10.6.8 does not work for you, try 10.6.7, or even 10.6.6.....
Step 3: Download OS X Lion from the Mac App Store.
Before attempting to purchase and download the Install Mac OS X Lion app from the Apple App Store, you should check the following:
[i] That you can enter your Apple ID and password and have it accepted.......
If you have problem, then follow the procedure recommended by Apple here.....the procedure has worked for me on an Ethernet connection.....
[ii] That you can start the process of purchasing software from the App Store......
[iii] Read Section 1 of Part B. of this guide (in post #1)
If [i] and [ii] are achievable and [iii] has been done, then you should hopefully be able to open the Mac App Store from your Dock to buy and download Lion BUT DO NOT click on the “Install Mac OS X Lion” installer app icon that will show up in the Dock......If you still have problems then try the following:
[1] Go to System Preferences >>>> Network......select your Network Service i.e. Ethernet or AirPort in the sidebar and click the '-' tab at the sidebar bottom, which will delete the service
[2] Modify your org.chameleon.Boot.plist by adding in the following:
EthernetBuiltIn
Yes
If you have a PIC NIC installed it may also be necessary to add an entry in org.chameleon.Boot.plist for PCIRootUID because a MOBO may have pciroot = 0 or pciroot=1, shown here for pciroot=1:
PCIRootUID
1
To find your pciroot value, use this command in Terminal:
ioreg -l | grep -15 "AppleACPIPCI" | grep "_UID"
which should give "_UID" = "1" or "_UID" = "0".
[3] Reboot into OS X Lion and again go to System Preferences >>>> Network......but now click the '+' tab at the sidebar bottom, to add a new Network Service named Ethernet (en0) for your LAN service.....
I have a PIC NIC that is connected to the internet under the Network Service name 'Ethernet Adaptor (en0)' but is seen as built-in......System Profiler says against Ethernet Cards: This computer does not appear to have any PCI Ethernet cards installed.
I wish you the same success I had in purchasing and downloading the Install Mac OS X Lion app from the Apple App Store......
If you have problems with using
EthernetBuiltIn
Yes
and/or
PCIRootUID
1
then go to post #4 Issue 2 Setting up Builtin Ethernet / LAN0 / (en0)
*************************************************************
Part B. Making a Bootable GPT Partitioned USB Flash Drive OS X Lion 10.7 Installer
*************************************************************
1. You will need:
[1] Access to a working Mac or Hack x86 OS X Snow Leopard 10.6.8 system
(10.6.8 is better than 10.6.6 or 10.6.7 because it protects against MacDefender and may work better with App Store)
[2] A 8GB USB flash drive (memory stick)
[3] To be able to purchase and download OS X Lion from the Apple App Store. See Part A.
[4] To download my "verdant_Lion_Support_Files_v1.1.zip" folder
The “Install Mac OS X Lion” installer app icon will show up in the Dock.
If it does, then the installer should also show up in your Applications folder.
- DO NOT click on the icon NOR right-click on the icon and select Open
- DO NOT double-click on its icon in the Applications folder
[1] Boot into Snow Leopard and go to the Applications folder and find Install Mac OS X Lion WITHOUT clicking on the icon NOR right-click on the icon and selecting Open
[2] Unhide all files via a Terminal command:
***********************************************************
Terminal commands to show/hide hidden and system files:
To show hidden and system files:
defaults write com.apple.finder AppleShowAllFiles TRUE killall Finder
To hide hidden and system files:
defaults write com.apple.finder AppleShowAllFiles FALSE killall Finder
***********************************************************
Or, you can download and run TinkerTool......select the Finder options: 'Show hidden and system files' option and then click Relaunch Finder to unhide......and deselect the Finder options: 'Show hidden and system files' option and then click Relaunch Finder to hide......
[3] Right-click on the Install Mac OS X Lion installer icon and select Show Package Contents.
Open the Contents folder and the SharedSupport folder within it, and look for InstallESD.dmg
[4] Open i.e. mount InstallESD.dmg and look for BaseSystem.dmg……LEAVE the Mac OS X Install ESD window open…….
3. Preparing the USB flash drive as a Mac bootable device volume
[1] Plug in the USB flash drive and then using Snow Leopard Disk Utility, partition/format it as a single GPT/HFS+ volume named OSX_Lion_USB_Installer (or your chosen name without spaces) as follows:
In the Disk Utility sidebar, highlight your USB flash drive device icon
In the Disk Utility main window, click on the Partition tab and select to partition as 1 volume, using a name with no spaces and format as Mac OS Extended (Journaled)……
Then click on Options button -> select GUID Partition Table (GPT) -> click Apply
Doing this will make the USB flash drive bootable on a Mac. Note that this operation will erase everything on the drive.
4. Installing necessary /Extra directory files and Chameleon 2.0 RC5 r1191 bootloader onto the partitioned/formatted USB flash drive
[1] In the Disk Utility main window, click on the Restore tab to load the BaseSystem.dmg onto the OSX_Lion_USB_Installer volume.....doing this puts a base OS X Lion system on the USB flash drive volume……
Choose the BaseSystem.dmg file as the Source by 'drag and dropping' it from the Mac OS X Install ESD window into the Source Window (note that a '+ in green circle' appears momentarily)
Choose your USB flash drive volume icon as the Destination by 'drag and dropping' it from the Disk Utility sidebar into the Destination window (note that a '+ in green circle' appears momentarily).
Click the Apply button and it will create your bootable USB drive. Note that Erase destination checkbox will be ticked by default.
The USB flash drive device name will be automatically changed to Mac OS X Base System in the sidebar……
[2] On the USB flash drive volume, open the System folder and double-click on the Installation folder within it…..this opens an Installation folder window….
Right-click on the Packages alias icon and select Move to Trash
Go to the open Mac OS X Install ESD window and 'drag and drop' the Packages folder in the window into the open Installation folder window……the 3.26 GB Packages folder will take about 10 or minutes to copy over……
Also 'drag and drop' the mach_kernel file from the open Mac OS X Install ESD window into the into the USB flash drive volume's / directory…….i.e. into the open Mac OS X Base System Window……
[3] Run the Chameleon 2.0 RC5 r1191 [VS] .dmg installer (in the Lion_Support_Files_v1.1 folder) and double-click on the Install Chameleon icon in the Chameleon 2 RC5 VS window…….then click Continue…..accept the default-selected Chameleon (you do not not need to select Theme unless you want to, or AppleEMC, which installs the AppleEMC kext for iMac recognition....UNLESS you need to use an iMac SMBIOS.plist because of your CPU and find that having AppleEMC kext installed 'helps' the App Store recognize your OSx86 / Hacintosh PC).
Click Continue again……THEN click Change Install Location and select the USB flash drive Mac OS X Base System volume in the Select a Destination window and click Continue……then click Install…..after a hopefully successful install, click Close....
[4] Go back to the open Mac OS X Base System Window……the Chameleon bootloader installer should have created the /Extra/ and /Extra/Extensions/ directories or folders……
[5] Copy across from your running 64bit mode Snow Leopard system, your MOBO's OS X DSDT.aml file into the open target HDD OS X Lion System Window, i.e. the target HDD volume's / directory…….
[6] Copy across from your running 64bit mode Snow Leopard system, or from the Lion Support Files v1.1 folder, into /Extra on USB flash drive Mac OS X Base System volume, the following .plist files:
smbios.plist for MacPro3,1 (use the one from MaLd0n's Lion installation via USB stick using Chameleon, DP4, GM and FINAL topic…….), or whatever MacProx,y designation matches your CPU....
org.chameleon.Boot.plist (assuming you have run the Chameleon 2.0 RC5 r1191 [VS] .dmg installer on your running 64bit mode Snow Leopard system)
Also copy across (if you wish) your Chameleon v2.0 RC5 r1191 Themes folder from your running 64bit mode Snow Leopard system, or from the Lion Support Files v1.1 folder....
[7] Copy the following kexts in /Extra/Extensions/ on your running 64bit mode Snow Leopard system, or from the Lion Support Files v1.1 folder, into /Extra/Extensions/ on the USB flash drive Mac OS X Base System volume...
AD1998b.FIX.kext
AppleNForceATA.imk64bit.kext
EvOreboot.kext
NullCPUPowerManagement.kext
You may also have AppleHDA.10.6.2.kext, FakeSMC.kext and nForceLAN.0.64.5.kext in /Extra/Extensions/.
Note the later versions/revisions of FakeSMC.kext v3.0 and later by mojodojo can function from /Extra/Extensions/ or from /System/Library/Extensions/ but be aware that earlier versions/revisions of FakeSMC.kext can only function from /System/Library/Extensions/ - hence step [8] below:
[8] If you have AppleHDA.10.6.2.kext, FakeSMC.kext and nForceLAN.0.64.5.kext in /System/Library/Extensions/ on your running 64bit mode Snow Leopard system, then these need to copied from there, or from the Lion Support Files v1.1 folder, into /System/Library/Extensions/ on the USB flash drive Mac OS X Base System volume……
[9] Having added AppleHDA.10.6.2.kext, FakeSMC.kext and nForceLAN.0.64.5.kext to /System/Library/Extensions/ on the USB flash drive Mac OS X Base System volume, you need to use Terminal to reset the kexts ownership and permissions and rebuild the kernelcache file etc.....alternatively, you can use janek202's Kext Wizard for a Terminal-free life.......
In Terminal type:
sudo chown -R root:wheel /Volumes/Mac\ OS\ X\ Base\ System/System/Library/Extensions sudo chmod -R 755 /Volumes/Mac\ OS\ X\ Base\ System/System/Library/Extensions sudo touch /Volumes/Mac\ OS\ X\ Base\ System/System/Library/Extensions
followed by
sudo chflags nouchg /Volumes/Mac\ OS\ X\ Base\ System/System/Library/CoreServices/boot.efi exit
[10] Close all open folders within the Mac OS X Base System folder and in the Terminal type:
sudo chown -R 0:0 /Volumes/Mac\ OS\ X\ Base\ System
[11] Close Terminal and then go to /System/Library/Caches/com.apple.kext.caches/Startup and delete the files within Startup….
IOKitPersonalities_i386.ioplist.gz
IOKitPersonalities_x86_64.ioplist.gz
kernelcache
KextPropertyValues_OSBundleHelper_i386.plist.gz
KextPropertyValues_OSBundleHelper_x86_64.plist.gz
[12] Close the Mac OS X Base System Window and boot from the USB flash drive Mac OS X Base System volume by pressing F8 at boot-up to bring up the PC BIOS "Boot Menu", then selecting the USB Mac OS X Base System Flash Drive and pressing Enter.
USB_with_All_Extra_Stuff.png 189.43K 198 downloadsN.B. If you experience the [PCI configuration begin] error on booting from the USB Mac OS X Base System Flash Drive installer, then see post #4, which gives four proposed solutions to this error.......
*************************************************************
This guide is being typed up from OS X Lion at present.......
Lion_OS.png 471.47K 195 downloadsSo far I have not experienced any problems e.g. freezes etc. during hours of use.......
Here are my system details:
1. Software Info:
System Version: Mac OS X 10.7 (11A511)
Kernel Version: Darwin 11.0.0
Secure Virtual Memory: Enabled
64-bit Kernel and Extensions: Yes
2. Hardware Info:
Model Name: Mac Pro
Model Identifier: MacPro3,1
Processor Name: Quad-Core Intel Xeon
Processor Speed: 3.00 GHz
Number of Processors: 1
Total Number of Cores: 4
L2 Cache: 8 MB
Memory: 6 GB
Bus Speed: 1.33 GHz
Boot ROM Version: MP31.006C.B05
SMC Version (system): 1.30f3
3. Loaded Kexts from /Extra/Extensions/:
AD1998b.FIX.kext
AppleNForceATA.imk64bit.kext
EvOreboot.kext
FakeSMC.kext
NullCPUPowerManagement.kext
*************************************************************
Part C. Installing a Bootable OS X Lion OS 10.7 OS on a GPT Partitioned Hard Drive Using a Bootable GPT USB Flash Drive Installer
*************************************************************
1. Preparing the target Hard Drive volume as a Mac bootable device volume
[1] Use the running Snow Leopard Disk Utility to partition/format your target HDD volume for OS X 10.7 as GPT/HFS+ volume named OSX_10.7_GPT_A (or your chosen name without spaces)
****************************************************
VERY IMPORTANT TO CHECK : OS X target HDD ownership
****************************************************
Right-click on the target OS X HDD volume icon on your Desktop -> Get Info. If the checkbox next to "Ignore ownership on this volume" is checked then click on padlock symbol to authenticate and UNCHECK the checkbox.
Then to ensure that the target OS X HDD volume's root directory is owned by the root user, go to Terminal and type: (note that using 0:0 is equivalent to using root:wheel)
sudo chown 0:0 /Volumes/"your target OS X HDD volume name"
This is to make certain that the permissions are not scrambled after the installation of OS X.....and hence that you are able to boot from the OS X 10.7 hard drive........
[2] Now close all open windows on the Snow Leopard Desktop and any open applications.......
Reboot your PC and press the F8 key (or whichever key you need to) IMMEDIATELY after the message "Press DEL to enter SETUP, Press TAB to display BIOS POST message" or similar appears on-screen, in order to bring up the message "Loading Boot Menu......"
When the PC BIOS "Boot Menu" window appears on-screen, select the USB flash drive OS X Lion installer from the list of bootable drives presented in the "Boot Menu", and press Enter......
OR
Choose it from the list of bootable volumes presented by the Chameleon bootloader.....Boot from the USB flash drive Mac OS X Base System volume and follow the onscreen Mac OS X Installer instructions to install OS X Lion onto the target HDD volume.....
[3] Re-boot back into OS X Snow Leopard and run the Chameleon 2.0 RC5 r1191 [VS] .dmg installer (in the Lion_Support_Files_v1.1 folder) and double-click on the Install Chameleon icon in the Chameleon 2 RC5 VS window…….then click Continue…..accept the default-selected Chameleon and select Theme (you do not need to select AppleEMC, which installs the AppleEMC kext for iMac recognition….UNLESS you need to use an iMac SMBIOS.plist because of your CPU and find that having AppleEMC kext installed 'helps' the App Store recognize your OSx86 / Hacintosh PC).
Click Continue again……THEN click Change Install Location and select the target HDD OS X Lion volume icon in the Select a Destination window and click Continue……then click Install…..after a hopefully successful install, click Close…..
[4] Set up your video driver as you have done for running OS X 10.6.8 Snow Leopard in 64bit mode but note that in the Chameleon 2.0 RC5 r1191 [VS] update, com.apple.Boot.plist is renamed to org.chameleon.Boot.plist in /Extra, now that Chameleon uses org.chameleon.Boot.plist instead of com.apple.Boot.plist......
[5] Go back to the open target HDD OS X Lion System Window……the Chameleon bootloader installer should have created the /Extra/ and /Extra/Extensions/ directories or folders……
[6] Copy across from your running 64bit mode Snow Leopard system, your MOBO's OS X DSDT.aml file into the open target HDD OS X Lion System Window, i.e. the target HDD volume's / directory…….
[7] Copy across from your running 64bit mode Snow Leopard system, or from the Lion Support Files v1.1 folder, into /Extra on the target HDD volume, the following .plist files:
smbios.plist for MacPro3,1 (use the one from MaLd0n's Lion installation via USB stick using Chameleon, DP4, GM and FINAL topic…….), or whatever MacProx,y designation matches your CPU....
org.chameleon.Boot.plist (assuming you have run the Chameleon 2.0 RC5 r1191 [VS] .dmg installer on your running 64bit mode Snow Leopard system)
Also copy across (if you wish) your Chameleon v2.0 RC5 r1191 Themes folder from your running 64bit mode Snow Leopard system…..
[8] Copy the following kexts in /Extra/Extensions/ on your running 64bit mode Snow Leopard system, or from the Lion Support Files v1.1 folder, into /Extra/Extensions/ in the open target HDD OS X Lion System Window……
AD1998b.FIX.kext
AppleNForceATA.imk64bit.kext
EvOreboot.kext
NullCPUPowerManagement.kext
You may also have AppleHDA.10.6.2.kext, FakeSMC.kext and nForceLAN.0.64.5.kext in /Extra/Extensions/.……
Note the later versions/revisions of FakeSMC.kext v3.0 and later by mojodojo can function from /Extra/Extensions/ or from /System/Library/Extensions/ but be aware that earlier versions/revisions of FakeSMC.kext can only function from /System/Library/Extensions/ - hence step [8] below:
[9] If you have AppleHDA.10.6.2.kext, FakeSMC.kext and nForceLAN.0.64.5.kext in /System/Library/Extensions/ on your running 64bit mode Snow Leopard system, then these need to copied from there, or from the Lion Support Files v1.1 folder, into /System/Library/Extensions/ in the open target HDD OS X Lion System Window……
[10] Having added AppleHDA.10.6.2.kext, FakeSMC.kext and nForceLAN.0.64.5.kext to /System/Library/Extensions/ on the open target HDD OS X Lion System Window, you need to use Terminal to reset the kexts ownership and permissions and rebuild the kernelcache file……alternatively, you can use janek202's Kext Wizard for a Terminal-free life.......
In Terminal type:
sudo chown -R root:wheel /System/Library/Extensions sudo chmod -R 755 /System/Library/Extensions sudo touch /System/Library/Extensions exit
Close Terminal and then go to /System/Library/Caches/com.apple.kext.caches/Startup and delete the files within Startup….
IOKitPersonalities_i386.ioplist.gz
IOKitPersonalities_x86_64.ioplist.gz
kernelcache
KextPropertyValues_OSBundleHelper_i386.plist.gz
KextPropertyValues_OSBundleHelper_x86_64.plist.gz
[11] Close the open target HDD OS X Lion System Window and boot from the target hard drive OS X Lion System volume......
[12] If you find that on shutting down OS X Lion and rebooting, that the CMOS has been 'wiped clean' of your custom BIOS settings profile and the BIOS has reverted to using the in-built default BIOS settings, then reload your backed-up custom BIOS settings profile from its source (e.g. USB flash drive) and boot back into OS X Lion......
Then as a workaround 'drag and drop' the AppleRTC.kext (Snow Leopard AppleRTC.kext) from the Lion Support Files v1.0 folder into /System/Library/Extensions/ on the open target HDD OS X Lion System window......
Alternatively, you can patch your own OS X Lion AppleRTC.kext by running this perl script in Terminal, which has been posted by rayap, which forces an unconditional jump over the rtcWrites() in updateChecksum() to prevent CMOS Resets:
sudo perl -pi -e 's|\x75\x30\x44\x89\xf8|\xeb\x30\x44\x89\xf8|; s|\x75\x3d\x8b\x75\x08|\xeb\x3d\x8b\x75\x08|' /System/Library/Extensions/AppleRTC.kext/Contents/MacOS/AppleRTC
Now you need to use Terminal to reset the kexts ownership and permissions and rebuild the kernelcache file etc.....alternatively, you can use janek202's Kext Wizard for a Terminal-free life.......
In Terminal type:
sudo chown -R root:wheel /System/Library/Extensions sudo chmod -R 755 /System/Library/Extensions sudo touch /System/Library/Extensions exit
Close Terminal and then go to /System/Library/Caches/com.apple.kext.caches/Startup and delete the files within Startup….
IOKitPersonalities_i386.ioplist.gz
IOKitPersonalities_x86_64.ioplist.gz
kernelcache
KextPropertyValues_OSBundleHelper_i386.plist.gz
KextPropertyValues_OSBundleHelper_x86_64.plist.gz
[13] Close the open target HDD OS X Lion System Window and re-boot from the target hard drive OS X Lion System volume......
[14] Use the OS X Lion Disk Utility to repair the HDD OS X Lion system permissions......
N.B. If you experience the [PCI configuration begin] error on booting from the OS X Lion System installed on your target HDD volume, then see post #4, which gives four proposed solutions to this error.......
*************************************************************
Part D. Installing a Bootable OS X Lion OS 10.7 OS on a MBR Partitioned Hard Drive Volume Using a Bootable GPT USB Flash Drive Installer
*************************************************************
Procedure 1. (No pre-existing Lion OS installation)
This procedure assumes that you have already followed "Part B. Making a Bootable GPT Partitioned USB Flash Drive OS X Lion 10.7 Installer" of this guide, and now have a working bootable GPT USB Flash Drive Installer......
In order for you to install OS X Lion 10.7 onto your target HDD volume partitioned/formatted as MBR/HFS+ you need to use a modified OSInstall.mpkg package and OSInstall Unix executable file in place of the ones that the OS X Lion Installer on your bootable GPT USB Flash Drive Installer uses......
There are two versions of OSInstall.mpkg and OSInstall that I have used:
Version 1 patcher: nawcom's GM MBR Patch
Create a folder named "nawcom MBR Patch" on your Desktop, and then download and unarchive Lion_OSInstall_GM.tar.bz2 file into it…….the unarchived System folder contains the modified OSInstall.mpkg package and the OSInstall Unix executable file, nested in Installation and Library, respectively….
Alternatively, here is a zipped archive for your convenience:

MBR_Patch_for_OS_X_Lion_GM___by_nawcom.zip 701.95K 50 downloads
Version 2 patcher: MBR Patch 10.7.0 11A511 - by xpertvision
The binpatched OSInstall "framework" and "OSInstall.mpkg" in MBR Patch 10.7.0 11A511:

MBR_Patch_10.7.0_11A511___by_Xpertvision.zip 707.73K 56 downloads
are modified versions of the original patches by nawcom, to enable the installation of OS X Lion 10.7.0 (11A511 release) onto a target HDD volume partitioned/formatted as MBR/HFS+, which are patched to:
[1] Overcome the default 2GB RAM limit for installation, allowing installation even on PCs having only 1GB RAM installed......but note these comments by smartie77:
Quote
If for all you should only run it in 32bit mode this makes the biggest change in memory usage, then the next biggest turn off spotlight to a large degree, mainly the full text indexing of pdf,mail and websites; exclude all folders that are not your home folder and run most apps in 32bit mode only, not only the apps in /Applications but also the system apps in /System/Library/CoreServices - right click them "get info" and checkmark "run in 32bit mode" wherever it is available. Try slimming down the kexts - if you have a ATI for example throw out all IntelGMA,Nvidia etc kexts. If you have no thunderbolt and Firewire - out with them . No ATTO and Promise cards = rid off them..
Turn off the auto-reopening of all open windows and apps ( Lion constantly writes apps changing states, open documents and version changes to your hidden Home Library ).
There is more to tweak, time will tell.. Lion has a loads of background services running that were not in SL. And Apple seems to collect a lot of user and performance metric data .. Have a look in Systems LaunchAgents/Launchdaemons plists, there is way too much, but as of yet I cannot say what is safe to delete there.
[2] Custom Install Options added:
Language packs (select the language packs you want to install)
Server Install (install server options or not) - provided that you have the the OS X Lion 10.7.0 Server Installer as a .dmg /.iso image file and hence its Mac OS X Base System volume on your OS X Lion USB Flash Drive Installer.....
The procedure for installing the modified OSInstall.mpkg package and OSInstall Unix executable file on your bootable GPT USB Flash Drive Installer in place of the original OS X Lion Installer versions is the same, whichever version patcher you choose to use, and is as follows:
1. Unhide the hidden and systems files on your OS X Lion USB Flash Drive Installer, named Mac OS X Base System, using Terminal commands or Tinker Tool (see Part C. above)
2. Go to Terminal and then:
[1] Either type:
cd /Volumes/Mac\ OS\ X\ Base\ System/System/Installation/Packages
or type
cd
and press the 'Space Bar', and then having navigated to System >>>> Installation >>>> Packages, 'drag and drop' the Packages folder into Terminal……
[2] Type the following:
sudo mv OSInstall.mpkg OSInstall.mpkg.GPT ls
Note that you have now renamed the original file as shown by the 'ls' command…..
[3] Either type:
cd /Volumes/Mac\ OS\ X\ Base\ System/System/Library/PrivateFrameworks/Install.framework/Frameworks/OSInstall.framework/Versions/A
or type
cd
and press the 'Space Bar', and then having navigated to System >>>> Library >>>> PrivateFrameworks >>>> Install.framework >>>> Frameworks >>>> OSInstall.framework >>>> Versions >>>> A, 'drag and drop' the A folder into Terminal……
[4] Type the following:
sudo mv OSInstall OSInstall.GPT ls exit
Note that you have now renamed the original file as shown by the 'ls' command…..
As a reminder if ever you wish to revert back to the original GPT installer versions......simply rename the original files by removing the .GPT extensions after having renamed the patched files with the .MBR extension, via Terminal :
cd /Volumes/Mac\ OS\ X\ Base\ System/System/Installation/Packages sudo mv OSInstall.mpkg OSInstall.mpkg.MBR sudo mv OSInstall.mpkg.GPT OSInstall.mpkg
followed by
cd /Volumes/Mac\ OS\ X\ Base\ System/System/Library/PrivateFrameworks/Install.framework/Frameworks/OSInstall.framework/Versions/A sudo mv OSInstall OSInstall.MBR sudo mv OSInstall.GPT OSInstall exit
3. Then either 'drag and drop' the chosen version of OSInstall.mpkg into /Volumes/Mac\ OS\ X\ Base\ System/System/Installation/Packages......(or use cp command via Terminal):
sudo cp -p -R /Users/"User Name"/Desktop/nawcom\ MBR\ Patch/System/Installation/Packages/OSInstall.mpkg /Volumes/Mac\ OS\ X\ Base\ System/System/Installation/Packages
4. Then 'drag and drop' OSInstall into /Volumes/Mac\ OS\ X\ Base\ System/System/Library/PrivateFrameworks/Install.framework/Frameworks/OSInstall.framework/Versions/A......(or use cp command via Terminal):
sudo cp -p -R /Users/"User Name"/Desktop/nawcom\ MBR\ Patch/System/Library/PrivateFrameworks/Install.framework/Frameworks/OSInstall.framework/Versions/A/OSInstall /Volumes/Mac\ OS\ X\ Base\ System/System/Library/PrivateFrameworks/Install.framework/Frameworks/OSInstall.framework/Versions/A
5. Close all windows.......
6. Now follow the following procedure to install OS X Lion 10.7 onto your target HDD volume partitioned/formatted as MBR/HFS+ :
1. Preparing the target Hard Drive volume as a Mac bootable device volume
[1] Use the running Snow Leopard Disk Utility to partition/format your target HDD volume for OS X 10.7 as MBR/HFS+ volume named OSX_10.7_MBR_A (or your chosen name without spaces)
****************************************************
VERY IMPORTANT TO CHECK : OS X target HDD ownership
****************************************************
Right-click on the target OS X HDD volume icon on your Desktop -> Get Info. If the checkbox next to "Ignore ownership on this volume" is checked then click on padlock symbol to authenticate and UNCHECK the checkbox.
Then to ensure that the target OS X HDD volume's root directory is owned by the root user, go to Terminal and type: (note that using 0:0 is equivalent to using root:wheel)
sudo chown 0:0 /Volumes/"your target OS X HDD volume name"
This is to make certain that the permissions are not scrambled after the installation of OS X.....and hence that you are able to boot from the OS X 10.7 hard drive........
[2] Now close all open windows on the Snow Leopard Desktop and any open applications.......
Reboot your PC and press the F8 key (or whichever key you need to) IMMEDIATELY after the message "Press DEL to enter SETUP, Press TAB to display BIOS POST message" or similar appears on-screen, in order to bring up the message "Loading Boot Menu......"
When the PC BIOS "Boot Menu" window appears on-screen, select the USB flash drive OS X Lion installer from the list of bootable drives presented in the "Boot Menu", and press Enter......
OR
Choose it from the list of bootable volumes presented by the Chameleon bootloader.....
Boot from the USB flash drive Mac OS X Base System volume and follow the onscreen Mac OS X Installer instructions to install OS X Lion onto the target HDD volume.....
[3] Re-boot back into OS X Snow Leopard and run the Chameleon 2.0 RC5 r1191 [VS] .dmg installer (in the Lion_Support_Files_v1.1 folder) and double-click on the Install Chameleon icon in the Chameleon 2 RC5 VS window…….then click Continue…..accept the default-selected Chameleon and select Theme (you do not need to select AppleEMC, which installs the AppleEMC kext for iMac recognition….UNLESS you need to use an iMac SMBIOS.plist because of your CPU and find that having AppleEMC kext installed 'helps' the App Store recognize your OSx86 / Hacintosh PC).
Click Continue again……THEN click Change Install Location and select the USB flash drive Mac OS X Base System volume in the Select a Destination window and click Continue……then click Install…..after a hopefully successful install, click Close…..
[4] Set up your video driver as you have done for running OS X 10.6.8 Snow Leopard in 64bit mode but note that in the Chameleon 2.0 RC5 r1191 [VS] update, com.apple.Boot.plist is renamed to org.chameleon.Boot.plist in /Extra, now that Chameleon uses org.chameleon.Boot.plist instead of com.apple.Boot.plist......
[5] Go back to the open target HDD OS X Lion System Window……the Chameleon bootloader installer should have created the /Extra/ and /Extra/Extensions/ directories or folders……
[6] Copy across from your running 64bit mode Snow Leopard system, your MOBO's OS X DSDT.aml file into the open target HDD OS X Lion System Window, i.e. the target HDD volume's / directory…….
[7] Copy across from your running 64bit mode Snow Leopard system, or from the Lion Support Files v1.1 folder, into /Extra on the target HDD volume, the following .plist files:
smbios.plist for MacPro3,1 (use the one from MaLd0n's Lion installation via USB stick using Chameleon, DP4, GM and FINAL topic…….), or whatever MacProx,y designation matches your CPU....
org.chameleon.Boot.plist (assuming you have run the Chameleon 2.0 RC5 r1191 [VS] .dmg installer on your running 64bit mode Snow Leopard system)
Also copy across (if you wish) your Chameleon v2.0 RC5 r1191 Themes folder from your running 64bit mode Snow Leopard system…..
[8] Copy the following kexts in /Extra/Extensions/ on your running 64bit mode Snow Leopard system, or from the Lion Support Files v1.1 folder, into /Extra/Extensions/ in the open target HDD OS X Lion System Window……
AD1998b.FIX.kext
AppleNForceATA.imk64bit.kext
EvOreboot.kext
NullCPUPowerManagement.kext
You may also have AppleHDA.10.6.2.kext, FakeSMC.kext and nForceLAN.0.64.5.kext in /Extra/Extensions/.……
Note the later versions/revisions of FakeSMC.kext v3.0 and later by mojodojo can function from /Extra/Extensions/ or from /System/Library/Extensions/ but be aware that earlier versions/revisions of FakeSMC.kext can only function from /System/Library/Extensions/ - hence step [8] below:
[9] If you have AppleHDA.10.6.2.kext, FakeSMC.kext and nForceLAN.0.64.5.kext in /System/Library/Extensions/ on your running 64bit mode Snow Leopard system, then these need to copied from there, or from the Lion Support Files v1.1 folder, into /System/Library/Extensions/ in the open target HDD OS X Lion System Window……
[10] Having added AppleHDA.10.6.2.kext, FakeSMC.kext and nForceLAN.0.64.5.kext to /System/Library/Extensions/ on the open target HDD OS X Lion System Window, you need to use Terminal to reset the kexts ownership and permissions and rebuild the kernelcache file……alternatively, you can use janek202's Kext Wizard for a Terminal-free life.......
In Terminal type:
sudo chown -R root:wheel /System/Library/Extensions sudo chmod -R 755 /System/Library/Extensions sudo touch /System/Library/Extensions exit
Close Terminal and then go to /System/Library/Caches/com.apple.kext.caches/Startup and delete the files within Startup….
IOKitPersonalities_i386.ioplist.gz
IOKitPersonalities_x86_64.ioplist.gz
kernelcache
KextPropertyValues_OSBundleHelper_i386.plist.gz
KextPropertyValues_OSBundleHelper_x86_64.plist.gz
[11] Close the open target HDD OS X Lion System Window and boot from the target hard drive OS X Lion System volume......
[12] If you find that on shutting down OS X Lion and rebooting, that the CMOS has been 'wiped clean' of your custom BIOS settings profile and the BIOS has reverted to using the in-built default BIOS settings, then reload your backed-up custom BIOS settings profile from its source (e.g. USB flash drive) and boot back into OS X Lion......
Then as a workaround 'drag and drop' the AppleRTC.kext (Snow Leopard AppleRTC.kext) from the Lion Support Files v1.0 folder into /System/Library/Extensions/ on the open target HDD OS X Lion System window......
Alternatively, you can patch your own OS X Lion AppleRTC.kext by running this perl script in Terminal, which has been posted by rayap, which forces an unconditional jump over the rtcWrites() in updateChecksum() to prevent CMOS Resets:
sudo perl -pi -e 's|\x75\x30\x44\x89\xf8|\xeb\x30\x44\x89\xf8|; s|\x75\x3d\x8b\x75\x08|\xeb\x3d\x8b\x75\x08|' /System/Library/Extensions/AppleRTC.kext/Contents/MacOS/AppleRTC
Now you need to use Terminal to reset the kexts ownership and permissions and rebuild the kernelcache file etc.....alternatively, you can use janek202's Kext Wizard for a Terminal-free life.......
In Terminal type:
sudo chown -R root:wheel /System/Library/Extensions sudo chmod -R 755 /System/Library/Extensions sudo touch /System/Library/Extensions exit
Close Terminal and then go to /System/Library/Caches/com.apple.kext.caches/Startup and delete the files within Startup….
IOKitPersonalities_i386.ioplist.gz
IOKitPersonalities_x86_64.ioplist.gz
kernelcache
KextPropertyValues_OSBundleHelper_i386.plist.gz
KextPropertyValues_OSBundleHelper_x86_64.plist.gz
[13] Close the open target HDD OS X Lion System Window and re-boot from the target hard drive OS X Lion System volume......
[14] Use the OS X Lion Disk Utility to repair the HDD OS X Lion system permissions......
N.B. If you experience the [PCI configuration begin] error on booting from the OS X Lion System installed on your target HDD volume, then see post #4, which gives four proposed solutions to this error.......
Procedure 2. (Pre-existing OS X Lion system installation)
1. Simply use Disk utility or Carbon Copy Cloner to clone a OX 10.7 system installed on a GPT/HFS+ HDD (e.g. external USB HDD) to your internal HDD MBR/HFS+ OS X volume........
2. Install the Chameleon RC5 bootloader to your OS X Lion MBR/HFS+ partition/volume after cloning the OS X Lion system on your GPT/HFS+ HDD to your OS X Lion MBR/HFS+ partition/volume
3. Boot into OS X Lion OS on the MBR/HFS+ partition/volume.....
*************************************************************
Part E. Installing a Bootable OS X Lion OS 10.7 OS on a GPT Partitioned Hard Drive Using the verdant_nForce_OSX_Lion_Installer_DVD_Booter
*************************************************************
I have prepared the following BootCD/OS X Lion Base System Installer DVD installation methods for nForce MOBO owners {a} who do not have ready access to an 8GB minimum size USB flash drive, {b} who are having difficulty booting their PC from a USB flash drive, or {c} who just like the idea of having an archival 'backup' installation method on an optical disk should their USB flash drive ever fail…….
1. Preparing the target Hard Drive volume as a Mac bootable device volume
[1] Use the running Snow Leopard Disk Utility to partition/format your target HDD volume for OS X 10.7 as GPT/HFS+ volume named OSX_10.7_GPT_A (or your chosen name without spaces)
****************************************************
VERY IMPORTANT TO CHECK : OS X target HDD ownership
****************************************************
Right-click on the target OS X HDD volume icon on your Desktop -> Get Info. If the checkbox next to "Ignore ownership on this volume" is checked then click on padlock symbol to authenticate and UNCHECK the checkbox.
Then to ensure that the target OS X HDD volume's root directory is owned by the root user, go to Terminal and type: (note that using 0:0 is equivalent to using root:wheel)
sudo chown 0:0 /Volumes/"your target OS X HDD volume name"
This is to make certain that the permissions are not scrambled after the installation of OS X.....and hence that you are able to boot from the OS X 10.7 hard drive........
[2] Download the verdantChameleonLionBootDVD.iso image file and the required i386 boot files
[3] Go to the Applications folder and find Install Mac OS X Lion WITHOUT clicking on the icon NOR right-click on the icon and selecting Open
[4] Unhide all files via a Terminal command:
***********************************************************
Terminal commands to show/hide hidden and system files:
To show hidden and system files:
defaults write com.apple.finder AppleShowAllFiles TRUE killall Finder
To hide hidden and system files:
defaults write com.apple.finder AppleShowAllFiles FALSE killall Finder
***********************************************************
Or, you can download and run TinkerTool......select the Finder options: 'Show hidden and system files' option and then click Relaunch Finder to unhide......and deselect the Finder options: 'Show hidden and system files' option and then click Relaunch Finder to hide......
[5] Right-click on the Install Mac OS X Lion installer icon and select Show Package Contents.
Open the Contents folder and the SharedSupport folder within it, and look for InstallESD.dmg
[6] Open i.e. mount InstallESD.dmg and look for BaseSystem.dmg……LEAVE the Mac OS X Install ESD window open…….
[7] Create a folder on your Desktop called Mac OS X Base System
[8] Open i.e. mount BaseSystem.dmg……LEAVE the BaseSystem window open…….
[9] 'Select All' files in the open BaseSystem window and copy them into the Mac OS X Base System folder that you created on your Desktop
[10] Open the System folder in the Mac OS X Base System folder and double-click on the Installation folder within it…..this opens an Installation folder window….
Right-click on the Packages alias icon and select Move to Trash
Go to the open Mac OS X Install ESD window and 'drag and drop' the Packages folder in the window into the open Installation folder window……the 3.26 GB Packages folder will take about 10 or minutes to copy over……
[11] Now 'drag and drop' the mach_kernel file from the open Mac OS X Install ESD window into the into the Mac OS X Base System folder…….
[12] Copy via Terminal or via 'drag and drop' the OSx86 boot files by netkas [i.e. PC_EFI v10.6 boot files (boot0, boot1h and cdboot) and 10.7 boot file (boot)] into /Users/"User Name"/Desktop/Mac\ OS\ X\ Base\ System/usr/standalone/i386,
i.e. in non-Terminal "speak" go to Desktop >>>> Mac OS X Base System >>>> usr >>>> standalone >>>> i386
****************************************************
For those of you who are interested, only the cdboot file is used to boot the MacOSXBaseSystemDVD but I have put the PC_EFI v10.6 boot files (boot0, boot1h and cdboot) and 10.7 boot file (boot) file into the i386 folder because some users may experience the following bootup freeze-causing error when trying to boot from the OS X Lion system they have installed on their HDD volume (by USB installer, or my DVD installer, or HDD partition installer):
BootCacheControl: Unable to open /var/db/BootCache.playlist: 2 no such file or directory
Bug:launchctl.c:2408 (24687):30: cdefd =open (g_overrides_db_patch....
and it has been reported by some with this problem that using the netkas PC_EFI v10.6 boot0 and boot1h files and the 10.7 boot file has overcome this problem, while using even the newer versions of the Chameleon 2.0 RC5 bootloader has not.............
To install these files manually on your target OS X Lion HDD/volume, you can use Terminal commands......follow this guide..........
Assuming your installation is on /dev/disk0s2
Install v10.6 boot0 to the MBR:
sudo ./fdisk440 -f boot0 -u -y /dev/rdisk0
Install v10.6 boot1h to the partition's bootsector:
sudo dd if=boot1h of=/dev/rdisk0s2
Install v10.7 boot to the partition's root directory:
sudo cp boot /
Alternatively, you can just download and run a PC_EFI v10.6 installer package and then just unhide the hidden/system files and delete the boot file in the root directory / and copy the PC_EFI v10.7 boot file into the / directory......
Also, see the post by akimoa here.....google for the PC efi 10.7 boot file from netkas or use this one http://cl.ly/3x0p0B041H3g3c2O3p2b
If you still have no joy, then try this version of fakesmc.kext posted by rubahgeni in IM that he extracted from ###### 3.8.0, as it sorted the launchctl.c error for him allowing him to boot the Lion installer......
FakeSMC.kext.zip 30.01K 1 downloads
****************************************************
[13] Now go to /Users/"User Name"/Desktop/Mac\ OS\ X\ Base\ System/System/Library/CoreServices/,
i.e. in non-Terminal "speak" go to Desktop >>>> Mac OS X Base System >>>> System >>>> Library >>>> CoreServices,
and then highlight the 'locked' boot.efi file and right-click to select Get Info…….in the Get Info pop-up window that appears, uncheck the Locked checkbox……
[14] Close all open folders within the Mac OS X Base System folder and in the Terminal type:
sudo chown -R 0:0 /Users/"User Name"/Desktop/Mac\ OS\ X\ Base\ System
[15] Then in Terminal type:
sudo hdiutil makehybrid -o MacOSXBaseSystemDVD.iso /Users/"User Name"/Desktop/Mac\ OS\ X\ Base\ System -iso -hfs -joliet -eltorito-boot /Users/"User Name"/Desktop/Mac\ OS\ X\ Base\ System/usr/standalone/i386/cdboot -no-emul-boot -hfs-volume-name "MacOSXBaseSystemDVD" -joliet-volume-name "MacOSXBaseSystemDVD"
If you have entered this line correctly you should see:
Creating hybrid image... ……………………………………………………………………
……………………………………………………………………" is a moving progress bar and after it stops, you should find a MacOSXBaseSystemDVD.iso in the /Users/"User Name"/ directory
[16] Burn this .iso image file to a DVD at x4 or slower
[17] Burn the verdantChameleonLionBootDVD.iso image file to a CD……..
[18] Have the MacOSXBaseSystemDVD ready to hand and then insert the verdantChameleonLionBootCD into your DVDRW and boot from it………..follow the boot screen instructions…..I recommend you choose -v as a boot flag before booting from the MacOSXBaseSystemDVD, so that you can see what is happening onscreen…….
BE PREPARED - booting from the DVD is very slow - from booting the MacOSXBaseSystemDVD to reaching the Mac OS X Installer Desktop takes 13 minutes........thus the OS X Lion system installation process takes even longer......
This is because [i] all kexts are loaded directly from /System/Library/Extensions/ and [ii] the OS X Lion BaseSystem.dmg files are no longer optimised for use with optical disks………….a further clear indication IMHO that Apple now view optical drives/disks as obsolete (just as they did with the floppy disk drive/disks)……..
[19] Re-boot back into OS X Snow Leopard and run the Chameleon 2.0 RC5 r1191 [VS] .dmg installer (in the Lion_Support_Files_v1.1 folder) and double-click on the Install Chameleon icon in the Chameleon 2 RC5 VS window…….then click Continue…..accept the default-selected Chameleon and select Theme (you do not need to select AppleEMC, which installs the AppleEMC kext for iMac recognition….UNLESS you need to use an iMac SMBIOS.plist because of your CPU and find that having AppleEMC kext installed 'helps' the App Store recognize your OSx86 / Hacintosh PC).
Click Continue again……THEN click Change Install Location and select the target HDD OS X Lion volume icon in the Select a Destination window and click Continue……then click Install…..after a hopefully successful install, click Close…..
[20] Set up your video driver as you have done for running OS X 10.6.8 Snow Leopard in 64bit mode but note that in the Chameleon 2.0 RC5 r1191 [VS] update, com.apple.Boot.plist is renamed to org.chameleon.Boot.plist in /Extra, now that Chameleon uses org.chameleon.Boot.plist instead of com.apple.Boot.plist......
[21] Go back to the open target HDD OS X Lion System Window……the Chameleon bootloader installer should have created the /Extra/ and /Extra/Extensions/ directories or folders……
[22] Copy across from your running 64bit mode Snow Leopard system, your MOBO's OS X DSDT.aml file into the open target HDD OS X Lion System Window, i.e. the target HDD volume's / directory…….
[23] Copy across from your running 64bit mode Snow Leopard system, or from the Lion Support Files v1.1 folder, into /Extra on the target HDD volume, the following .plist files:
smbios.plist for MacPro3,1 (use the one from MaLd0n's Lion installation via USB stick using Chameleon, DP4, GM and FINAL topic…….), or whatever MacProx,y designation matches your CPU....
org.chameleon.Boot.plist (assuming you have run the Chameleon 2.0 RC5 r1191 [VS] .dmg installer on your running 64bit mode Snow Leopard system)
Also copy across (if you wish) your Chameleon v2.0 RC5 r1191 Themes folder from your running 64bit mode Snow Leopard system…..
[24] Copy the following kexts in /Extra/Extensions/ on your running 64bit mode Snow Leopard system, or from the Lion Support Files v1.1 folder, into /Extra/Extensions/ in the open target HDD OS X Lion System Window……
AD1998b.FIX.kext
AppleNForceATA.imk64bit.kext
EvOreboot.kext
NullCPUPowerManagement.kext
You may also have AppleHDA.10.6.2.kext, FakeSMC.kext and nForceLAN.0.64.5.kext in /Extra/Extensions/.……
Note the later versions/revisions of FakeSMC.kext v3.0 and later by mojodojo can function from /Extra/Extensions/ or from /System/Library/Extensions/ but be aware that earlier versions/revisions of FakeSMC.kext can only function from /System/Library/Extensions/ - hence step [8] below:
[25] If you have AppleHDA.10.6.2.kext, FakeSMC.kext and nForceLAN.0.64.5.kext in /System/Library/Extensions/ on your running 64bit mode Snow Leopard system, then these need to copied from there, or from the Lion Support Files v1.1 folder, into /System/Library/Extensions/ in the open target HDD OS X Lion System Window……
[26] Having added AppleHDA.10.6.2.kext, FakeSMC.kext and nForceLAN.0.64.5.kext to /System/Library/Extensions/ on the open target HDD OS X Lion System Window, you need to use Terminal to reset the kexts ownership and permissions and rebuild the kernelcache file……alternatively, you can use janek202's Kext Wizard for a Terminal-free life......
In Terminal type:
sudo chown -R root:wheel /System/Library/Extensions sudo chmod -R 755 /System/Library/Extensions sudo touch /System/Library/Extensions exit
Close Terminal and then go to /System/Library/Caches/com.apple.kext.caches/Startup and delete the files within Startup….
IOKitPersonalities_i386.ioplist.gz
IOKitPersonalities_x86_64.ioplist.gz
kernelcache
KextPropertyValues_OSBundleHelper_i386.plist.gz
KextPropertyValues_OSBundleHelper_x86_64.plist.gz
[27] Close the open target HDD OS X Lion System Window and boot from the target hard drive OS X Lion System volume......
[28] If you find that on shutting down OS X Lion and rebooting, that the CMOS has been 'wiped clean' of your custom BIOS settings profile and the BIOS has reverted to using the in-built default BIOS settings, then reload your backed-up custom BIOS settings profile from its source (e.g. USB flash drive) and boot back into OS X Lion......
Then as a workaround 'drag and drop' the AppleRTC.kext (Snow Leopard AppleRTC.kext) from the Lion Support Files v1.0 folder into /System/Library/Extensions/ on the open target HDD OS X Lion System window......
Alternatively, you can patch your own OS X Lion AppleRTC.kext by running this perl script in Terminal, which has been posted by rayap, which forces an unconditional jump over the rtcWrites() in updateChecksum() to prevent CMOS Resets:
sudo perl -pi -e 's|\x75\x30\x44\x89\xf8|\xeb\x30\x44\x89\xf8|; s|\x75\x3d\x8b\x75\x08|\xeb\x3d\x8b\x75\x08|' /System/Library/Extensions/AppleRTC.kext/Contents/MacOS/AppleRTC
Now you need to use Terminal to reset the kexts ownership and permissions and rebuild the kernelcache file etc.....alternatively, you can use janek202's Kext Wizard for a Terminal-free life.......
In Terminal type:
sudo chown -R root:wheel /System/Library/Extensions sudo chmod -R 755 /System/Library/Extensions sudo touch /System/Library/Extensions exit
Close Terminal and then go to /System/Library/Caches/com.apple.kext.caches/Startup and delete the files within Startup….
IOKitPersonalities_i386.ioplist.gz
IOKitPersonalities_x86_64.ioplist.gz
kernelcache
KextPropertyValues_OSBundleHelper_i386.plist.gz
KextPropertyValues_OSBundleHelper_x86_64.plist.gz
[29] Close the open target HDD OS X Lion System Window and re-boot from the target hard drive OS X Lion System volume......
N.B. Since a DSDT.aml file with a RTC fix was and a patched version 10.7 AppleRTC.kext (or version 10.6.8 AppleRTC.kext) were not placed in the / directory and in /System/Library/Extensions, respectively, of the MacOSXBaseSystemDVD, the PC will reboot with a "CMOS checksum error - defaults loaded" message, i.e. the BIOS defaults will be loaded at bootup because your custom BIOS setup has been erased from the CMOS memory......
You will have to either re-enter your custom BIOS settings or, hopefully, just reload your custom BIOS setup from your BIOS backup, e.g. on a USB flash drive......
[30] Use the OS X Lion Disk Utility to repair the HDD OS X Lion system permissions......
N.B. If you experience the [PCI configuration begin] error on booting from the OS X Lion System installed on your target HDD volume, then see post #4, which gives four proposed solutions to this error.......
*************************************************************
Part F. Installing a Bootable OS X Lion OS 10.7 OS on a MBR Partitioned Hard Drive Using the verdant_nForce_OSX_Lion_Installer_DVD_Booter
*************************************************************
Procedure 1. (No pre-existing Lion OS installation)
This procedure assumes that you have already followed Part E. steps [1] to [13]:
[1] Use the running Snow Leopard Disk Utility to partition/format your target HDD volume for OS X 10.7 as GPT/HFS+ volume named OSX_10.7_GPT_A (or your chosen name without spaces)
****************************************************
VERY IMPORTANT TO CHECK : OS X target HDD ownership
****************************************************
Right-click on the target OS X HDD volume icon on your Desktop -> Get Info. If the checkbox next to "Ignore ownership on this volume" is checked then click on padlock symbol to authenticate and UNCHECK the checkbox.
Then to ensure that the target OS X HDD volume's root directory is owned by the root user, go to Terminal and type: (note that using 0:0 is equivalent to using root:wheel)
sudo chown 0:0 /Volumes/"your target OS X HDD volume name"
This is to make certain that the permissions are not scrambled after the installation of OS X.....and hence that you are able to boot from the OS X 10.7 hard drive........
[2] Download the verdantChameleonLionBootDVD.iso image file and the required i386 boot files
[3] Go to the Applications folder and find Install Mac OS X Lion WITHOUT clicking on the icon NOR right-click on the icon and selecting Open
[4] Unhide all files via a Terminal command:
***********************************************************
Terminal commands to show/hide hidden and system files:
To show hidden and system files:
defaults write com.apple.finder AppleShowAllFiles TRUE killall Finder
To hide hidden and system files:
defaults write com.apple.finder AppleShowAllFiles FALSE killall Finder
***********************************************************
Or, you can download and run TinkerTool......select the Finder options: 'Show hidden and system files' option and then click Relaunch Finder to unhide......and deselect the Finder options: 'Show hidden and system files' option and then click Relaunch Finder to hide......
[5] Right-click on the Install Mac OS X Lion installer icon and select Show Package Contents.
Open the Contents folder and the SharedSupport folder within it, and look for InstallESD.dmg
[6] Open i.e. mount InstallESD.dmg and look for BaseSystem.dmg……LEAVE the Mac OS X Install ESD window open…….
[7] Create a folder on your Desktop called Mac OS X Base System
[8] Open i.e. mount BaseSystem.dmg……LEAVE the BaseSystem window open…….
[9] 'Select All' files in the open BaseSystem window and copy them into the Mac OS X Base System folder that you created on your Desktop
[10] Open the System folder in the Mac OS X Base System folder and double-click on the Installation folder within it…..this opens an Installation folder window….
Right-click on the Packages alias icon and select Move to Trash
Go to the open Mac OS X Install ESD window and 'drag and drop' the Packages folder in the window into the open Installation folder window……the 3.26 GB Packages folder will take about 10 or minutes to copy over……
[11] Now 'drag and drop' the mach_kernel file from the open Mac OS X Install ESD window into the into the Mac OS X Base System folder…….
[12] Copy via Terminal or via 'drag and drop' the OSx86 boot files by netkas [i.e. PC_EFI v10.6 boot files (boot0, boot1h and cdboot) and 10.7 boot file (boot)] into /Users/"User Name"/Desktop/Mac\ OS\ X\ Base\ System/usr/standalone/i386,
i.e. in non-Terminal "speak" go to Desktop >>>> Mac OS X Base System >>>> usr >>>> standalone >>>> i386
****************************************************
For those of you who are interested, only the cdboot file is used to boot the MacOSXBaseSystemDVD but I have put the PC_EFI v10.6 boot files (boot0, boot1h and cdboot) and 10.7 boot file (boot) file into the i386 folder because some users may experience the following bootup freeze-causing error when trying to boot from the OS X Lion system they have installed on their HDD volume (by USB installer, or my DVD installer, or HDD partition installer):
BootCacheControl: Unable to open /var/db/BootCache.playlist: 2 no such file or directory
Bug:launchctl.c:2408 (24687):30: cdefd =open (g_overrides_db_patch....
and it has been reported by some with this problem that using the netkas PC_EFI v10.6 boot0 and boot1h files and the 10.7 boot file has overcome this problem, while using even the newer versions of the Chameleon 2.0 RC5 bootloader has not.............
To install these files manually on your target OS X Lion HDD/volume, you can use Terminal commands......follow this guide..........
Assuming your installation is on /dev/disk0s2
Install v10.6 boot0 to the MBR:
sudo ./fdisk440 -f boot0 -u -y /dev/rdisk0
Install v10.6 boot1h to the partition's bootsector:
sudo dd if=boot1h of=/dev/rdisk0s2
Install v10.7 boot to the partition's root directory:
sudo cp boot /
Alternatively, you can just download and run a PC_EFI v10.6 installer package and then just unhide the hidden/system files and delete the boot file in the root directory / and copy the PC_EFI v10.7 boot file into the / directory......
Also, see the post by akimoa here.....google for the PC efi 10.7 boot file from netkas or use this one http://cl.ly/3x0p0B041H3g3c2O3p2b
If you still have no joy, then try this version of fakesmc.kext posted by rubahgeni that he extracted from ###### 3.8.0, as it sorted the launchctl.c error for him allowing him to boot the Lion installer......
FakeSMC.kext.zip 30.01K 1 downloads
****************************************************
[13] Now go to /Users/"User Name"/Desktop/Mac\ OS\ X\ Base\ System/System/Library/CoreServices/,
i.e. in non-Terminal "speak" go to Desktop >>>> Mac OS X Base System >>>> System >>>> Library >>>> CoreServices,
and then highlight the 'locked' boot.efi file and right-click to select Get Info…….in the Get Info pop-up window that appears, uncheck the Locked checkbox……
Now in order for you to install OS X Lion 10.7 onto your target HDD volume partitioned/formatted as MBR/HFS+ you need to use a modified OSInstall.mpkg package and OSInstall Unix executable file in place of the ones in the Mac OS X Base System folder......
There are two versions of OSInstall.mpkg and OSInstall that I have used:
Version 1 patcher: nawcom's GM MBR Patch
Create a folder named "nawcom MBR Patch" on your Desktop, and then download and unarchive Lion_OSInstall_GM.tar.bz2 file into it…….the unarchived System folder contains the modified OSInstall.mpkg package and the OSInstall Unix executable file, nested in Installation and Library, respectively….
Alternatively, here is a zipped archive for your convenience:

MBR_Patch_for_OS_X_Lion_GM___by_nawcom.zip 701.95K 50 downloads
Version 2 patcher: MBR Patch 10.7.0 11A511 - by xpertvision
The binpatched OSInstall "framework" and "OSInstall.mpkg" in MBR Patch 10.7.0 11A511:

MBR_Patch_10.7.0_11A511___by_Xpertvision.zip 707.73K 56 downloads
are modified versions of the original patches by nawcom, to enable the installation of OS X Lion 10.7.0 (11A511 release) onto a target HDD volume partitioned/formatted as MBR/HFS+, which are patched to:
[1] Overcome the default 2GB RAM limit for installation, allowing installation even on PCs having only 1GB RAM installed......but note these comments by smartie77:
Quote
If for all you should only run it in 32bit mode this makes the biggest change in memory usage, then the next biggest turn off spotlight to a large degree, mainly the full text indexing of pdf,mail and websites; exclude all folders that are not your home folder and run most apps in 32bit mode only, not only the apps in /Applications but also the system apps in /System/Library/CoreServices - right click them "get info" and checkmark "run in 32bit mode" wherever it is available. Try slimming down the kexts - if you have a ATI for example throw out all IntelGMA,Nvidia etc kexts. If you have no thunderbolt and Firewire - out with them . No ATTO and Promise cards = rid off them..
Turn off the auto-reopening of all open windows and apps ( Lion constantly writes apps changing states, open documents and version changes to your hidden Home Library ).
There is more to tweak, time will tell.. Lion has a loads of background services running that were not in SL. And Apple seems to collect a lot of user and performance metric data .. Have a look in Systems LaunchAgents/Launchdaemons plists, there is way too much, but as of yet I cannot say what is safe to delete there.
[2] Custom Install Options added:
Language packs (select the language packs you want to install)
Server Install (install server options or not) - provided that you have the the OS X Lion 10.7.0 Server Installer as a .dmg /.iso image file and hence its Mac OS X Base System volume on your OS X Lion USB Flash Drive Installer.....
The procedure for installing the modified OSInstall.mpkg package and OSInstall Unix executable file in the Mac OS X Base System folder in place of the original OS X Lion Installer versions is the same, whichever version patcher you choose to use, and is as follows:
1. Unhide the hidden and systems files in the Mac OS X Base System folder, using Terminal commands or Tinker Tool (see Part E. above)
2. Go to Terminal and then:
[1] Either type:
cd /Users/"User Name"/Desktop/Mac\ OS\ X\ Base\ System/System/Installation/Packages
or type
cd
and press the 'Space Bar', and then having navigated to System >>>> Installation >>>> Packages, 'drag and drop' the Packages folder into Terminal……
[2] Type the following:
sudo mv OSInstall.mpkg OSInstall.mpkg.GPT ls
Note that you have now renamed the original file as shown by the 'ls' command…..
[3] Either type:
cd /Users/"User Name"/Desktop/Mac\ OS\ X\ Base\ System/System/Library/PrivateFrameworks/Install.framework/Frameworks/OSInstall.framework/Versions/A
or type
cd
and press the 'Space Bar', and then having navigated to System >>>> Library >>>> PrivateFrameworks >>>> Install.framework >>>> Frameworks >>>> OSInstall.framework >>>> Versions >>>> A, 'drag and drop' the A folder into Terminal……
[4] Type the following:
sudo mv OSInstall OSInstall.GPT ls exit
Note that you have now renamed the original file as shown by the 'ls' command…..
As a reminder if ever you wish to revert back to the original GPT installer versions......simply rename the original files by removing the .GPT extensions after having renamed the patched files with the .MBR extension, via Terminal :
cd /Users/"User Name"/Desktop/Mac\ OS\ X\ Base\ System/System/Installation/Packages sudo mv OSInstall.mpkg OSInstall.mpkg.MBR sudo mv OSInstall.mpkg.GPT OSInstall.mpkg
followed by
cd /Users/"User Name"/Desktop/Mac\ OS\ X\ Base\ System/System/Library/PrivateFrameworks/Install.framework/Frameworks/OSInstall.framework/Versions/A sudo mv OSInstall OSInstall.MBR sudo mv OSInstall.GPT OSInstall exit
3. Then either 'drag and drop' the chosen version of OSInstall.mpkg into /Users/"User Name"/Desktop/Mac\ OS\ X\ Base\ System/System/Installation/Packages......(or use cp command via Terminal):
sudo cp -p -R /Users/"User Name"/Desktop/nawcom\ MBR\ Patch/System/Installation/Packages/OSInstall.mpkg /Users/"User Name"/Desktop/Mac\ OS\ X\ Base\ System/System/Installation/Packages
4. Then 'drag and drop' OSInstall into /Users/"User Name"/Desktop/Mac\ OS\ X\ Base\ System/System/Library/PrivateFrameworks/Install.framework/Frameworks/OSInstall.framework/Versions/A......(or use cp command via Terminal):
sudo cp -p -R /Users/"User Name"/Desktop/nawcom\ MBR\ Patch/System/Library/PrivateFrameworks/Install.framework/Frameworks/OSInstall.framework/Versions/A/OSInstall /Users/"User Name"/Desktop/Mac\ OS\ X\ Base\ System/System/Library/PrivateFrameworks/Install.framework/Frameworks/OSInstall.framework/Versions/A
5. Close all open folders within the Mac OS X Base System folder and in the Terminal type:
sudo chown -R 0:0 /Users/"User Name"/Desktop/Mac\ OS\ X\ Base\ System
6. Then in Terminal type:
sudo hdiutil makehybrid -o MacOSXBaseSystemDVD.iso /Users/"User Name"/Desktop/Mac\ OS\ X\ Base\ System -iso -hfs -joliet -eltorito-boot /Users/"User Name"/Desktop/Mac\ OS\ X\ Base\ System/usr/standalone/i386/cdboot -no-emul-boot -hfs-volume-name "MacOSXBaseSystemDVD" -joliet-volume-name "MacOSXBaseSystemDVD"
If you have entered this line correctly you should see:
Creating hybrid image... ……………………………………………………………………
"……………………………………………………………………" is a moving progress bar and after it stops, you should find a MacOSXBaseSystemDVD.iso in the /Users/"User Name"/ directory
7. Burn this .iso image file to a DVD at x4 or slower
8. Burn the verdantChameleonLionBootDVD.iso image file to a CD……..
9. Now follow the following procedure to install OS X Lion 10.7 onto your target HDD volume partitioned/formatted as MBR/HFS+ :
[1] Have the MacOSXBaseSystemDVD ready to hand and then insert the verdantChameleonLionBootCD into your DVDRW and boot from it………..follow the boot screen instructions…..I recommend you choose -v as a boot flag before booting from the MacOSXBaseSystemDVD, so that you can see what is happening onscreen…….
BE PREPARED - booting from the DVD is very slow because [1] all kexts are loaded directly from /System/Library/Extensions/ and [2] the OS X Lion BaseSystem.dmg files are no longer optimised for use with optical disks………….clear indication that Apple now view optical drives/disks as obsolete (just as they did with the floppy disk drive/disks)……..
HOWEVER I have prepared this installation method {a} for those who do not have ready access to an 8GB minimum size USB flash drive and {b} for those who like the idea of having a 'backup' installation method should their USB flash drive ever fail…….
[2] Re-boot back into OS X Snow Leopard and run the Chameleon 2.0 RC5 r1191 [VS] .dmg installer (in the Lion_Support_Files_v1.1 folder) and double-click on the Install Chameleon icon in the Chameleon 2 RC5 VS window…….then click Continue…..accept the default-selected Chameleon and select Theme (you do not need to select AppleEMC, which installs the AppleEMC kext for iMac recognition….UNLESS you need to use an iMac SMBIOS.plist because of your CPU and find that having AppleEMC kext installed 'helps' the App Store recognize your OSx86 / Hacintosh PC).
Click Continue again……THEN click Change Install Location and select the target HDD OS X Lion volume icon in the Select a Destination window and click Continue……then click Install…..after a hopefully successful install, click Close…..
[3] Set up your video driver as you have done for running OS X 10.6.8 Snow Leopard in 64bit mode but note that in the Chameleon 2.0 RC5 r1191 [VS] update, com.apple.Boot.plist is renamed to org.chameleon.Boot.plist in /Extra, now that Chameleon uses org.chameleon.Boot.plist instead of com.apple.Boot.plist......
[4] Go back to the open target HDD OS X Lion System Window……the Chameleon bootloader installer should have created the /Extra/ and /Extra/Extensions/ directories or folders……
[5] Copy across from your running 64bit mode Snow Leopard system, your MOBO's OS X DSDT.aml file into the open target HDD OS X Lion System Window, i.e. the target HDD volume's / directory…….
[6] Copy across from your running 64bit mode Snow Leopard system, or from the Lion Support Files v1.1 folder, into /Extra on the target HDD volume, the following .plist files:
smbios.plist for MacPro3,1 (use the one from MaLd0n's Lion installation via USB stick using Chameleon, DP4, GM and FINAL topic…….), or whatever MacProx,y designation matches your CPU....
org.chameleon.Boot.plist (assuming you have run the Chameleon 2.0 RC5 r1191 [VS] .dmg installer on your running 64bit mode Snow Leopard system)
Also copy across (if you wish) your Chameleon v2.0 RC5 r1191 Themes folder from your running 64bit mode Snow Leopard system…..
[7] Copy the following kexts in /Extra/Extensions/ on your running 64bit mode Snow Leopard system, or from the Lion Support Files v1.1 folder, into /Extra/Extensions/ in the open target HDD OS X Lion System Window……
AD1998b.FIX.kext
AppleNForceATA.imk64bit.kext
EvOreboot.kext
NullCPUPowerManagement.kext
You may also have AppleHDA.10.6.2.kext, FakeSMC.kext and nForceLAN.0.64.5.kext in /Extra/Extensions/.……
Note the later versions/revisions of FakeSMC.kext v3.0 and later by mojodojo can function from /Extra/Extensions/ or from System/Library/Extensions/ but be aware that earlier versions/revisions of FakeSMC.kext can only function from /System/Library/Extensions/ - hence step [8] below:
[8] If you have AppleHDA.10.6.2.kext, FakeSMC.kext and nForceLAN.0.64.5.kext in /System/Library/Extensions/ on your running 64bit mode Snow Leopard system, then these need to copied from there, or from the Lion Support Files v1.1 folder, into /System/Library/Extensions/ in the open target HDD OS X Lion System Window……
[9] Having added AppleHDA.10.6.2.kext, FakeSMC.kext and nForceLAN.0.64.5.kext to /System/Library/Extensions/ on the open target HDD OS X Lion System Window, you need to use Terminal to reset the kexts ownership and permissions and rebuild the kernelcache file……alternatively, you can use janek202's Kext Wizard for a Terminal-free life.......
In Terminal type:
sudo chown -R root:wheel /System/Library/Extensions sudo chmod -R 755 /System/Library/Extensions sudo touch /System/Library/Extensions exit
Close Terminal and then go to /System/Library/Caches/com.apple.kext.caches/Startup and delete the files within Startup….
IOKitPersonalities_i386.ioplist.gz
IOKitPersonalities_x86_64.ioplist.gz
kernelcache
KextPropertyValues_OSBundleHelper_i386.plist.gz
KextPropertyValues_OSBundleHelper_x86_64.plist.gz
[10] Close the open target HDD OS X Lion System Window and boot from the target hard drive OS X Lion System volume......
[11] If you find that on shutting down OS X Lion and rebooting, that the CMOS has been 'wiped clean' of your custom BIOS settings profile and the BIOS has reverted to using the in-built default BIOS settings, then reload your backed-up custom BIOS settings profile from its source (e.g. USB flash drive) and boot back into OS X Lion......
Then as a workaround 'drag and drop' the AppleRTC.kext (Snow Leopard AppleRTC.kext) from the Lion Support Files v1.0 folder into /System/Library/Extensions/ on the open target HDD OS X Lion System window......
Alternatively, you can patch your own OS X Lion AppleRTC.kext by running this perl script in Terminal, which has been posted by rayap, which forces an unconditional jump over the rtcWrites() in updateChecksum() to prevent CMOS Resets:
sudo perl -pi -e 's|\x75\x30\x44\x89\xf8|\xeb\x30\x44\x89\xf8|; s|\x75\x3d\x8b\x75\x08|\xeb\x3d\x8b\x75\x08|' /System/Library/Extensions/AppleRTC.kext/Contents/MacOS/AppleRTC
Now you need to use Terminal to reset the kexts ownership and permissions and rebuild the kernelcache file etc.....alternatively, you can use janek202's Kext Wizard for a Terminal-free life......
In Terminal type:
sudo chown -R root:wheel /System/Library/Extensions sudo chmod -R 755 /System/Library/Extensions sudo touch /System/Library/Extensions exit
Close Terminal and then go to /System/Library/Caches/com.apple.kext.caches/Startup and delete the files within Startup….
IOKitPersonalities_i386.ioplist.gz
IOKitPersonalities_x86_64.ioplist.gz
kernelcache
KextPropertyValues_OSBundleHelper_i386.plist.gz
KextPropertyValues_OSBundleHelper_x86_64.plist.gz
[12] Close the open target HDD OS X Lion System Window and re-boot from the target hard drive OS X Lion System volume......
[13] Use the OS X Lion Disk Utility to repair the HDD OS X Lion system permissions......
N.B. If you experience the [PCI configuration begin] error on booting from the OS X Lion System installed on your target HDD volume, then see post #4, which gives four proposed solutions to this error.......
Procedure 2. (Pre-existing OS X Lion system installation)
1. Simply use Disk utility or Carbon Copy Cloner to clone a OX 10.7 system installed on a GPT/HFS+ HDD (e.g. external USB HDD) to your internal HDD MBR/HFS+ OS X volume........
2. Install the Chameleon RC5 bootloader to your OS X Lion MBR/HFS+ partition/volume after cloning the OS X Lion system on your GPT/HFS+ HDD to your OS X Lion MBR/HFS+ partition/volume
3. Boot into OS X Lion OS on the MBR/HFS+ partition/volume.....
*************************************************************



Sign In
Create Account












