首先download unibeast 1.7.0(SH1:f304ad812a6dc66037038673132b590fb9aabf9d (app)|fa373a007b624506154d00ce23fd3d1a026b029e (zip))
http://www.tonymacx86.com/downloads.php
以及用你的方法 download InstallESD.dmg(mountain Lion) 🙂 , mount installESD.dmg(SH1 HASH : e5dd2bf5560033cade7dd7d7da5ceec49f701b0e)
之後將install OS X mountain Lion.app 抄去 /Applications
之後右click select Show Package Contents
入去Contents, create 新folder "SharedSupport" ,將InstallESD.dmg抄入去,聞說要unmount 左InstallESD.dmg先
之後到applications folder 按cmd+shift+u 開terminal 輸入以下東東
cd /Applications/ cd "Install OS X Mountain Lion.app" mkdir -p "_MASReceipt" echo -e '\000com.apple.InstallAssistant.MountainLion' > _MASReceipt/receipt
下一部係修改unibeast app
將unibeast抄到desktop
到terminal 輸入以下東東,請改左個username 去= =
pkgutil --expand /Users/<username>/Desktop/UniBeast\ -\ Mountain\ Lion\ 1.7.0.pkg UniTemp
之後desktop 會多左個Unitemp folder
double click 會見到dsmos.pkg , 右click select Show Package Contents
有個folder 叫scripts , 入面有個叫preinstall file , 用any kind of code editor 開佢( 小妹用TextWrangler )
將以下的code delete
if [ "$(file -b /Applications/Install\ OS\ X\ Mountain\ Lion.app/Contents/_MASReceipt/receipt)" != 'data' ]; then echo " " echo "No MAS receipt found, exiting"; echo " " exit 1 fi if [ "$(md5 -q /Applications/Install\ OS\ X\ Mountain\ Lion.app/Contents/_MASReceipt/receipt)" = 'f4747dbc07df72ad92a84186e2b5488d' ]; then echo " " echo "User created MAS receipt found, exiting"; echo " " exit 1 fi if [ "$(stat -f%z /Applications/Install\ OS\ X\ Mountain\ Lion.app/Contents/_MASReceipt/receipt)" -lt 4600 ]; then echo " " echo "MAS receipt too small, exiting"; echo " " exit 1 fi if ! grep -q com.apple.InstallAssistant.MountainLion /Applications/Install\ OS\ X\ Mountain\ Lion.app/Contents/_MASReceipt/receipt ;then echo " " echo "Wrong MAS receipt found, exiting"; echo " " exit 1 else cp /Applications/Install\ OS\ X\ Mountain\ Lion.app/Contents/_MASReceipt/receipt "${3}/.receipt" fi
save 完之後返去terminal pack返個pkg,
pkgutil --flatten UniTemp Unibeast_Fixed.pkg
下一部係準備usb
到/Applications/Utilities/Disk Utility
按partition
- Partition : choose 1 Partition
- option : choose MBR
- Format : Mac OS Extended (Journaled)
Apply , 等佢format
之後到Finder 右手邊right click usb drive to get info
premission setting 改做如下
double click Unibeast_Fixed.pkg 就可以install 了
Comment feed