Jump to content
MaLd0n

Lion installation via USB stick using Chameleon

Recommended Posts

  • Administrators

What you will need


1- Working Mac OS X (may be another PC or Mac)


2- USB drive (USB stick)


3- "Extra Lion" installer DP4, GM and FINAL

Extra Lion DP4.pkg.zip

 

4- Lion DMG


5- Chameleon

http://Olarila.com/forum/viewtopic.php?f=9&t=70


6- DSDT Auto-Patcher

http://Olarila.com/forum/viewtopic.php?f=16&t=131


Procedures


Open Disk Utility, select the USB drive partition and click on the Erase tab. Select Mac Os Extended (Journaled) and click on the Erase button.

 

01.png.59be1b679e5dc9f394f1f0fc97351371.png

 

Mount InstallESD.dmg

*InstallESD.dmg in Lion GM is inside "Install Mac OS X Lion.app/Contents/SharedSupport".


Open Terminal and run the command:

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

Now click on the Restore tab, drag Mac OS X Base System to Source and the USB drive partition to Destination, then click on the Restore button. This operation takes several minutes.

The partition will have its name changed automatically to Mac OS X Base System after the restoration.

 

02.png.a330ed98a55c4bc5401f07e48694a192.png

 

After the restoration, open the USB drive, navigate to System/Installation and delete the Packages link.


Copy the folder Packages from Mac OS X Install ESD to the folder System/Installation on the USB drive.


Run the installers "Extra Lion*" and "Chameleon". Remember to click on Change Install Location... and select the USB drive as destination, or they will be installed on the running system.

*Important: for versions 2.0 GM and 2.1 of Chameleon, the file com.apple.Boot.plist must be renamed to org.chameleon.Boot.plist


With the installer USB ready, boot it and install Lion to an HD partition.


*If you have problems in installation with the message "Mac OS X can't be installed on this computer", replace the file "OSInstall" in the folder System/Installation/Packages by this...

OSInstall.zip

After the installation, boot the USB drive again, but in Chameleon menu choose to boot the HD.


The system is running, but it doesn't boot without the USB stick, then we have to install the bootloader (Chameleon), the essential kexts and the DSDT


Post installation


1- Install Chameleon (into Lion partition)


2- Copy the Extra folder to the HD

Important: for versions 2.0 GM and 2.1 of Chameleon, the file com.apple.Boot.plist must be renamed to org.chameleon.Boot.plist


iMac9,1 / Core2Duo

Extra iMac9,1.zip

iMac11,1 / Core i 1156

Extra iMac11,1.zip

iMac12,1 / Core i 1155

Extra iMac12,1.zip

MacPro3,1 / Core2Quad 775

Extra MacPro3,1.zip

MacPro4,1 / Core i 1366

Extra MacPro4,1.zip

MacBook4,1 / Core2Duo Mobile

Extra MacBook4,1.zip

MacBookPro6,1 / Core i Mobile

Extra MacBookPro6,1.zip

MacBookPro8,1 / Sandy Bridge Mobile

Extra MacBookPro8,1.zip

03.png.614574dfc0fdee5984210afb157d5303.png

 

3- Run DSDT Auto-Patcher and copy the DSDT generated in the desktop to the Extra folder


Power Management and restart fix use Chameleon


Add in boot.plist

<key>GeneratePStates</key>
<string>Yes</string>
<key>GenerateCStates</key>
<string>Yes</string>

 

Downloads


IOAHCIBlockStorageInjector

IOAHCIBlockStorageInjector.kext.zip

LegacyAHCI

AHCIPortInjector.kext.zip

NullCPUPowerManagement

NullCPUPowerManagement.kext.zip

04.png.a66a9354467421c46f91cbcd4a8fb59f.png

 

05.png.e20390de01d8c961ef772246ba06ea3b.png

 

06.png.b2c96fc104357e1b1f4965f50ebc1e10.png

 

07.png.780583d226137cf5665b0226a9094be9.png

 

Thanks and Credits to rooftopz, oldnapalm, RoggerioSarah, Jiban and to all people in the community who developed the original Patches and Kexts.

Support Olarila Vanilla Hackintosh by making a donation HERE

About Premium Users you can check HERE

Problems with Paypal HERE

Link to comment
Share on other sites

:mrgreen:

Dell Optiplex 790 - iMac12,1 - High Sierra 10.13.6 - Ok

Intel¬ģ Core i5-2400 CPU @ 3.10GHZ - Ok

Intel HD Graphics 2000 - Vesa Driver / Replace Zotac 8400GS 256MB - Clover + NvidiaInject - OK

DDR3 4.0GB 1333Mhz - Ok

Realtek ALC269 - AppleALC.kext - Ok

Broadcom BCM43224 - AirportBrcmFixup.kext - Ok

Intel 82579LM Gigabit Ethernet - IntelMausiEthernet.kext - Ok

HDD Hitachi 500GB - Ok

Link to comment
Share on other sites

Firstly, Hi to all!


Great tutorial MaLdOn!


This is the first Chameleon-baded Lion installer I found in Internet. Many I found are based on iBoot / XPC and needs 2 USB Pen to work (This ony needs one!!). Thanks!


I followed step by step this tutorial, then I had to stop on 'Lion can't be installed in this computer' message, so I used the patched OSInstall.mpkg as you recommend. All worked ok. Installation continued...


Now I have a new problem. I share a 1Tb 2nd HDD with MBR structure :( so Lion can't be installed. This HDD is partitioned by 3 parts: one first part for Snowleo (HFS+ jour.), Second NTFS part for 'shared' data Win/Snowleo, Third SWAP LINUX part for Ubuntu (Win7 & Ubuntu installed in other HDD).


I know I can backup the whole HDD, convert MBR->GTP and restore but my NTFS part is almost full and making a backup is an slow procedure... if only I can avoid this step....


Now my question: is it possible to patch Lion installer in a way I can install in a MBR-based HDD? Or Can I Install a basic Lion in a 8 Gb Pen USB with GTP structure and then backup + restore HFS Lion part. to the MBR HDD?


Many thanks again!!

Gibabyte H61M-D2-B3 F10 -- Core i3-2100 3.09 GHz -- Nvidia GeForce GT210 -- 16 Gb RAM KINGSTON DDR3 --

iMac 12,1 SMBIOS -- FRESCO FL1100 USB3.0

Link to comment
Share on other sites

  • Administrators

Hi Borriel_69b,


I also use MBR and did as you mentioned in your first post, installed to a GPT partitioned USB stick then restored it to an HD partition using DU, it works fine.


I didn't test the modded OSInstall.mpkg and OSInstall framework, but maybe it works. I used that method in Snow Leopard and it worked. Just replace /System/Installation/Packages/OSInstall.mpkg and /System/Library/PrivateFrameworks/Install.framework/Frameworks/OSInstall.framework/Versions/A/OSInstall by the modded ones.


Good luck.

Donation with Paypal HERE

Donation with Stripe HERE

Donation with BuyMeaCoffee HERE

Donation with Mercado Livre HERE

Donation with Binance 0xdbe48ef6b158f1dd0035d7f49555c99e52f72714

Donation with BTC 33HeGCuCSh4tUBqdYkQqKpSDa1E7WeAJQ3

Donation with PicPay @danielnmaldonado

Donation with PiX @danielnmaldonado@gmail.com

Link to comment
Share on other sites

  • Administrators
intel i 5 proc 660, DH55HC, Clarkdale

8 gb ram

Intel HD GMA Gpu

External Firewire Sound Card Inspire 1394

remove appletymcedriver.kext

Support Olarila Vanilla Hackintosh by making a donation HERE

About Premium Users you can check HERE

Problems with Paypal HERE

Link to comment
Share on other sites

well, I had a problem with the setup screen keyboard, PS2 pass fix.

Open:

sudo vim /System/Library/CoreServices/Setup\ Assistant.app/Contents/Info.plist

At the end of the file.

Delete:

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

 

Save the file, reboot.

Dell Optiplex 790 - iMac12,1 - High Sierra 10.13.6 - Ok

Intel¬ģ Core i5-2400 CPU @ 3.10GHZ - Ok

Intel HD Graphics 2000 - Vesa Driver / Replace Zotac 8400GS 256MB - Clover + NvidiaInject - OK

DDR3 4.0GB 1333Mhz - Ok

Realtek ALC269 - AppleALC.kext - Ok

Broadcom BCM43224 - AirportBrcmFixup.kext - Ok

Intel 82579LM Gigabit Ethernet - IntelMausiEthernet.kext - Ok

HDD Hitachi 500GB - Ok

Link to comment
Share on other sites

Hi maldon, thanks for the tut. i have followed it to install both the DP4 and GM without success. With the GM nothing seems to happen when i use flag -v. When i installed snow i used to use USBBusFix=Yes for the install to go through. But when i use that, the system reboots during lion install. Can you please help me?

My spec Vaio VPCEB12FX


Motherboard:


CPU Type DualCore Intel Core i3-330M, 2133 MHz (16 x 133)

Motherboard Name Sony VPC-EB12FX

Motherboard Chipset Intel Ibex Peak-M HM55, Intel Ironlake-M

System Memory 3760 MB (DDR3-1066 DDR3 SDRAM)

DIMM1: Power Quotient MFCBG423PA0102 2 GB DDR3-1066 DDR3 SDRAM (7-7-7-20 @ 533 MHz) (6-6-6-18 @ 457 MHz)

DIMM3: Power Quotient MFCBG423PA0102 2 GB DDR3-1066 DDR3 SDRAM (7-7-7-20 @ 533 MHz) (6-6-6-18 @ 457 MHz)

BIOS Type AMI (09/23/09)


Display:


Video Adapter Intel¬ģ Graphics Media Accelerator HD (1793074 KB)

Video Adapter Intel¬ģ Graphics Media Accelerator HD (1793074 KB)

3D Accelerator Intel GMA HD

Monitor Generic PnP Monitor [NoDB] (12007)


Multimedia


Audio Adapter Intel Ibex Peak HDMI @ Intel Ibex Peak PCH - High Definition Audio Controller [b-2]

Audio Adapter Realtek ALC269 @ Intel Ibex Peak PCH - High Definition Audio Controller [b-2]


Storage:


IDE Controller Intel¬ģ 5 Series 4 Port SATA AHCI Controller

IDE Controller Ricoh PCIe Memory Stick Host Controller

IDE Controller Ricoh PCIe SD Bus Host Adapter

Disk Drive Ricoh Memory Stick Disk Device

Disk Drive Ricoh SD/MMC Disk Device

Disk Drive ST9500325AS (500 GB, 5400 RPM, SATA-II)

Optical Drive Optiarc DVD RW AD-7585H


Thanks in advance.

Link to comment
Share on other sites

  • Administrators

At which point does it reboot?


You can try the EHCI ownership patch in DSDT instead of USBBusFix

http://www.projectosx.com/forum/index.php?showtopic=888


Attach your DSDT if you want me to edit it.


You can also try using a DVD

http://Olarila.com/forum/viewtopic.php?f=17&t=178

Donation with Paypal HERE

Donation with Stripe HERE

Donation with BuyMeaCoffee HERE

Donation with Mercado Livre HERE

Donation with Binance 0xdbe48ef6b158f1dd0035d7f49555c99e52f72714

Donation with BTC 33HeGCuCSh4tUBqdYkQqKpSDa1E7WeAJQ3

Donation with PicPay @danielnmaldonado

Donation with PiX @danielnmaldonado@gmail.com

Link to comment
Share on other sites

Hey MaLd0n and crew, great work as always!


Was having a lot of problems installing SL to my new sony vaio (VPCSA290X), but this method seems to be able to get past these issues for the most part (largely EHCI stuff RE install not seeing boot devices), and continues the boot up part of the install up until this point - http://min.us/mbkPskq


In your post it mentions "does not work with Sandy Bridge processors", but then you provide a SB compatible Extras folder (Macbook Pro 8.1). My cpu is Intel i7 SB 2620m (using busratio=27).


Am I doing something wrong, or should I give up on Lion with my processor for now, and go back to trying to get SL installed. My DSDT and lspci dumps are in the attached zip (just realised that for some reason I am having trouble extracting my DSDT from the acpidump in ubunu, the dump is included in the zip, so maybe someone else will have more luck - bit of a linux nub).


I realise that there are no perfect solutions for both my gfx cards as of yet, but I plan on tri-booting with ubunu and 7, so it will very much be a work in progress.


Cheers for any input

Vaio dsdt.zip

AKZam DSDT.zip

Edited by Guest
Link to comment
Share on other sites

At which point does it reboot?


You can try the EHCI ownership patch in DSDT instead of USBBusFix

http://www.projectosx.com/forum/index.php?showtopic=888


Attach your DSDT if you want me to edit it.


You can also try using a DVD

http://Olarila.com/forum/viewtopic.php?f=17&t=178

 

Hi here is my unedited dsdt and maldon edited DSDT. You may update the one from Maldon or recreated anew one from the unedited with all the fixes already carried out by Maldon with EHCI ownership patch in DSDT instead of USBBusFix. the image in the attachment also show as far as i could get.

Thanks

dsdt.rar

Link to comment
Share on other sites

  • Administrators

Hi here is my unedited dsdt and maldon edited DSDT. You may update the one from Maldon or recreated anew one from the unedited with all the fixes already carried out by Maldon with EHCI ownership patch in DSDT instead of USBBusFix. the image in the attachment also show as far as i could get.

Thanks

dsdt.aml.zip

Donation with Paypal HERE

Donation with Stripe HERE

Donation with BuyMeaCoffee HERE

Donation with Mercado Livre HERE

Donation with Binance 0xdbe48ef6b158f1dd0035d7f49555c99e52f72714

Donation with BTC 33HeGCuCSh4tUBqdYkQqKpSDa1E7WeAJQ3

Donation with PicPay @danielnmaldonado

Donation with PiX @danielnmaldonado@gmail.com

Link to comment
Share on other sites

Hi all,


Hi MaLd0n and Oldnapalm

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 ?

Question:

Are what are possible to install a dvd Lion with hackboot_Lion ?


Can you tell me if it comes from me.

InstallESD.dmg burn on dvd.


Thanks.

- P5B-Deluxe Wifi~Ap / E8400 / 2*2 G-Skill 1066 Mhz / 9800 GT 1GB + Scythe Musashi / HDD Hitachi 160 Gigas SATA.

- P5K-Premium Wifi~Ap / E8400 / 2*2 Kingston 1066 Mhz /9600 GT 512 Mo + Scythe Musashi / HDD Maxtor 500 Gigas SATA.

Link to comment
Share on other sites

  • Administrators

Hi Flashe,


it may be a problem with the media, try burning in a lower speed or using a CD-R instead of CD-RW.


To use HackBoot you can't burn InstallESD.dmg directly to DVD, you have to do what's described in this topic

http://Olarila.com/forum/viewtopic.php?f=17&t=178

Donation with Paypal HERE

Donation with Stripe HERE

Donation with BuyMeaCoffee HERE

Donation with Mercado Livre HERE

Donation with Binance 0xdbe48ef6b158f1dd0035d7f49555c99e52f72714

Donation with BTC 33HeGCuCSh4tUBqdYkQqKpSDa1E7WeAJQ3

Donation with PicPay @danielnmaldonado

Donation with PiX @danielnmaldonado@gmail.com

Link to comment
Share on other sites

Here is my DSDT, if anyone can take a look I would be greatly appreciative :) I have included my lspci output below.


Cheers all

 

toby@Toby-Vaio:~$ lspci -v -n
00:00.0 0600: 8086:0104 (rev 09)
Subsystem: 104d:907b
Flags: bus master, fast devsel, latency 0
Capabilities: <access denied>
Kernel driver in use: agpgart-intel

00:01.0 0604: 8086:0101 (rev 09) (prog-if 00 [Normal decode])
Flags: bus master, fast devsel, latency 0
Bus: primary=00, secondary=01, subordinate=01, sec-latency=0
I/O behind bridge: 00007000-00007fff
Memory behind bridge: c8400000-c93fffff
Prefetchable memory behind bridge: 00000000a0000000-00000000afffffff
Capabilities: <access denied>
Kernel driver in use: pcieport
Kernel modules: shpchp

00:02.0 0300: 8086:0126 (rev 09) (prog-if 00 [VGA controller])
Subsystem: 104d:907b
Flags: bus master, fast devsel, latency 0, IRQ 44
Memory at c0000000 (64-bit, non-prefetchable) [size=4M]
Memory at b0000000 (64-bit, prefetchable) [size=256M]
I/O ports at 8000 [size=3]
Expansion ROM at <unassigned> [disabled]
Capabilities: <access denied>
Kernel driver in use: i915
Kernel modules: i915

00:16.0 0780: 8086:1c3a (rev 04)
Subsystem: 104d:907b
Flags: bus master, fast devsel, latency 0, IRQ 7
Memory at c9404000 (64-bit, non-prefetchable) [size=1]
Capabilities: <access denied>

00:1a.0 0c03: 8086:1c2d (rev 04) (prog-if 20 [EHCI])
Subsystem: 104d:907b
Flags: bus master, medium devsel, latency 0, IRQ 23
Memory at c940a000 (32-bit, non-prefetchable) [size=1K]
Capabilities: <access denied>
Kernel driver in use: ehci_hcd

00:1b.0 0403: 8086:1c20 (rev 04)
Subsystem: 104d:907b
Flags: bus master, fast devsel, latency 0, IRQ 51
Memory at c9400000 (64-bit, non-prefetchable) [size=16K]
Capabilities: <access denied>
Kernel driver in use: HDA Intel
Kernel modules: snd-hda-intel

00:1c.0 0604: 8086:1c10 (rev b4) (prog-if 00 [Normal decode])
Flags: bus master, fast devsel, latency 0
Bus: primary=00, secondary=02, subordinate=02, sec-latency=0
I/O behind bridge: 00006000-00006fff
Memory behind bridge: c7400000-c83fffff
Prefetchable memory behind bridge: 00000000c0400000-00000000c13fffff
Capabilities: <access denied>
Kernel driver in use: pcieport
Kernel modules: shpchp

00:1c.1 0604: 8086:1c12 (rev b4) (prog-if 00 [Normal decode])
Flags: bus master, fast devsel, latency 0
Bus: primary=00, secondary=03, subordinate=03, sec-latency=0
I/O behind bridge: 00005000-00005fff
Memory behind bridge: c6400000-c73fffff
Prefetchable memory behind bridge: 00000000c1400000-00000000c23fffff
Capabilities: <access denied>
Kernel driver in use: pcieport
Kernel modules: shpchp

00:1c.2 0604: 8086:1c14 (rev b4) (prog-if 00 [Normal decode])
Flags: bus master, fast devsel, latency 0
Bus: primary=00, secondary=04, subordinate=04, sec-latency=0
I/O behind bridge: 00004000-00004fff
Memory behind bridge: c5400000-c63fffff
Prefetchable memory behind bridge: 00000000c2400000-00000000c33fffff
Capabilities: <access denied>
Kernel driver in use: pcieport
Kernel modules: shpchp

00:1c.3 0604: 8086:1c16 (rev b4) (prog-if 00 [Normal decode])
Flags: bus master, fast devsel, latency 0
Bus: primary=00, secondary=05, subordinate=05, sec-latency=0
I/O behind bridge: 00003000-00003fff
Memory behind bridge: c4400000-c53fffff
Prefetchable memory behind bridge: 00000000c3400000-00000000c43fffff
Capabilities: <access denied>
Kernel driver in use: pcieport
Kernel modules: shpchp

00:1d.0 0c03: 8086:1c26 (rev 04) (prog-if 20 [EHCI])
Subsystem: 104d:907b
Flags: bus master, medium devsel, latency 0, IRQ 20
Memory at c9409000 (32-bit, non-prefetchable) [size=1K]
Capabilities: <access denied>
Kernel driver in use: ehci_hcd

00:1f.0 0601: 8086:1c4b (rev 04)
Subsystem: 104d:907b
Flags: bus master, medium devsel, latency 0
Capabilities: <access denied>
Kernel modules: iTCO_wdt

00:1f.2 0104: 8086:282a (rev 04)
Subsystem: 104d:907b
Flags: bus master, 66MHz, medium devsel, latency 0, IRQ 42
I/O ports at 8088 [size=1]
I/O ports at 809c [size=1]
I/O ports at 8080 [size=1]
I/O ports at 8098 [size=1]
I/O ports at 8060 [size=2]
Memory at c9408000 (32-bit, non-prefetchable) [size=2K]
Capabilities: <access denied>
Kernel driver in use: ahci
Kernel modules: ahci

00:1f.3 0c05: 8086:1c22 (rev 04)
Subsystem: 104d:907b
Flags: medium devsel, IRQ 10
Memory at c9406000 (64-bit, non-prefetchable) [size=11]
I/O ports at 8040 [size=2]
Kernel modules: i2c-i801

01:00.0 0300: 1002:6741 (rev ff) (prog-if ff)
!!! Unknown header type 7f
Kernel driver in use: radeon
Kernel modules: radeon

02:00.0 0280: 8086:0082 (rev 34)
Subsystem: 8086:1301
Flags: bus master, fast devsel, latency 0, IRQ 50
Memory at c7400000 (64-bit, non-prefetchable) [size=8K]
Capabilities: <access denied>
Kernel driver in use: iwlagn
Kernel modules: iwlagn

03:00.0 ff00: 10ec:5209 (rev 01)
Subsystem: 104d:907b
Flags: bus master, fast devsel, latency 0, IRQ 17
Memory at c6400000 (32-bit, non-prefetchable) [size=4K]
Capabilities: <access denied>
Kernel driver in use: rts_pstor
Kernel modules: rts_pstor

04:00.0 0c03: 1033:0194 (rev 04) (prog-if 30 [XHCI])
Subsystem: 104d:907b
Flags: bus master, fast devsel, latency 0, IRQ 18
Memory at c5400000 (64-bit, non-prefetchable) [size=8K]
Capabilities: <access denied>
Kernel driver in use: xhci_hcd
Kernel modules: xhci-hcd

05:00.0 0200: 10ec:8168 (rev 06)
Subsystem: 104d:907b
Flags: bus master, fast devsel, latency 0, IRQ 41
I/O ports at 3000 [size=11]
Memory at c3404000 (64-bit, prefetchable) [size=4K]
Memory at c3400000 (64-bit, prefetchable) [size=16K]
Capabilities: <access denied>
Kernel driver in use: r8169
Kernel modules: r8169

AKZam DSDTSE.zip

Link to comment
Share on other sites

[attachment=0]dsdt.AKZam.zip[/attachment]

 

Thankyou MaLd0n - out of interest, and if you have time, can you list the patches you applied so I can try and learn how to be a bit more self sufficient. I understand how to use DSDT SE, but don't know how to know which patches to apply.


Thanks again, Ill report back with my findings.

Link to comment
Share on other sites

  • Administrators
Thankyou MaLd0n - out of interest, and if you have time, can you list the patches you applied so I can try and learn how to be a bit more self sufficient. I understand how to use DSDT SE, but don't know how to know which patches to apply.

 

DTGP

EHCI

FN KEYS

HDEF _DSM

HPET

IRQs

OS

PNLF

SHUTDOWN

SMBUS

FIX WARNINGS

Support Olarila Vanilla Hackintosh by making a donation HERE

About Premium Users you can check HERE

Problems with Paypal HERE

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...
The popup will be closed in 15 seconds...