Jump to content
iHackintosh_PT

How to make a bootable Lion DVD

Recommended Posts

To download the resulting ISO, access chat (channel topic).


How to use the DVD http://Olarila.com/forum/viewtopic.php?f=17&t=740#p7322



How to build the ISO from App Store Lion:


1 - Create a new DMG image using Disk Utility


2 - Mount InstallESD.dmg in the folder Contents/SharedSupport of Install Mac OS X Lion.app


3 - Mount BaseSystem.dmg (hidden) in Mac OS X Install ESD

open /Volumes/Mac\ OS\ X\ Install\ ESD/BaseSystem.dmg

 

4 - Use Disk Utility to restore the partition Mac OS X Base System to the image created in step 1


5 - Remove the link Packages from folder System/Installation in the image

rm /Volumes/Mac\ OS\ X\ Base\ System\ 1/System/Installation/Packages

 

6 - Copy the folder Packages from Mac OS X Install ESD to the folder System/Installation in the image

cp -R /Volumes/Mac\ OS\ X\ Install\ ESD/Packages /Volumes/Mac\ OS\ X\ Base\ System\ 1/System/Installation

 

7 - Copy the hidden file mach_kernel from Mac OS X Install ESD to the root of the image

cp /Volumes/Mac\ OS\ X\ Install\ ESD/mach_kernel /Volumes/Mac\ OS\ X\ Base\ System\ 1

 

8 - Optional: MBR patch, Platform check remove, and 2 GB of RAM requirement http://Olarila.com/forum/viewtopic.php?f=10&t=426

sudo tar xjvf ~/Downloads/Lion_OSInstall_GM.tar.bz2 -C /Volumes/Mac\ OS\ X\ Base\ System\ 1

Lion_OSInstall_GM.tar.bz2 [727.59 KiB]


9 - Optional: Build an mkext for the Base System kexts http://Olarila.com/forum/viewtopic.php?f=10&t=456

sudo kextcache -v 1 -a i386 -a x86_64 -m /Volumes/Mac\ OS\ X\ Base\ System\ 1/System/Library/Caches/com.apple.kext.caches/Startup/Extensions.mkext /Volumes/Mac\ OS\ X\ Base\ System\ 1/System/Library/Extensions

 

10 - Copy the cdboot file from the Chameleon binaries package to usr/standalone/i386 in the DVD image http://Olarila.com/forum/viewtopic.php?f=9&t=70


11 - Build an Extensions.mkext with the basic kexts

FakeSMC.kext

AppleACPIPS2Nub.kext

VoodooPS2Controller.kext

VoodooPS2Keyboard.kext

VoodooPS2Mouse.kext

VoodooPS2Trackpad.kext

NullCPUPowerManagement.kext

sudo kextcache -v 1 -a i386 -a x86_64 -m ~/Desktop/Extensions.mkext ~/Desktop/Extensions

Extensions.mkext.zip [176.5 KiB]


12 - Build an Extra folder with:

Extra/Extensions.mkext

Extra/org.chameleon.Boot.plist

Extra/smbios.plist (optional)

 

13 - Build a Preboot.dmg containing the Extra folder from the previous step

sudo hdiutil create -srcfolder "Desktop/Preboot/" -layout GPTSPUD -fs HFS+ -format UDRW -volname Preboot "Desktop/Preboot.dmg"

Preboot.dmg.zip [181.32 KiB]


14 - Build an Extra folder in the DVD image with:

Extra/Preboot.dmg

Extra/Themes (optional)

 

15 - Build the bootable ISO

sudo hdiutil makehybrid -o "Desktop/Mac OS X 10.7 Install DVD.iso" "/Volumes/Mac OS X Base System 1/" -iso -hfs -joliet -eltorito-boot "/Volumes/Mac OS X Base System 1/usr/standalone/i386/cdboot" -no-emul-boot -hfs-volume-name "Mac OS X Install DVD" -joliet-volume-name "Mac OS X Install DVD"

Asus P7H55M PRO Core i7 2.81 GHz RAM 8 GB 1333 MHz DDR3 AMD 6990 Dual GPU 4 GB DDR5 OS X 10.10.3 Toshiba TV 42* 1920x1080 Samsung SyncMaster 22* 1920x1080 Apple Cinema Display 20ª

Link to comment
Share on other sites

How to use the DVD


1 - Boot the DVD and install.


If you need, press F8 for advanced Chameleon options, for example:

-v (verbose boot)

-x (safe)

-s (single user)

GraphicsEnabler=yes (enable graphics card drivers)

USBBusFix=yes (fix problems with USB devices)

npci=0x2000 (use if boot stops at "PCI configuration begin")


If boot hangs at "PCI configuration begin" even if you type flag npci=0x2000 http://Olarila.com/forum/viewtopic.php?f=17&p=14540#p14520


You need at least one free partition, use Disk Utility (in the Utilities menu) to erase it as Mac Os Extended (Journaled).


If you want to install Chameleon (the boot loader) in this partition and you use MBR (not GUID, like if you already have Windows in the HD), it must be a primary (not extended/logical) partition.


Wait for the installation to finish and restart. If the progress bar stops being updated, just move the mouse. Depending on the video card, using GraphicsEnabler=yes can fix this.


2 - Boot the DVD, press F8 and select to boot the HD (not the install DVD again).


If you use a PS/2 keyboard or a laptop (which usually have PS/2 interface) the Setup Assistant will ask you to connect an USB keyboard, just plug one to pass this check, then you can unplug it and keep using the PS/2 one. If you don't have an USB keyboard around you can edit /System/Library/CoreServices/Setup Assistant.app/Contents/Info.plist and remove the lines

<string>DeviceSection</string>
<string>KeyboardTypeSection</string>

Boot using -s (single user) and run

mount -uw /
vi /System/Library/CoreServices/Setup\ Assistant.app/Contents/Info.plist

Position the cursor on the line to be removed and

. Repeat for the other line.
and reboot.


3 - Install Chameleon and the Extra folder to the HD.


I recommend using Chameleon Wizard to install and create/configure org.chameleon.Boot.plist and SMBIOS.plist in /Extra folder.

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


You can also download an installer or binaries package http://Olarila.com/forum/viewtopic.php?f=9&t=70


4 - Install essential and other kexts you may need (network, audio, etc).


FakeSMC.kext is always needed.

http://www.mediafire.com/?yjto53r0p94422y


While you don't fix power management you will probably need NullCPUPowerManagement.kext.

http://www.mediafire.com/?uwvnvztwtna


If you use PS/2 keyboard or a laptop you will need VoodooPS2Controller.kext (or ApplePS2Controller.kext) and AppleACPIPS2Nub.kext.

http://www.mediafire.com/?jw9zk6i2d4m2vvd


I recommend using Kext Wizard to install kexts.

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


Since Lion uses kernelcache instead of Extensions.mkext, I recommend to enable UseKernelCache in Chameleon and install all kexts to /System/Library/Extensions. When kernelcache is used, Extensions folder and mkext in /Extra are ignored. If you don't enable UseKernelCache, Chameleon will read all kexts every boot (like when you use the ignore caches flag, -f), which makes the boot slower.


I recommend reading this topic if you want to "fine tune" your hackintosh, enable power management, have working sleep, etc.

http://Olarila.com/forum/viewtopic.php?f=19&t=634

-Donations-

PayPal HERE - Stripe HERE - BuyMeaCoffee HERE - Mercado Livre HERE

Skrill danielnmaldonado@gmail.com - BTC 33HeGCuCSh4tUBqdYkQqKpSDa1E7WeAJQ3

PicPay @danielnmaldonado - PiX @danielnmaldonado@gmail.com

Premium Users HERE - Problems with Paypal HERE

xcd5u2Y.png

Link to comment
Share on other sites

Hello,

i'm trying ro install it on DELL xps l501x.

Do i need snow leopard installed before it?

i already have a windows 7 partition, can i install after it or do i have to install lion first.

sorry for such basic questions, i'm new to the hackintosh.


Thanks.

Link to comment
Share on other sites

Do i need snow leopard installed before it?

To make the bootable iso from the original dmg as described in post #1, yes. If you got the iso ready-made, no.

 

i already have a windows 7 partition, can i install after it or do i have to install lion first.

You can, but there are some restrictions, it's explained in the first step of post #2.

-Donations-

PayPal HERE - Stripe HERE - BuyMeaCoffee HERE - Mercado Livre HERE

Skrill danielnmaldonado@gmail.com - BTC 33HeGCuCSh4tUBqdYkQqKpSDa1E7WeAJQ3

PicPay @danielnmaldonado - PiX @danielnmaldonado@gmail.com

Premium Users HERE - Problems with Paypal HERE

xcd5u2Y.png

Link to comment
Share on other sites

Hello,

so i tried booting lion and after pressing F8 and -v, i got stuck in:


Mac Framework succesfully initialized

using 16384 buffer headers and 10240 cluster IO buffer headers

ioapic version 0x20 vectors 64:87

ACPI system state [s0 S3 S4 S5] (S3)

PFM640xf10000000, 0xf0000000

[PCI configuration begin]



What should i do ?.

My system specs are: core i7-740m, 6 gb ram, 2gb nvidia gt435, 1080p screen.

Link to comment
Share on other sites

Hello,


Thanks for the tip i was able to install, but after installation i tried to copy some kext to lion partion from windows i couldn't and when i boot to lion using install dvd it freeze on a white screen.

Any help.


Thanks.


I'm still stuck at [pci configuration begin] and with the flags -v -x npci=0x2000, nothing happen.

Link to comment
Share on other sites

Maybe you damaged some files trying to copy the kexts from Windows.


If the installer works, the installed system should work.


Try GraphicsEnabler=yes

-Donations-

PayPal HERE - Stripe HERE - BuyMeaCoffee HERE - Mercado Livre HERE

Skrill danielnmaldonado@gmail.com - BTC 33HeGCuCSh4tUBqdYkQqKpSDa1E7WeAJQ3

PicPay @danielnmaldonado - PiX @danielnmaldonado@gmail.com

Premium Users HERE - Problems with Paypal HERE

xcd5u2Y.png

Link to comment
Share on other sites

Hello,

Sorry i wasn't clear in my last post, after the instalation i was trying to copy dsdt.aml and some kexts from the windows partition but i can't access the lion partition from windows, i used macdrive but still the same problem.

The lion partition doesn't even show in windows, i can see it in disk management console but can't assign a drive letter to it.


Is there a way i could pass the dsdt.aml and kexts to lion, should i burn a new bootable dvd with them inside ?


Thanks.

Link to comment
Share on other sites

You should be able to boot the installed system using the install DVD (see post #2) and do all config from Lion. If you can't then maybe this DVD doesn't work for your hardware, try another install method.

-Donations-

PayPal HERE - Stripe HERE - BuyMeaCoffee HERE - Mercado Livre HERE

Skrill danielnmaldonado@gmail.com - BTC 33HeGCuCSh4tUBqdYkQqKpSDa1E7WeAJQ3

PicPay @danielnmaldonado - PiX @danielnmaldonado@gmail.com

Premium Users HERE - Problems with Paypal HERE

xcd5u2Y.png

Link to comment
Share on other sites

Hello zico,


If you do not want to try an alternate Install method,


just google: TPB

once there search for "MacDrive_v._8.0.5.31_Full___Keygen_by_CORE". It's a Windows program.


Be sure to read all comments on both pages, just in case, if the instructions for the download aren't completely understandable.


It's real easy, BTW.


Once installed, Macdrive WILL display you Mac Partition from your Windows Environment, and give you read/write access to your Mac Volume, just like it was another drive.


Please, post, if you decide to go this route, so that others in a similar situation, such as yours, benefit from this.

Link to comment
Share on other sites

Great work! But in my case... I downloaded the image, burn it and after boot i go only to


[PCI configuration begin]


I try everything -v npci=0x2000 , USBBusFix... and so, but not any change noticeable - every time halts on this PCI configuration...


Please help, my machine is Sony VPCEB4J1E

-Intel P6200

-Ati 5470, 512mb

-4GB RAM 1333


Thank you in advance! Greetings from Bulgaria!

Link to comment
Share on other sites

hello


try to boot


always until solve ati 5470


-v GraphicsEnabler=No


and the other parameters u have try


but GraphicsEnabler=No


http://Olarila.com/forum/viewtopic.php?f=18&t=736


good hack

PB Easy Note TM 86 - i5 430 M - H55M - Ram - 6 GB - Alc272 - Radeon HD 5470 512 QE/CI

Lenovo G500 - i5 3230m - HM77 - Ram - 8 GB - Conexant audio - HD 4000

My OS X Files 

Link to comment
Share on other sites

hello,

i have lion installed 10.7.2, sound, nvidia card working but no sleep and the webcam isn't working (it's recognized in system profile but not working in photoboot and facetime).

every time i close the and open it i hit the power button to wake up but it reboot.

every time i hit sleep and hit the power button to wake up it reboot.


can someone help ?

Link to comment
Share on other sites

hello


try to boot


always until solve ati 5470


-v GraphicsEnabler=No


and the other parameters u have try


but GraphicsEnabler=No


http://Olarila.com/forum/viewtopic.php?f=18&t=736


good hack

 

Thank you for your answer! Unfortunately i can't pass the [PCI configuration begin] also with GraphicsEnabler=No. :(((


Any other ides?


Maybe the problem is my CPU - P6200. I don't know what to do :(

Link to comment
Share on other sites

The boot argument that usually fixes this problem is

npci=0x2000 (use if boot stops at "PCI configuration begin")

If it doesn't work for you, I guess you'll have to try another installation method, using IOPCIFamily and AppleACPIPlatform from 10.6.7.

-Donations-

PayPal HERE - Stripe HERE - BuyMeaCoffee HERE - Mercado Livre HERE

Skrill danielnmaldonado@gmail.com - BTC 33HeGCuCSh4tUBqdYkQqKpSDa1E7WeAJQ3

PicPay @danielnmaldonado - PiX @danielnmaldonado@gmail.com

Premium Users HERE - Problems with Paypal HERE

xcd5u2Y.png

Link to comment
Share on other sites

If you followed all steps precisely it should work with copy/paste.


Run "mount" in terminal and paste the output here.


You can download this image ready to use, Google "Mac OS X 10.7 Lion bootable DVD for Intel PCs".

-Donations-

PayPal HERE - Stripe HERE - BuyMeaCoffee HERE - Mercado Livre HERE

Skrill danielnmaldonado@gmail.com - BTC 33HeGCuCSh4tUBqdYkQqKpSDa1E7WeAJQ3

PicPay @danielnmaldonado - PiX @danielnmaldonado@gmail.com

Premium Users HERE - Problems with Paypal HERE

xcd5u2Y.png

Link to comment
Share on other sites

I've tried install using your ready made DVD, it works like a charm except for Audio and Wifi.


Sometimes, it crash and says "You need to restart, please press bla blaa.." I've installed those essentials kexts.


I'm tired of inserting cpus=1 GraphicsEnabler=yes USBBusFix=yes

Any other ways to make it auto?


My system are Compaq Presario CQ42-189TX

Intel Core i3-330m 2.13 Ghz

ATI Mobility Radeon HD5430 512MB

320GB Disk and 4GB of Ram


Please help

Link to comment
Share on other sites

You may need lapic kernel to be able to boot without cpus=1

http://www.osx86.net/view/1945-os_x_lion_kernel_lapic_native.html

-Donations-

PayPal HERE - Stripe HERE - BuyMeaCoffee HERE - Mercado Livre HERE

Skrill danielnmaldonado@gmail.com - BTC 33HeGCuCSh4tUBqdYkQqKpSDa1E7WeAJQ3

PicPay @danielnmaldonado - PiX @danielnmaldonado@gmail.com

Premium Users HERE - Problems with Paypal HERE

xcd5u2Y.png

Link to comment
Share on other sites

hello i hope someone can help


ive downloaded the fixed dvd and installed it.


then it restarts and asks for keyboard options location and personal info etc to be put in, it then it asks to create an account.


i create an account and the system says down bottom creating account but it flashes back to the start where it asks for keyboard options etc again.......ive been going round in circles for hours now


ive read thread from start to finish but noone seems to have had this prob


help please


thanks

Link to comment
Share on other sites

Try this solution used in other versions of Mac OS: boot with -s (single user mode) and run

mount -uw /
touch /var/db/.AppleSetupDone
reboot

 

I've never seen this problem in Lion, you should consider a new installation erasing the partition.

-Donations-

PayPal HERE - Stripe HERE - BuyMeaCoffee HERE - Mercado Livre HERE

Skrill danielnmaldonado@gmail.com - BTC 33HeGCuCSh4tUBqdYkQqKpSDa1E7WeAJQ3

PicPay @danielnmaldonado - PiX @danielnmaldonado@gmail.com

Premium Users HERE - Problems with Paypal HERE

xcd5u2Y.png

Link to comment
Share on other sites

Give more details about the error, or post a screenshot.


Did you follow instructions in post 2?

-Donations-

PayPal HERE - Stripe HERE - BuyMeaCoffee HERE - Mercado Livre HERE

Skrill danielnmaldonado@gmail.com - BTC 33HeGCuCSh4tUBqdYkQqKpSDa1E7WeAJQ3

PicPay @danielnmaldonado - PiX @danielnmaldonado@gmail.com

Premium Users HERE - Problems with Paypal HERE

xcd5u2Y.png

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.





×
  • Create New...