» 2013 » February » 03 の記事

首先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)

Screen Shot 2013-02-03 at 4.12.26 PM

之後將install OS X mountain Lion.app 抄去 /Applications

Screen Shot 2013-02-03 at 4.15.12 PM

之後右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

Screen Shot 2013-02-03 at 4.30.07 PM

有個folder 叫scripts , 入面有個叫preinstall file , 用any kind of code editor 開佢( 小妹用TextWrangler )

Screen Shot 2013-02-03 at 4.32.17 PM

將以下的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

1

按partition

  • Partition : choose 1 Partition
  • option : choose MBR
  • Format : Mac OS Extended (Journaled)

Apply , 等佢format

之後到Finder 右手邊right click usb drive to get infoScreen Shot 2013-02-03 at 4.39.54 PM

premission setting 改做如下

Screen Shot 2013-02-03 at 4.42.01 PM

double click Unibeast_Fixed.pkg  就可以install 了

 

| HOME |

Smiley face

February 2013
S M T W T F S
 12
3456789
10111213141516
17181920212223
2425262728