切換 32位 or 64位核心 – Mac OS X 10.6
知道OS X可以這麼切換的時候覺得根本不可能,可是當我親身實踐以後,我震精了:OS X太科幻了,介個,什麼微軟啊,xp神馬的都是浮雲!
注:本人測試系統,10.7.4。
預設啟動的是64位,即:x86_64
啟動時同時按著 3和2,竟然真到了32位,即:i386
轉自:http://hi.baidu.com/may2150209/blog/item/6e894dd0d4b6efc5562c8460.html
Mac OS X很有意思,安裝的時候已經同時裝了32位核心和64位核心,但對於非server版的10.6來說,預設啟動的是32位核心。Apple官方給出瞭如何快速切換核心的方法[1]:
1. 臨時切換核心:
該方法只生效一次,下次啟動又恢復成預設核心(方法2可以修改預設啟動核心):
啟動時:
1) 按住 ’3′ 和 ’2′,則本次啟動進入32位核心;
2) 按住 ’6′ 和 ’4′ ,則本次啟動進入64位核心。
2. 設定預設啟動核心:
To select the 64-bit kernel for the current startup disk, use the following command in Terminal:
To select the 32-bit kernel for the current startup disk, use the following command in Terminal:
sudo systemsetup -setkernelbootarchitecture i386Note: This setting is stored in the /Library/Preferences/SystemConfiguration/com.apple.Boot.plist file and will take effect every time you start up from this disk. If you start up from a different disk, the setting on that disk, or the hardware default, will take effect.
Reference:
[1] Mac OS X v10.6: Starting up with the 32-bit or 64-bit kernel: http://support.apple.com/kb/HT3773