Jump to content

[GUIDE] Lion DP1 on Ideapad S10e


  • Please log in to reply
5 replies to this topic

#1
DerRolf

DerRolf

    InsanelyMac Protégé

  • Members
  • PipPip
  • 50 posts
Hi there!

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

Step one:
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 Finder
if you take a look at the Lion install disk you should see a file called BaseSystem.dmg

Step two:
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.

Step three:
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)
- BaseSystem.dmg
- my patched OSInstall.mpkg

Step four:
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

Step five:
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.kext
Yes 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 ;-)

Step six:
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 ;)

Step seven:
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.
Attached File  lioninstaller_cpucheck.png   17.04KB   75 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!

#2
austinf4564

austinf4564

    InsanelyMac Protégé

  • Members
  • Pip
  • 11 posts
My Chameleon install keeps failing. What can I do?

#3
EinsteinTaylor

EinsteinTaylor

    InsanelyMac Protégé

  • Members
  • Pip
  • 9 posts

My Chameleon install keeps failing. What can I do?


The first thing you can do is learn how to write a meaningful post to ask for help. The absolute bare minimum would be to state what the error message you are getting is. Beyond that, screenshots, a list of steps you have already taken to try to troubleshoot, etc...

Basically give as much information as you can so that someone will want to help you because the default reply to your question as it is worded is going to be "Go back to Windows"

#4
goldenchan

goldenchan

    InsanelyMac Protégé

  • Members
  • Pip
  • 3 posts
  • Gender:Male
DerRolf,

Based on your instructions, I use the GM version of 10.7 (11A550) disk image and edit the OSInstall.mpkg as in your paragraph in blue color, I can install Lion onto my S10-3c successfully, except the following issues:
1. system will have kernel panic whenever restart or shutdown (even during reboot just after Lion installation);
2. on-board Ethernet port not working;
3. built-in wifi not working; (so, there is no entry in my NETWORK system preference)
4. built-in keyboard not working after booting into Mac OSX, still working during booting in dark background in -v mode;
5. my onboard video card GMA x3150 support 800x600 in Lion only, but 1024x768 in Windows 7 Starter (32-bit);

I have run repair permission on my booting partition under disk utility, but still cannot fix the problems.

Any idea on how to fix the above problem? Thanks a million in advance.

PS, adding extensions below from another post of MaLd0n seems fix the problem of restart / Shutdown:

NullCPUPowerManagement.kext

IOAHCIBlockStorageInjector.kext

#5
goldenchan

goldenchan

    InsanelyMac Protégé

  • Members
  • Pip
  • 3 posts
  • Gender:Male
Dear all,

Anyone gets a 64-bit version of extensions:

_ApplePSController.kext
_AppleACPIPS2Nub.kext
_VoodooHDA.kext

As there are still 2 major outstanding items that I cannot fix on installation Lion GM on my ideapad S10-3c with Atom N475 (core solo supports 64-bit with hyperthreading)

Keyboard not functioning after booted into 10.7;
Ralink 3090 wifi card not working (only connected to unprotected access point), even after installation of Ralink USB2080 or RT2070 driver and wifi utility.

Anyone know which internal 802.11n wifi card works with S10-3c on Lion, as I intend to buy such card from eBay. Someone said those for Dell 1510 will not work!! any idea?

Thanks in advance.

Golden

#6
pustiu314p

pustiu314p

    InsanelyMac Protégé

  • Members
  • Pip
  • 2 posts

how can I do all these on a windows machine?

I have a Ideapad S10e and a acer aspire 5315 and I will like to install Lion in S10e, but I need a way to make usb sticks in windows







1 user(s) are reading this topic

0 members, 1 guests, 0 anonymous users

© 2014 InsanelyMac  |   News  |   Forum  |   Downloads  |   OSx86 Wiki  |   Mac Netbook  |   PHP hosting by CatN  |   Designed by Ed Gain  |   Logo by irfan  |   Privacy Policy