蘋果開機啓動參數說明

裝黑蘋果機開機時,有時候須要本身輸入一些參數,來正常啓動Mac,好比改顯示模式,安全模式等,現將經常使用參數介紹一下,亦可看成備忘:安全

-v <-----冗長模式,不少人都知道這個模式,就是啓動時顯示文字式的詳細啓動資訊。app

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

-s &lt;----- 單一使用者模式, 這個模式只能使用指令. 能夠用這個模式以指令去修復系統。ui

-f &lt;----- 使系統從新載入全部kext及dump一個「啓動設定快取」出來,快取位於/System/Library/Extensions.mkext (可手動清除這個檔案,下次啓動時,系統會自動再創建!)debug

"Graphics Mode" &lt;----使用甚麼解像度進入系統!orm

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

(Width x Height x Color Depth)it

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

(Width x Height x Depth @ Refresh Rate)table

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.

相關文章
相關標籤/搜索