- Joined
- Feb 9, 2010
- Messages
- 236
- Motherboard
- Asus G73SW
- CPU
- i7-2630QM
- Graphics
- GTX 460M
- Mac
- Classic Mac
- Mobile Phone
This is Version 2 of this guide, as I felt the 1st version wasn't getting a high enough success rate. I am hoping that this one is better. Many thanks and credit to all for your help with this, and as always, thank you to Tony for hosting this forum and making all of this possible!
Many of you may be long term followers of this thread: viewtopic.php?f=34&t=1877 where there has been a lot of success installing Snow Leopard on our Dell Inspiron 1720 Laptops. Now it's time to get going with Lion. This tutorial assumes that you want to install a fresh copy of Lion as opposed to upgrading.
What system is this intended for?
This guide is intended for users with Dell Inspiron 1720's and 1520's. I cannot promise that it will work for any other system, but by all means, give it a go. My Inspiron 1720 has the PM965 chipset, so you'll probably get best results if you have the same
You will need:
1. Your Inspiron running Snow Leopard 10.6.8 (or another Mac capable of downloading the Lion upgrade app from the App Store)
2. The purchased upgrade app from the app store
3. An 8GB key drive (not external USB HDD)
4. The files attached to this post.
5. Patience
6. Coffee
Recommendations and Disclaimers
1. In case your new installation does not boot and you need to make adjustments, I recommend you have a working Snow Leopard system on either your 2nd HDD (1720 users) or external USB HDD so that you can make changes to your new Lion install quickly and with less headaches.
2. PLEASE backup all your data, and remember that I am not responsible for loss of data, sleep or hair.
3. Please read the post in it's entirety before you begin and make note of things listed in the section 'If something goes wrong...'
4. You MUST check that you have your BIOS set to AHCI not ATA, and Execute Disable bit must be Enabled or you will get instant reboots.
Firstly, we will need to create our USB installer... This is, unfortunately, the longest part of the process because Apple have decided to release Lion via the App Store using this hashed up installer.
Instructions:
1. Navigate to the Lion Update app and Show Contents
2. Use app ShowAllFiles.app to show hidden files
3. Locate the InstallESD.dmg file in /Contents/SharedSupport and mount it
4. Open "Mac OS X Install ESD" and mount BaseSystem.dmg
5. Open Disk Utility and Format your USB key drive with 2 partitions, make the 1st 200MB and call it "Boot" and make the 2nd fill the rest of the space - make sure the partition type is GUID
5. Restore the mounted BaseSystem.dmg to the 2nd partition on your USB drive and rename it "Lion_USB"
6. Goto Lion_USB and locate the Packages alias in /System/Installation and delete it
7. Copy the packages folder in the root of "Mac OS X Install ESD" to same location as alias you just deleted on USB
8. Copy mach_kernel and kernelcache from "Mac OS X Install ESD" to root of Lion_USB
9. Unzip the LionGMInstall.zip and enter command into terminal making sure the destination is Lion_USB (see included instructions).
10. Unzip USB_Extra.zip folder and copy to root of Boot - please note that the DSDT is for an Inspiron 1720 with the Nvidia 8600M GT and T7500 CPU (replace with your own if necessary)
11. Run the Chameleon installer and install to Boot. If it says that you cannot install to Boot, you may need to close the installer and reopen.
12. Goto S/L/E on Lion_USB and delete AppleHDA.kext
13. Copy the 2 Kexts in "Modified IOPCI and AppleACPI for 10.6.8 and Lion.zip" to S/L/E on USB (you may need to delete the ones in there first)
14. Make a cache of S/L/E on Lion_USB and E/E on Boot by dragging each respective folder to Kext Utility.
15. Open Lion_USB, and copy the Extensions.mkext in /System/Library to System/Library/Caches/com.apple.kext.caches/Startup
16. Get info on Lion_USB and make sure that "Ignore ownership on this volume" is checked
17. Use ShowAllFiles app to hide hidden files
Now you're set to boot from USB! Insert the USB installer into the target Inspiron (if not the one you have used to create it) and reboot. At the BIOS screen tap F12 and select "USB Storage Device" from the list. You should see the Chameleon boot screen. Tap any key to stop the countdown, highlight Lion_USB then (optionally) type "arch=i386 -x -v" and press enter (use if you have problems booting). After a short while you should see the Lion Installer.
When you see the installer, open disk utility format your selected hard drive with 1 partition and call it "Lion". The name is important for the next step, but you can rename the drive after everything is completed. Make sure that the partition type is GUID. Exit Disk Utility and follow the installer's prompts to install Lion on your hard drive. Please note, that you can not customise the installation by clicking the 'Customise' button as you may have done in Snow Leopard (you will find that the list is blank). Just continue through until the installation is finished and automatically reboots - but leave your USB stick attached!
We now need to boot from the USB stick again and once again start the installer as we need the terminal to move some files around (if you have a working SL install, you may choose to skip the first terminal commands and read on). So boot back into the installer and open the Terminal.app. Enter the following commands:
If you have a bootable system on a second or external drive, add the 2 extensions from "Modified IOPCI and AppleACPI for 10.6.8 and Lion.zip" to S/L/E on your HDD and replace the existing ones and delete AppleHDA.kext.
In either case, now type this terminal command:
Enter your password if needed and wait for the process to complete. You are now ready to boot into your newly installed system. So close the terminal and reboot the system and press F12 at the BIOS one last time and boot from your USB stick. This time, select "Lion".
If all goes well, you should see the Setup Assistant. Run through the Setup Assistant remembering NOT to select your wifi network when asked (select other setup, then my mac does not connect to the internet) as it will send your system information to Apple. When you hit the desktop you have a couple more things to do:
Post Install Instructions
1. Copy the Extra folder from Lion_USB to Lion
2. Add the kexts from "Extensions for HDD.zip" to E/E on Lion
3. Edit your com.apple.Boot.plist file to include "GraphicsEnabler=Yes" and, if you want ethernet, "max_valid_dma_addr=1024" in the kernel flags.
4. Unzip "AppleHDA.kext from 10.6.2.zip" and add to S/L/E on Lion
5. If you want ethernet, unzip AppleBCM440XEthernet.kext.zip and add to S/L/E on Lion
6. Run the Chameleon installer selecting Lion
7. Make a cache of S/L/E and E/E on Lion by dragging each respective folder to Kext Utility.
8. In Lion, copy the Extensions.mkext in /System/Library to System/Library/Caches/com.apple.kext.caches/Startup
9. If you have the Nvidia card, open the terminal and type "sudo pmset -a hibernatemode 0" (this will set your sleep mode so sleep isn't broken).
10. Eject your USB stick and reboot…
Note: I have found that the first time you boot from your installed Lion system on your HDD you need to enter "arch=i386 -x -v" at the chameleon boot screen. You should only need to do this once, so don't enter it again after you have followed the post install instructions.
If something goes wrong...
1. Read the post again. Make sure you have not missed something.
2. Did you add the required files in S/L/E and use Kext util on E/E and S/L/E?
3. Did you remove Lion's AppleHDA/kext?
3. If you use the Broadcom Ethernet Kext, you MUST add "max_valid_dma_addr=1024" to your boot flags or you will find that your system will hang at boot time stating "Waiting for root device...".
4. If, after you have installed and you have replaced the extensions in S/L/E, you still have a Kernel Panic stating something like AppleACPI platform mismatch or unable to find driver for this platform, it's most commonly (in my experience) incorrect permissions in one of the extensions (probably AppleACPIPlatform.kext). If so, boot your working install or the installer on your USB stick, open a terminal and type "sudo diskutil repairpermissions /Volumes/Lion".
5. Did you check your BIOS Settings? See Recommendations and Disclaimers.
6. Please boot in verbose (enter -v at prompt) and post whatever the error is if you need further help
Any problems, please post and I will do my best to help.
Enjoy the big purry cat of goodness
EDIT: IMPORTANT: If you have the T9500 CPU, you may need to omit using the AppleACPI and IOPCIFamily from 10.6.7 - try booting with the Lion ones first.
EDIT: Added BIOS Settings to check.
EDIT: Attached IO80211Family.kext from 10.6.7, try this if your Wifi doesn't work and it's one from a Mac or same broadcom chipset.
Many of you may be long term followers of this thread: viewtopic.php?f=34&t=1877 where there has been a lot of success installing Snow Leopard on our Dell Inspiron 1720 Laptops. Now it's time to get going with Lion. This tutorial assumes that you want to install a fresh copy of Lion as opposed to upgrading.
What system is this intended for?
This guide is intended for users with Dell Inspiron 1720's and 1520's. I cannot promise that it will work for any other system, but by all means, give it a go. My Inspiron 1720 has the PM965 chipset, so you'll probably get best results if you have the same
You will need:
1. Your Inspiron running Snow Leopard 10.6.8 (or another Mac capable of downloading the Lion upgrade app from the App Store)
2. The purchased upgrade app from the app store
3. An 8GB key drive (not external USB HDD)
4. The files attached to this post.
5. Patience
6. Coffee
Recommendations and Disclaimers
1. In case your new installation does not boot and you need to make adjustments, I recommend you have a working Snow Leopard system on either your 2nd HDD (1720 users) or external USB HDD so that you can make changes to your new Lion install quickly and with less headaches.
2. PLEASE backup all your data, and remember that I am not responsible for loss of data, sleep or hair.
3. Please read the post in it's entirety before you begin and make note of things listed in the section 'If something goes wrong...'
4. You MUST check that you have your BIOS set to AHCI not ATA, and Execute Disable bit must be Enabled or you will get instant reboots.
Firstly, we will need to create our USB installer... This is, unfortunately, the longest part of the process because Apple have decided to release Lion via the App Store using this hashed up installer.
Instructions:
1. Navigate to the Lion Update app and Show Contents
2. Use app ShowAllFiles.app to show hidden files
3. Locate the InstallESD.dmg file in /Contents/SharedSupport and mount it
4. Open "Mac OS X Install ESD" and mount BaseSystem.dmg
5. Open Disk Utility and Format your USB key drive with 2 partitions, make the 1st 200MB and call it "Boot" and make the 2nd fill the rest of the space - make sure the partition type is GUID
5. Restore the mounted BaseSystem.dmg to the 2nd partition on your USB drive and rename it "Lion_USB"
6. Goto Lion_USB and locate the Packages alias in /System/Installation and delete it
7. Copy the packages folder in the root of "Mac OS X Install ESD" to same location as alias you just deleted on USB
8. Copy mach_kernel and kernelcache from "Mac OS X Install ESD" to root of Lion_USB
9. Unzip the LionGMInstall.zip and enter command into terminal making sure the destination is Lion_USB (see included instructions).
10. Unzip USB_Extra.zip folder and copy to root of Boot - please note that the DSDT is for an Inspiron 1720 with the Nvidia 8600M GT and T7500 CPU (replace with your own if necessary)
11. Run the Chameleon installer and install to Boot. If it says that you cannot install to Boot, you may need to close the installer and reopen.
12. Goto S/L/E on Lion_USB and delete AppleHDA.kext
13. Copy the 2 Kexts in "Modified IOPCI and AppleACPI for 10.6.8 and Lion.zip" to S/L/E on USB (you may need to delete the ones in there first)
14. Make a cache of S/L/E on Lion_USB and E/E on Boot by dragging each respective folder to Kext Utility.
15. Open Lion_USB, and copy the Extensions.mkext in /System/Library to System/Library/Caches/com.apple.kext.caches/Startup
16. Get info on Lion_USB and make sure that "Ignore ownership on this volume" is checked
17. Use ShowAllFiles app to hide hidden files
Now you're set to boot from USB! Insert the USB installer into the target Inspiron (if not the one you have used to create it) and reboot. At the BIOS screen tap F12 and select "USB Storage Device" from the list. You should see the Chameleon boot screen. Tap any key to stop the countdown, highlight Lion_USB then (optionally) type "arch=i386 -x -v" and press enter (use if you have problems booting). After a short while you should see the Lion Installer.
When you see the installer, open disk utility format your selected hard drive with 1 partition and call it "Lion". The name is important for the next step, but you can rename the drive after everything is completed. Make sure that the partition type is GUID. Exit Disk Utility and follow the installer's prompts to install Lion on your hard drive. Please note, that you can not customise the installation by clicking the 'Customise' button as you may have done in Snow Leopard (you will find that the list is blank). Just continue through until the installation is finished and automatically reboots - but leave your USB stick attached!
We now need to boot from the USB stick again and once again start the installer as we need the terminal to move some files around (if you have a working SL install, you may choose to skip the first terminal commands and read on). So boot back into the installer and open the Terminal.app. Enter the following commands:
Code:
rm -r /Volumes/Lion/System/Library/Extensions/AppleACPIPlatform.kext/
rm -r /Volumes/Lion/System/Library/Extensions/IOPCIFamily.kext/
rm -r /Volumes/Lion/System/Library/Extensions/AppleHDA.kext/
cp -R /Volumes/Lion_USB/System/Library/Extensions/AppleACPIPlatform.kext /Volumes/Lion/System/Library/Extensions
cp -R /Volumes/Lion_USB/System/Library/Extensions/IOPCIFamily.kext /Volumes/Lion/System/Library/Extensions
If you have a bootable system on a second or external drive, add the 2 extensions from "Modified IOPCI and AppleACPI for 10.6.8 and Lion.zip" to S/L/E on your HDD and replace the existing ones and delete AppleHDA.kext.
In either case, now type this terminal command:
Code:
sudo diskutil repairpermissions /Volumes/Lion
If all goes well, you should see the Setup Assistant. Run through the Setup Assistant remembering NOT to select your wifi network when asked (select other setup, then my mac does not connect to the internet) as it will send your system information to Apple. When you hit the desktop you have a couple more things to do:
Post Install Instructions
1. Copy the Extra folder from Lion_USB to Lion
2. Add the kexts from "Extensions for HDD.zip" to E/E on Lion
3. Edit your com.apple.Boot.plist file to include "GraphicsEnabler=Yes" and, if you want ethernet, "max_valid_dma_addr=1024" in the kernel flags.
4. Unzip "AppleHDA.kext from 10.6.2.zip" and add to S/L/E on Lion
5. If you want ethernet, unzip AppleBCM440XEthernet.kext.zip and add to S/L/E on Lion
6. Run the Chameleon installer selecting Lion
7. Make a cache of S/L/E and E/E on Lion by dragging each respective folder to Kext Utility.
8. In Lion, copy the Extensions.mkext in /System/Library to System/Library/Caches/com.apple.kext.caches/Startup
9. If you have the Nvidia card, open the terminal and type "sudo pmset -a hibernatemode 0" (this will set your sleep mode so sleep isn't broken).
10. Eject your USB stick and reboot…
Note: I have found that the first time you boot from your installed Lion system on your HDD you need to enter "arch=i386 -x -v" at the chameleon boot screen. You should only need to do this once, so don't enter it again after you have followed the post install instructions.
If something goes wrong...
1. Read the post again. Make sure you have not missed something.
2. Did you add the required files in S/L/E and use Kext util on E/E and S/L/E?
3. Did you remove Lion's AppleHDA/kext?
3. If you use the Broadcom Ethernet Kext, you MUST add "max_valid_dma_addr=1024" to your boot flags or you will find that your system will hang at boot time stating "Waiting for root device...".
4. If, after you have installed and you have replaced the extensions in S/L/E, you still have a Kernel Panic stating something like AppleACPI platform mismatch or unable to find driver for this platform, it's most commonly (in my experience) incorrect permissions in one of the extensions (probably AppleACPIPlatform.kext). If so, boot your working install or the installer on your USB stick, open a terminal and type "sudo diskutil repairpermissions /Volumes/Lion".
5. Did you check your BIOS Settings? See Recommendations and Disclaimers.
6. Please boot in verbose (enter -v at prompt) and post whatever the error is if you need further help
Any problems, please post and I will do my best to help.
Enjoy the big purry cat of goodness
EDIT: IMPORTANT: If you have the T9500 CPU, you may need to omit using the AppleACPI and IOPCIFamily from 10.6.7 - try booting with the Lion ones first.
EDIT: Added BIOS Settings to check.
EDIT: Attached IO80211Family.kext from 10.6.7, try this if your Wifi doesn't work and it's one from a Mac or same broadcom chipset.