install mac lion on thinkpad sl400

论坛 期权论坛 编程之家     
选择匿名的用户   2021-6-2 19:02   669   0

1. get lion dmg (md5: daa36ad107f8379831d429d50bd79294 Mac OS X Lion.dmg) and a 8G usb stick

2. Make a bootable disk with lion on it. (object: gpt partition table, 2 partition, 1=EFI, 2=Lion, andChameleon boot loader on it)

2.1(create EFI partition with GPT) In windows 7: open command line with administrative privilege

diskpart

list disk (find which is usb stick)

select disk 1 (assume 1 is usb stick)

clean (clear all data on sub stick, may be you can jump this step)

convert gpt

create partition efi size=300

2.2 (create HFS+ partition) In Linux(arch linux): open terminal with root privilege

gparted

create new primary partition behind EFI partition with format HFS+

optional: create another partition with fat or ntfs format

2.3 (build mac usb stick) In Mac OS: install invisibliX on mac for modify hidden files

open Lion.dmg, copy basesystem.dmg to desktop

diskutil list ( find out which is usb stick)

newfs_hfs -v EFI /dev/diskXs1 (X is usb stick)

In application, Utilities, disk utility, select usb stick and press restore,

drag basesystem.dmg to souce

drag usb stick to destination

press restore

when done, delete usb/system/installation/packages(a link), copy lion install ESD(lion.dmg)/Packages to usb/system/installation/

copy lion..ESD/mach_kernel to usb/

2.4 (install Chameleon on usb stick)

download Chameleon

open terminal

sudo -s

./fdisk -f boot0 -u -y /dev/diskX or (when you cannot use fdisk(within Chameleon)) dd if=boot0 of=/dev/diskX bs=440 count=1

dd if=boot1h of=/dev/diskXs2

copy boot to usb stick /

2.5 (copy some kext)

copy fakeSMC.kext to usb stick/Extra/Extensions/

copy other .kext to same directory


Ready for installation:

3. boot machine with usb (press F12 on boot)

if you lucky you will see install page, else please google for solution

4. When installation finished, reboot using usb (so you can use chameleon to boot system on hard disk).

after login to new system on hard disk, install Chameleon and copy those kext in root/Extra/Extensions.

for thinkpad sl400:

video driver: create file /root/Extra/org.chameleon.Boot.plist

sound driver: http://code.google.com/p/voodoohda/downloads/list which content is:

<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>EthernetBuiltIn</key>
<string>Yes</string>
<key>GraphicsEnabler</key>
<string>Yes</string>
<key>Kernel</key>
<string>mach_kernel</string>
</dict>
</plist>


Done.


other(how to get dsdt):

in arch linux:

cat /sys/firmware/acpi/tables/DSDT >dsdt.aml

iasl -d dsdt.aml

iasl -ta dsdt.dsl


cp dsdt.dsl to desired location



5. useful tools:

read write ntfs: http://sourceforge.net/projects/catacombae/files/ , http://osxfuse.github.com/

6. list of /Extra/Extensions/

AppleACPIPS2Nub.kext ApplePS2Mouse.kextRealtekR1000SL.kext
ApplePS2Controller.kext ApplePS2Trackpad.kext
ApplePS2Keyboard.kext FakeSMC.kext



good boot iso: HJMac


分享到 :
0 人收藏
您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

积分:3875789
帖子:775174
精华:0
期权论坛 期权论坛
发布
内容

下载期权论坛手机APP