Jump to content

Lion installation via USB stick using Chameleon


MaLd0n
 Share

1,466 posts in this topic

Recommended Posts

Hi there!

 

Thank you so much MaLd0n for this guide, which I just followed for installing Lion GM on my PC.

 

The installation went smooth to the first boot.

 

But my RTL8111C Ethernet controller wasn't working out of the box, so I couldn't generate my DSDT straight away, since JRE has to be downloaded from Internet.

 

So I copied the Extra folder for iMac 9,1 to the root of my Lion partition and ran the Chameleon RC5 installer, as mentioned. I also had to copy to my /Extra/Extensions folder the RealtekRTL81xx.kext that I had extracted from the Lnx2Mac's driver, and the NullCPUPowerManagement.kext.

 

On reboot I had Internet back so I was able to launch DSDT Auto-Patcher, generate the DSDT.aml file for my Gigabyte GA-G31M-S2L (not ES2L) motherboard, copy it to /Extra, remove the NullCPUPowerManagement.kext from the /Extra/Extensions folder and then reboot again.

 

So far so good! :-)

 

The only thing missing for my use (as I have an external sound card and don't need the integrated chipset) is getting my AMD Radeon HD 4850 working.

 

I was using a LegacyATI4800Controller.kext with Snow Leopard, but how would you do with Lion? I just read every single reply of this thread and it seems that I'm the first, at least of those following this guide, to have a working Lion and wish to make this graphics card work.

 

Edit:

Just tried with <key>GraphicsEnabler</key><string>Yes</string> in com.boot.Apple.plist, without any additional KEXT, and it doesn't boot anymore.

Link to comment
Share on other sites

Hi,

 

When I'm trying to install from my USB, all seems Ok, chameleon ok, no error, but, when begins to load OSX system (It changes to graphical mode) my computer reestarts.

 

Gigabyte EX58UDP-4

Graphical Card Shafire HD5770

intel i7

10.7 Goldmaster version

Installed method:USB Stick

 

Any idea?

 

Thanks

Link to comment
Share on other sites

I was using a LegacyATI4800Controller.kext with Snow Leopard, but how would you do with Lion? I just read every single reply of this thread and it seems that I'm the first, at least of those following this guide, to have a working Lion and wish to make this graphics card work.

 

Edit:

Just tried with GraphicsEnablerYes in com.boot.Apple.plist, without any additional KEXT, and it doesn't boot anymore.

 

Use GraphicsEnabler=Yes, Pciroot=1 and LegacyATI4800Controller.kext

http://www.insanelymac.com/forum/index.php?showtopic=223213

Link to comment
Share on other sites

Use GraphicsEnabler=Yes, Pciroot=1 and LegacyATI4800Controller.kext

http://www.insanelymac.com/forum/index.php?showtopic=223213

It works fine with GraphicsEnabler=Yes and the LegacyATI4800Controller.kext, PCIRoot=1 isn't necessary.

 

Didn't tried sleep yet, but I'm never using this feature, so everything's working like I'd like.

 

I'm ready for Lion retail! :-)

 

Thank you very much MaLd0n.

Link to comment
Share on other sites

Running a GA-P35-DS3 board with 2GB ram and a Core2Duo Intel E4500 (2.2GHz) chip. I'm currently running 10.6.8 without issue but would like to update to the newest version if possible (maybe its better where I am?)

 

Anyways, I made the installer USB as directed in the OP and had no issues. When I reboot the computer with said USB, files start loading (can see verbose) and continues for around 30 seconds until it just restarts. I never see the installer app. It's like the installer starts to load, but then hits something and the whole cpu just reboots.

 

Any idea?

Link to comment
Share on other sites

Firstly I'd like to say thanks to MaLd0n for a great howto the installation went with little or no fuss, however there's one or two things I encountered that I thought may be of use to others. Initially I was reluctant to attempt Lion install as when I tried to upgrade my desktop SL from 10.7 to 10.8 it broke the networking and made the machine very slow. On the advice of a mate (thanks snow :)) I did a clean install by following this howto. My desktop has a wireless card with a broadcom chip which worked ootb - not normally used but nice that it was working no fuss. I had recently upgraded my LAN to Gigabit using Tplink cards with Realtek gigabit chips (I chose these cards as they were a) cheap and :D more importantly advertised as OS X compatible. This was no longer working as were the onboard Marvell yukon network interfaces (the latter was no surprise as they required a plist hack in SL). My initial fix was to replace the IONetworking.kext with the one from my SL install. Confusion ensued when I discovered that my wireless card was no longer working also the firewire interface had disappeared BUT the gigabit interface was working but was listed as a wireless interface; the Marvell interfaces were also listed now. After a bit of trial and error I discovered the fix: Apple have removed the Realtek Gigabit kext from the new Lion IONetworking.kext, the solution was to use the new Lion kext and install the Realtek kext from the latest release of [url=&quot;http://www.insanelymac.com/forum/topic/279450-why-insanelymac-does-not-support-tonymacx86/&quot;]#####[/url] (which correctly installs it in the plugin folder of IONetworking.kext. I have disabled the onboard Marvell interfaces in the Bios as I currently have no use for them. The Firewire interface and wireless are both back as per initial install. Sorry this is a little long-winded (I'm known for it, alas! lol) I hope this info may be of use to others.

 

Once again, thanks MaLd0n! :)

Link to comment
Share on other sites

Great Walkthrough... Worked like a charm! No big issues at all, used my ownpre-patched DSDT and com.apple.boot.plist. forgot to take out AppleHDA.kext and when I did I got a KP... repaired permissions via my SL install, rebooted and now have sound via voodoo.

 

Despite having had a lot of hassle with the IOPCIFamily.kext and AppleAPCIPlatform.kexts in several attempts to install I eventually used my GT8200 to get up and running, installed the neccessary kexts, then chameleon, SHUT DOWN and Unplugged the machine,,, swapped back in the 240 GT (for which the DSDT is patched) and then repowered and rebooted... and immediately made a DMG of the base install!

 

Anyone heard if there is a Lion Prefpane for Chameleon imminent? hope so

 

Intel DP43TF Q8200 @ 2.33 GHz Quad Core

2 x 2 Gb SDRAM DDR2 Menory (Kingston) @ 800MHz

NVidia GeForce 240 GT IGb DDR 3 (Elite Group)

 

Sleep Enabler has never worked for me,,, so doubt it will now. otherwise it's all systems go Jim,,,, forget about the Klingons!

 

I installed the GM but seem to have an issue where it comes to previewing movies with Quicklook... anyone else had this issue. I have my Flip and Perian installed right as well as DivX FFMpeg etc.... simply get the spinner every time

 

UPDATE

 

Regards the Quick View issue and other Quicktime apps crashing... this is where the immediate backup to dmg comes into play... I had one copy saved on Flash Drive. Booted into this Flash drive and found no issues with QUickview... so likely culprit were codecs migrated in from Sl. Simply booted back into the mail Lion Install... and copied and pasted The Quicktime codecs from the back up copy to the main install... Perfect! =)

 

Bummer though... iGlasses don't work on Lion yet nor does Loginox... (that said I kinda like the new login screen...) Hopeful that iGlasses will release a Lion Version

Link to comment
Share on other sites

Creat .dmg

burn to DVD

 

i used HackBoot Lion

HackBoot_Lion.zip

 

Hi MaLd0n,

I burned HackBoot_Lion on a cd-rw and dvd-rw,I have an error message.

 

Ebios read error:error 0*09

Block 0*1858 Sector 0 :(

 

Why ?

 

Can you tell me if it comes from me.

InstallESD.dmg burn on dvd.

 

Thanks

Link to comment
Share on other sites

you need to burn BaseSystem.dmg (hidden on root of installESD.dmg) not the isntallESD dmg.

 

to see hidden files:

defaults write com.apple.Finder AppleShowAllFiles TRUE
kill all Finder

to disable do same again but change to FALSE

Link to comment
Share on other sites

you need to burn BaseSystem.dmg (hidden on root of installESD.dmg) not the isntallESD dmg.

 

to see hidden files:

defaults write com.apple.Finder AppleShowAllFiles TRUE
 kill all Finder

to disable do same again but change to FALSE

 

 

 

Burning a Mac OS X Lion boot disc

Blogger and apparent Newton-lover “Egg Freckles” has posted on their blog the steps to create a bootable disc for Mac OS X Lion (when it becomes available) – below is a snippet from the blog post:

 

 

Purchase and download Lion from the Mac App Store on any Lion compatible Mac running Snow Leopard. <li>Right click on “Mac OS X Lion” installer and choose the option to “Show Package Contents.” <li>Inside the Contents folder that appears you will find a SharedSupport folder and inside the SharedSupport folder you will find the “InstallESD.dmg.” This is the Lion boot disc image we have all been waiting for. <li>Copy “InstallESD.dmg” to another folder like the Desktop. <li>Launch Disk Utility and click the burn button. <li>Select the copied “InstallESD.dmg” as the image to burn, insert a standard sized 4.7 GB DVD, and wait for your new Lion Boot Disc to come out toasty hot.

 

 

lionw.png

Link to comment
Share on other sites

So far all apps seem to work fine, although not many have the full screen functionality that seems to be a feature of lion. My VOIP app is the only one that doesn't seem to work at this stage. Office 2011 is fine, Premiere CS5 works, Logic seemed to work although I'll need to test all my 3rd party plugins with this. It will take a couple of days to verify but only 3 out 40 or so apps seems to have RIP status in Lion. I have lot more to check though but interesting start, I thought there would be less reverse compatibility and many more issues.

 

BTW - for reference, the Lion build is OS X Lion 10.7 (11A511) which everyone seems to be saying is the GM final version ...

Link to comment
Share on other sites

I have successfully loaded Lion Gold Master on my Dell Latitude E6400.

 

 

I created a Lion USB installer. The installer is a 8GB USB GUID partition that automatically gets named as Mac OS X Base system when it is restored from Base System.dmg on Lion Gold Master. Then I , copied fakesmc, ACPIPlatform..., IOPCI... in /S/L/E on the installer drive. I used Kext Wizard which also repair /S/L/E permissions on the installer.

 

 

 

 

Kext Wizard that allows you to load kexts to other drives and repair other drives (from the one you are booted into) is a great help.

 

 

 

 

As I was loading Lion on an MBR partition I replaced:

 

/Volumes/Mac\ OS\ X\ Base\ System/System/Installation/Packages/OSInstall.mpkg and

 

/Volumes/Mac\ OS\ X\ Base\ System/System/Library/PrivateFrameworks/Install.framework/Frameworks/OSInstall.framework/Versions/A/OSInstall

 

--on the installer drive with modified files (obtained by googling)

 

 

 

 

Then I booted into the USB installer using Chameleon-2.0-RC5-r1083.pkg loaded on my existing SL drive, with -v -f flags. Then O followed regular install process. Once install is through I booted into existing SL and copied fakesmc, ACPIPlatform..., IOPCI... in /S/L/E on the new Lion Drive with Kext Wizard and repaired /S/L/E permissions. I also copied com.apple.Boot.plist from my old SL into /E of the new Lion Drive and repaired permissions on /E as well. This last step is essential to avoid kernel panic or keyboard freeze at login time after loading Chameleon on the new Lion Drive.

 

 

 

 

After initial boot up, for whatever system that didnt work, I used my old SL kexts, such as IONetworkingFamily.kext, IO80211Family.kext, Intel82566MM.kext, VoodooHDA, VoodooSDHC, AppleACPIBatteryManager.kext

 

 

 

 

To enable native ntfs, I used iBlacky method of copying mount_ntfs to mount_ntfs.org and saving the follwing script to mount_ntfs:

 

#!/bin/sh

 

/sbin/mount_ntfs.orig -o rw "$@“

 

 

 

 

For this too I had to load the kext from SL.

 

 

 

 

I now have a fully working Lion Gold Master. As it doesnt have nvidia, I cannot enjoy all graphic applications, but it does better than my SL, as I able to open jpegs with Preview.app.

Link to comment
Share on other sites

EDIT: Wow I feel dumb, chameleon change install button was STARING ME IN THE FRIGGIN FACE. *facepalm*

 

this may be a bit of a n00b question, but I tried to follow this guide to get a working Lion GM USB stick. I got the base system installed to a thumb drive, but the Extra Lion and Chameleon installers won't let me install to the thumb drive.

 

Extra Lion DP4 says "Extra Lion DP4 cannot be installed on this disk. You can only install this software on the disk that is running Mac OS X"

 

Chameleon 2.0 RC5 doesn't let me choose a drive at all.

 

Is there something I am missing? I followed the guide to a T up until this point

Link to comment
Share on other sites

ho il problema con DSDT Auto patcher

non mi genera il dsdt da mettere in extra

come da guida

questo e l'errore

 

 

Line 3440 type Error message String must be entirely alphanumeric (smc-sms)]

[Line 5012 type Error message String must be entirely alphanumeric (smc-als)]

[Line 5987 type Error message Object does not exist (\_SB.PCI0.HDEF.PMES)]

[Line 5989 type Error message Object does not exist (\_SB.PCI0.HDEF.PMES)]

Link to comment
Share on other sites

Wow what a briliant guide

 

I have been trying to get Lion GM on my Hackintosh for nearly a week and was just about to start pulling my hair out, until I found this guide.

 

I have tried numerous other guides from different websites and none of them worked, but this one worked great

 

I have a few questions and observations, if these are answered I apologise

 

1) In the What you will need section you mention "Extra Lion" installer and Extra Lion DP4 and GM - where and when do i use the Extra Lion DP4 and GM.

 

2) In Post installation what is meant by Power Management and restart fix use Chameleon RC5

 

3) Which Boot.plist is the one that I need to edit, is the one in the /extra/extensions or where is it located

 

4) Do I need to use a DSDT , because when I do, I get a Kernal and CPU panic

 

5) I have Nvidia 9800 GX2 Dual card and the maximum resolution I can get is 1024 x 768 - any ideas

 

6) Safari keeps crashing, it starts to load the page but stops about half way and I have to force quit to close it

 

That's all for now, keep up the good work

 

regards

Raptor123

Link to comment
Share on other sites

Hi MaLd0n,

 

can you inspect my dsdt.aml and patch it for Lion.

I have USB issues (responds after 10 min after boot).

maybe you can help me?

i have a GA EP45-DS4 flashed with cartri bios.

 

http://www.sendspace.com/file/qstnq4

 

Thanks a lot

hugo

Here some problems: ep45-ds4 with cartri bios. I made a dvd bootable of Lion app ( based on GM 11A511) and... now i'm trying to create a custom bootcd. My problem is how to insert a dsdt in bottcdmaker. DsdtAutopatcher give me an error ( in fact i never had a dsdt on cartri bios). Hackboot give me a KP about ACPI, x64EmpireEfi or x64EmpireEfiLegacy bootcd don't works, they give me a loop-restart. So...someone have a dsdt based on ep45-ds4 F9 bios? I dont' want to leave my bios , it work very very fine on SL :P

Link to comment
Share on other sites

 Share

×
×
  • Create New...