So some of you may know me from the s10lenovo.com site, where I published my guide on how to install Lion DP1 Build 11A390 on a netbook. Because some asked my if I could post the guide here as well (to get more feedback and to improve my guide) - well, here it is:
This guide should also work for other netbooks. If you have a Intel GMA950 with Device ID 27ae you should also get graphics acceleration as well!
Guide on how to install Lion DP1 (build 11A390) on Lenovo IdeaPad S10 and S10e
What you need:
- some time (read carefully! :-) )
- your Ideapad
- a USB drive with 8 GB or more
- the Lion 11A390 image
- a running Mac or Hackintosh
We need to create our own installation disk on the USB stick, because Apple uses a new way to boot the Lion setup (and this basically doesn't work on hackintoshes): Apple is having a bootable OS X in a .dmg file that includes the Lion installer. However we need to restore this DMG file onto our USB drive. The DMG file is hidden on the Lion installation disk. To make this file, open the Terminal app in OS X and type this:
defaults write.com.apple.finder AppleShowAllFiles TRUE killAll Finderif you take a look at the Lion install disk you should see a file called BaseSystem.dmg
Open the disk utility in OS X. Drag the file BaseSystem.dmg into the left column. Now format your USB drive. Use GUID Partition scheme and format the Volume as Mac OS Extended (Journaled).
Now choose the tab Restore and drag the BaseSystem.dmg into Source. Drag your USB drive into Destination. Uncheck the checkbox bellow (remember, we've just formatted the USB drive so we don't need to do it again ;-) )
Click restore and wait.
If it's done, we have to copy all the installation bundles to our USB drive. In Finder, open your USB drive and go to the folder System and then Installation.
You should see a file called "Packages" - remove it and create a new folder called Packages (meaning: replace the file with a folder)
The exact path for the new folder should be:
/Volumes/<USB DRIVE NAME HERE>/System/Installation/Packages/Then open this created folder and also open the OS X Lion installation disk again. On the OS X Lion installation disk, open the folder Packages (it's hidden, too but it's in the root Volume of the installation disk)
Copy all the files in the Packages-folder of your Lion disk into the Packages-folder on your USB drive.
If you're done, copy the BaseSystem.dmg to the Packages-folder on your USB drive and also copy the OSInstall.mpkg in my bundle into the folder.
In a nutshell: your Packages-folder on the USB drive should now contain the following files:
- All installation packages (ending with .pkg or .mpkg)
- my patched OSInstall.mpkg
Run the Chameleon installer included in my bundle and install it on your USB drive.
UPDATE: PLEASE UNCHECK EVERYTHING IN THE INSTALLER EXCEPT "CHAMELEON STANDARD"
After the installation is done, open the folder "new Chameleon binaries" in my bundle and copy all the files to this directory:
/Volumes/<YOUR USB DRIVE NAME HERE>/usr/standalone/i386/ (you have to overwrite the old files)
and copy the file called "boot" to /Volumes/<YOUR USB STICK NAME HERE>/ (= root-Volume of your USB drive)
If you shouldn't be able to overwrite the old files - try logging on as Administrator or try to copy the files via Terminal as admin
Now we are almost done! Now we need to add a few Kernel Extensions and our DSDT file and that's it!
Just copy the KEXTs in my bundle to /Volumes/<USB STICK NAME HERE>/System/Library/Extensions/
and open Terminal: type this:
sudo su (type your Admin password) cd /Volumes/<USB STICK NAME HERE>/System/Library/Extensions/ chmod -R 755 _AppleIntelGMA950.kext/ chmod -R 755 _AppleIntelIntegratedFramebuffer.kext/ chmod -R 755 _ApplePSController.kext/ chmod -R 755 _AppleACPIPS2Nub.kext/ chmod -R 755 _BCM5722D.kext/ chmod -R 755 _VoodooHDA.kext/ chmod -R 755 _FakeSMC.kext chown -R 0:0 _AppleIntelGMA950.kext/ chown -R 0:0 _AppleIntelIntegratedFramebuffer.kext/ chown -R 0:0 _ApplePS2Controller.kext/ chown -R 0:0 _AppleACPIPS2Nub.kext/ chown -R 0:0 _BCM5722D.kext chown -R 0:0 _VoodooHDA.kext/ chown -R 0:0 _FakeSMC.kextYes I know it's annoying to do this by hand, but since I'm not able to create a terminal script for that... :-D
if you typed this in, you can close Terminal.
Now just copy your own DSDT (and if you like a SMBIOS-file) and my com.apple.Boot.plist to the Extra folder on your USB drive.
And don't forget to put mach_kernel_atom on your USB drive ;-)
Now we are ready to install Lion! Just install as you would install Snow Lion!
If you got any problems, try booting with -v -f
ah and by the way: if you're done, open Terminal and type
defaults write com.apple.finder AppleShowAllFiles FALSE to hide all files again
After the installation has been successful we need to copy (at least!) FakeSMC.kext to the volume we installed Lion to.
To do so, simply boot again your Lion installer and open Terminal. Type
cp /System/Library/FakeSMC.kext /Volumes/<HDD YOU INSTALLED LION TO>/System/Library/ chmod -R 755 /Volumes/<HDD YOU INSTALLED LION TO>/System/Library/FakeSMC.kext/ chown -R 0:0 /Volumes/<HDD YOU INSTALLED LION TO>/System/Library/FakeSMC.kext/Either you do the same again with all the kexts mentioned above or you do boot your installed Lion now and use programs like KextHelper b7 ;-)
DOWNLOAD THE ZIP FILE INCLUDING EVERYTHING NECESSARY: http://www.mediafire...f866ozy4g420xh7
I hope this guide is complete and correct. If you have any problems and/or questions, feel free to ask!
Good luck everyone!
TECHNICAL, ONLY FOR PEOPLE WHO ARE REALLY INTERESSTED IN THAT STUFF:
If you want to know what I modified in the OSInstall.mpkg: There is a method in the installer that checks if your CPU is 64 bit capable. If it is, it returns a value of 1. If it returns anything else than 1, the installation fails. So I modified to always return 1, regardless if the CPU is 64-bit capable or not.
lioninstaller_cpucheck.png 17.04K 72 downloads I replaced the highlighted text with 1 and that's all!
And if you want to know what I modified on the GMA 950 drivers: I just included the 27ae Device-ID in the KEXT and edited the binaries to include 27ae. My modified com.apple.Boot.plist includes a EFI string to inject a GMA 950 (otherwise the KEXTs would load but you wouldn't have any graphics acceleration at all)
Thanks to Andy Vandijck and Nexos from Insanelymac for helping me (with Andy's kernel and bootloader from Nexos) and thanks to corrpel from s10lenovo for his VoodooHDA fix!