切换 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:

sudo systemsetup -setkernelbootarchitecture x86_64

To select the 32-bit kernel for the current startup disk, use the following command in Terminal:

sudo systemsetup -setkernelbootarchitecture i386

Note: 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

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值