苹果开机启动参数说明

简介:

装黑苹果机开机时,有时候需要自己输入一些参数,来正常启动Mac,比如改显示模式,安全模式等,现将常用参数介绍一下,亦可当作备忘:

-v <-----冗长模式,很多人都知道这个模式,就是启动时显示文字式的详细启动资讯。

-x &lt;-----安全模式,载入最少的kext。

-s &lt;----- 单一使用者模式, 这个模式只能使用指令. 可以用这个模式以指令去修復系统。

-f &lt;----- 使系统重新载入所有kext及dump一个「启动设定快取」出来,快取位于/System/Library/Extensions.mkext (可手动清除这个档案,下次启动时,系统会自动再建立!)

"Graphics Mode" &lt;----使用甚么解像度进入系统!

例1: "Graphics Mode"="1024x768x32"

(Width x Height x Color Depth)

例2: "Graphics Mode"="640x480x32@60"

(Width x Height x Depth @ Refresh Rate)

rd= &lt;-----令系统载入Mac所在的分割区位置。

例: rd=disk0s2 (这是指Mac安装在第1隻HD第2个分割区!)

例: rd=*/PCI0@0/CHN0@0/@0:1 (启动PCI Raid card,格式rd=*)

Platform= &lt;------设定使用甚么平台进入系统。

可使用以下平台:

platform=ACPI &lt;------(支持ACPI)

platform=X86PC &lt;------(不支持ACPI)

platform=ACPI|86PC &lt;----(尝试支持ACPI,如果真係支持唔到就唔支持)

?memory = &lt;------显示系统记忆体资讯。

?video = &lt;-------显示电脑的显示卡最高支持甚么解像度。

ACPI 参数

acpi=off &lt;------不启动ACPI。

acpi=ht &lt;-----以ACPI boot table启动。

acpi=force &lt;------强制启动ACPI。 (通常也不会用到这个参数!)

acpi=strict &lt;-------限制ACPI。

acpi_sci={edge,level,high,low} &lt;-----设定ACPI SCI中断。

例: acpi_sci=edge

acpi=noirq &lt;-------不设定ACPI使用的IRQ。

核心参数:

-l = &lt;----使用L2 Cache。

cpus= &lt;-----使用CPU多少个核心。

例: cpus=1 或 cpus=2

idlehalt= &lt;------ 0为关闭,1为启动,省电模式,系统閒置一段时间会停止电源。

cpuidle= &lt;------ 0为关闭,1为启动,CPU省电模式,CPU閒置一段时间后会停止电源。

-legacy &lt;------ 若电脑只支持32bit,此参数可令64Bit Mac OS以32bit模式启动。

debug=0x100 &lt;------ 除错时适用,如遇上不明问题,无法启动系统,可试试这个参数,这个参数或许能提供有用的资讯协助除错。

maxmem=***x &lt;------系统使用最大的记忆体数量。

例: maxmem=4096

 

下面这是BootThink的帮助, 内容差不多,这里就保留原滋原味了。

The boot: prompt waits for you to type advanced startup options. 
If you don't type anything, the computer continues starting up normally. It 
uses the kernel and configuration files on the startup device, which it also 
uses as the root device. Advanced startup options use the following syntax: 
    [device]&lt;kernel> [arguments] 
Example arguments include 
device: rd=<BSD device name>       (e.g. rd=disk0s2) 
         rd=*<IODeviceTree path>    (e.g. rd=*/PCI0@0/CHN0@0/@0:1) 
kernel: kernel name                (e.g. "mach_kernel" - must be in "/" ) 
flags: -v (verbose)    -s (single user mode), 
        -x (safe mode)  -F (ignore boot configuration file) 
"Graphics Mode"="WIDTHxHEIGHTxDEPTH" (e.g. "1024x768x32") 
    For VESA 3.0 graphics, you may append a refresh rate 
    after an "@" character (e.g. "1280x1024x32@75") 
kernel flags                       (e.g. debug=0x144) 
io=0xffffffff                      (defined in IOKit/IOKitDebug.h)

Example: mach_kernel rd=disk0s1 -v "Graphics Mode"="4096x4096x32@85"

If the computer won't start up properly, you may be able to start it up using 
safe mode.  Type -x to start up in safe mode, which ignores all cached 
driver files.

Special booter commands: 
  ?memory    Displays information about the computer's memory. 
  ?video     Displays VESA video modes supported by the computer's BIOS.

Additional useful command-line options: 
  config=<file>             Use an alternate Boot.plist file. 
  platform=ACPI|X86PC       Use either ACPI or non-ACPI platform support.

Options useful in the com.apple.Boot.plist file: 
  "Boot Graphics"=Yes|No    Use graphics mode or text mode when starting. 
  "Quiet Boot"=Yes|No       Use quiet boot mode (no messages or prompt). 
  Timeout=8                 Number of seconds to pause at the boot: prompt.










本文转自 arthurchen 51CTO博客,原文链接:http://blog.51cto.com/arthurchen/637370,如需转载请自行联系原作者

目录
相关文章
|
4月前
|
Ubuntu Shell
百度搜索:蓝易云【Ubuntu系统如何设置开机自启动shell脚本?】
现在,你的Shell脚本将会在Ubuntu系统开机时自动执行。请确保脚本中的逻辑是正确的,以免对系统造成不必要的影响。
33 0
|
6月前
|
Ubuntu Linux
ubuntu使用小技巧 -- 设置rclocal开机启动
CentOS下可以通过编辑/etc/rc.local文件,加入一些开机启动项,ubuntu下怎么设置呢?
153 0
Ubuntu18.04设置系统默认音频设备:使用pavucontrol命令
Ubuntu18.04设置系统默认音频设备:使用pavucontrol命令
1291 0
Ubuntu18.04设置系统默认音频设备:使用pavucontrol命令
|
5月前
|
Ubuntu 开发工具
百度搜索:蓝易云【ubuntu系统设置开机启动命令。】
注意:从Ubuntu 16.04开始,使用 `/etc/init.d/`目录下的启动脚本已经过时,推荐使用 `/etc/systemd/system/`目录下的systemd服务单元进行管理。如果您使用的是较新的Ubuntu版本,请考虑使用systemd来设置开机启动。
92 1
|
6月前
|
Linux
linux设置开机服务自动启动/关闭自动启动命令 chkconfig
linux设置开机服务自动启动/关闭自动启动命令 chkconfig
218 0
|
8月前
|
Shell Windows
win如何设置软件开机启动
win如何设置软件开机启动
|
9月前
|
数据安全/隐私保护
Ubuntu18.04,开机默认开启数字小键盘设置方法
Ubuntu18.04中,一直有一点不舒服,就是开机后数字小键盘是默认关闭的状态,而我又有用小键盘输入密码的习惯,每次都忘记点【Num Lock】键,就很不舒服,便找来解决方法,使开机默认开启小键盘
542 0
|
负载均衡 Unix 应用服务中间件
systemctl 命令设置开机自启动失败
systemctl 命令设置开机自启动失败
禁止Skype开机自启动
禁止Skype开机自启动
145 0
禁止Skype开机自启动