Prepare 强烈鄙视转载不给出处的行为!!!(www.cppblog.com/heath)
1)下载Mac OS 10.6.3安装光盘镜像;
2)下载HFSExplorer,用于从光盘镜像提取dmg安装镜像;
3)Leopard HD Install Helper,用于将dmg文件写入用于安装的分区;
4)MacDriver,用于在Windows环境下访问Mac系统分区(主要用在拷贝kext补丁和系统恢复);
5)BootThink,用于在PC机上引导Mac系统;
6)做好支持NTFS的启动光盘或者U盘,用于修改活动分区;
7)Universal OSx86 Installer,用于生成显卡的EFI String;
8)OSInstall补丁,用于让Mac从MBR引导;
9)驱动补丁:NullCPUPowerManagement,NVinject,VoodooHDA,EvOreboot,OpenHaltRestart;
Install OS 强烈鄙视转载不给出处的行为!!!(www.cppblog.com/heath)
1)在硬盘上腾出至少两个分区,一个用于存放的Mac安装文件(至少7G),另一个用于安装OS(至少20G),建议在硬盘末尾划分;
2)用HFSExplorer(需要Java运行环境),提取光盘镜像到dmg文件(务必将该文件保存到NTFS分区,保存到FAT/FAT32将会提示空间不足,因为单个文件不能超过4G);
3)用 Leopard HD Install Helper将dmg文件释放到安装分区,不用选那三个已经过时的选项;
4)安装BootThink,它会安装在C:\Darwin下并且会产生一个BootThink的启动项;
5)安装MacDriver,安装完成后可以看到1)中的两个分区;
6)将NullCPUPowerManagement.kext拷贝到安装分区的/System/Library/Extensions,并删除AppleIntelCPUPowerManagement*.kext;
7)将OSInstall和OSInstall.mpkg分别覆盖/System/Library/PrivateFrameworks/Install.framework/Frameworks/OSInstall.framework/Versions/A/和/System/Installation/Packages下的相同文件;
8)重启机器,确保BIOS中的AHCI被启用,选择BootThink启动项,选择安装分区;
9)进入安装画面后,选取Disk Utility,对用于安装OS的分区(1)中的第二个分区)选择HFS+(Journaled)分区格式,安装系统;
10)安装完成后,Mac会将OS分区设置为活动分区,因而放在Windows启动分区下的BootThink无法进行引导,所以这时需要用前面准备的恢复盘重新将Windows启动分区设置为活动;
Install Driver 强烈鄙视转载不给出处的行为!!!(www.cppblog.com/heath)
1)进入Windows, 将NullCPUPowerManagement.kext拷贝到OS分区的/System/Library/Extensions,并删除AppleIntelCPUPowerManagement*.kext;
2)不出意外,应该可以进入Mac,此时分辨率为1024*768,且不可修改。在Mac下运行 Universal OSx86 Installer,选择自己的显卡型号,EFI String会在放在/Library/Preferences/SystemConfiguration/com.apple.Boot.plist中(如果重启后在System Profiler中看不到显卡信息,尝试将其放在C:\Darwin下);
3)下载NVinject.kext(注意查看是否支持自己的显卡)放入 /System/Library/Extensions;
4)下载VoodooHDA 261 for snow放入/System/Library/Extensions;
5)下载最新的EvOreboot,OpenHaltRestart,放入/System/Library/Extensions,这两个补丁可解决不能关机和重启问题;
6)运行下列命令修复NullCPUPowerManagement.kext、NVinject.kext、VoodooHDA、EvOreboot、OpenHaltRestart权限:
sudo chmod -R 755 /System/Library/Extensions/xxx.kext
sudo chown -R root:wheel /System/Library/Extensions/xxx.kext
也可用Kext Helper来自动安装kext,避免繁琐的手动操作。
个人觉得删除cache并不是很必要:
sudo rm -R /System/Library/Extensions.kextcache
sudo rm -R /System/Library/Extensions.mkext
下面为一个脚本,可修复整个Extensions下的所有文件:
#!/bin/sh
. /etc/rc.common
clear
sleep 0.1
echo "Please enter your root password"
sudo sleep 1
sudo chmod -R 755 /System/Library/Extensions
sudo chown -R root:wheel /System/Library/Extensions
sudo rm -R /System/Library/Extensions.kextcache
sudo rm -R /System/Library/Extensions.mkext
sudo diskutil repairPermissions /
echo "All Done! Feel Free to reboot!"
sleep 2
7)重启进入系统之后应该可以修改分辨率了。
需要注意的是,如果com.apple.Boot.plist有错误(-v选项启动时会提示错误),可能导致启动时不能读取EFI String,进而无法驱动硬件。
附上com.apple.Boot.plist:
<?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>Graphics Mode</key>
<string>1440x900x32</string>
<key>Kernel</key>
<string>mach_kernel</string>
<key>GraphicsEnabler</key>
<string>Yes</string>
<key>device-properties</key>
<string>d20300000100000001000000c60300001500000002010c00d041030a000000000101060000010101060000007fff04003a000000400032002c0068007700730065006e0073006f0072002d0070006100720061006d0073002d00760065007200730069006f006e000000080000000000000222000000400032002c006400650076006900630065005f0074007900700065000000120000004e5644412c6770752d64696f64650e0000004e00560050004d00000020000000010000000000000000000000000000000000000000000000000000001e00000072006f006d002d007200650076006900730069006f006e000000090000003331373261100000004e00560043004100500000001800000004000000000003000c000000000000070000000022000000400032002c002300730069007a0065002d00630065006c006c0073000000080000000000000022000000400030002c006400650076006900630065005f00740079007000650000000b000000646973706c6179100000006d006f00640065006c0000001f0000004e5649444941204765466f7263652039383030204754582044444c14000000400030002c006e0061006d0065000000120000004e5644412c446973706c61792d4120000000400032002c0063006f006d00700061007400690062006c0065000000160000004e5644412c73656e736f722d706172656e7414000000400031002c006e0061006d0065000000120000004e5644412c446973706c61792d4212000000400032002c00720065006700000008000000000000021c0000006400650076006900630065005f0074007900700065000000100000004e5644412c4765466f72636520000000400031002c0063006f006d00700061007400690062006c00650000000e0000004e5644412c4e564d616326000000400032002c0023006100640072006500730073002d00630065006c006c007300000008000000000000010e0000006e0061006d00650000000f0000004e5644412c506172656e7422000000400031002c006400650076006900630065005f00740079007000650000000b000000646973706c617920000000400030002c0063006f006d00700061007400690062006c00650000000e0000004e5644412c4e564d6163220000005600520041004d002c0074006f00740061006c00730069007a0065000000080000000000002036000000400032002c00680077006300740072006c002d0070006100720061006d0073002d00760065007200730069006f006e000000080000000000000214000000400032002c006e0061006d00650000001100000073656e736f722d706172656e74</string>
</dict>
</plist>
机器配置:
处理器 DualCore Intel Pentium E5200, 2500 MHz (12.5 x 200)
主板 Biostar TPower I45
内存 Kingston DDR2 2Gx2
显示卡 Zotac GeForce 9800 GTX+
硬盘 ST3500410AS
显示器 LG W1942 (Analog)
链接资源:
http://www.osx86project.org/
http://www.insanelymac.com/
http://www.projectosx.com/forum/
http://www.kexts.com/
http://www.ihackintosh.com/2009/08/how-to-install-snow-leopard-10a432-on-pc-hackintosh/
http://www.pcbeta.com/
http://pcwizcomputer.com/