STUFF YOU NEED!
-A Mac/hackint0sh running Mac OS X 10.6.8
-$30 for Mac OS X Lion
-A 8GB USB Drive
-Chimera 1.4.1 (downloadable from tonymacx86's site)
Download Mac OS X Lion from the Mac App Store. Self explanatory.
Quit out of the Mac OS X Lion Installer, and right click on the "Install Mac OS X Lion.app", and select "Show Package Contents" on the menu.
Go into the folder "Contents". From here, go into SharedSupport, and mount InstallESD.dmg.
Next, you'll need to restore the installer image to the USB. Make sure the USB drive is formatted to Mac OS Extended. To do this, you'll need to open up Disk Utility, go to the restore tab, select your flash drive as the Destination, and InstallESD.dmg as your source. There is a modified OSInstall.mpkg floating around the Internet if you need to install it on a MBR HDD. Also, stick the Chimera installer on the USB. This will come in handy later, trust me. You can put it wherever you like, I put it on / for ease of use.
Now we need to make the USB bootable. Open up the Chimera installer, and install Chimera on the USB (be EXTRA careful not to install it to your HD if you have a Mac... Chimera WILL render a real Mac UNBOOTABLE!).
Install FakeSMC.kext. If you have a hackint0sh, you can simply use the one inside your /Extra or /System/Library/Extensions. To install it, put FakeSMC inside /System/Library/Extensions, and run the following-
cd *S/L/E OF INSTALLER USB* sudo -s chown FakeSMC 0:0 chmod FakeSMC 755
Good! Now you have the stuff you need to make your USB bootable!
This is the easiest bit. All you have to do is boot from your USB (go into your BIOS, and set the boot priority to USB first, also make sure Legacy USB is enabled!), and follow the Installation Wizard. I recommend booting with the following flags-
-v GraphicsEnabler=Yes npci=0x2000
From there, just install Mac OS X Lion! We're not done yet though, sadly.
(Step Eight) IF YOU HAVE AN EXISTING INSTALLATION OF SNOW LEOPARD ON THE HD OF THE COMPUTER YOU'RE INSTALLING LION ON
All you need to do is do Step Six again, except instead of the S/L/E of the Installer USB, you use the HD you just installed Lion on. From there, your system should be bootable, and follow the setup assistant!
(Step Eight) IF YOU DON'T HAVE AN EXISTING INSTALLATION OF SNOW LEOPARD ON THE HD OF THE COMPUTER YOU'RE INSTALLING LION ON
This is a bit tricky, and requires messing around with the Terminal/command line. Boot up using the Installer USB, select "Utilities" from the menu, and open up Terminal. Mount your Lion HD, and run the following-
cd /System/Library/Extensions cp FakeSMC.kext *PATH TO S/L/E OF YOUR LION HD* cd *PATH TO S/L/E OF YOUR LION HD* chown 0:0 FakeSMC.kext chmod 755 FakeSMC.kext
Reboot, and keep using the USB drive to boot. But this time, select the HD that Lion is on, and boot with the flag -f (you may add other flags too). You should be at the Setup Assistant if everything went correctly! Setup your hackint0sh, and get to the desktop.
Now, run the Chimera installler package (see, I told you it would come in handy!), and install it to the HD that you have Lion on. Voila, you have a bootable Lion!
For hardware issues, google is your best friend. However, I'll list some big ones-
PS/2 Trackpad/Keyboard- Use the VoodooPS2 from Multibeast 3.8.
Graphics Cards- Use the boot flag "GraphicsEnabler=Yes".
If you get stuck at [PCI Configuration Begin] at boot...- Use the boot flag "npci=0x2000".
Hopefully, I helped some people. I wish you good luck on hackint0shing, and above all- have fun!