Root/
Source at commit 2605 created 9 years 4 months ago. By ifabio, Temp disabled feature introduced in commit 2562 (Added ability to auto-select last booted partition as the boot volume), cause AllocateKernelMemory error. | |
---|---|
1 | The boot: prompt waits for you to type advanced startup options.␊ |
2 | If you don't type anything, the computer continues starting up normally. It␊ |
3 | uses the kernel and configuration files on the startup device, which it also␊ |
4 | uses as the root device.␊ |
5 | ␊ |
6 | Advanced startup options use the following syntax:␊ |
7 | ␊ |
8 | [device]<kernel> [arguments]␊ |
9 | ␊ |
10 | Example arguments include␊ |
11 | ␊ |
12 | device: rd=<BSD device name> (e.g. rd=disk0s2)␊ |
13 | rd=*<IODeviceTree path> (e.g. rd=*/PCI0@0/CHN0@0/@0:1)␊ |
14 | ␊ |
15 | kernel: kernel name (e.g. "mach_kernel" - must be in "/" )␊ |
16 | ␊ |
17 | flags: -v (verbose) -s (single user mode)␊ |
18 | -x (safe mode) -f (ignore caches)␊ |
19 | -F (ignore "Kernel Flags" specified in boot configuration file)␊ |
20 | ␊ |
21 | "Graphics Mode"="WIDTHxHEIGHTxDEPTH" (e.g. "1024x768x32")␊ |
22 | ␊ |
23 | kernel flags (e.g. debug=0x144)␊ |
24 | io=0xffffffff (defined in IOKit/IOKitDebug.h)␊ |
25 | ␊ |
26 | Example: mach_kernel rd=disk0s1 -v "Graphics Mode"="1920x1200x32"␊ |
27 | ␊ |
28 | If the computer won't start up properly, you may be able to start it up␊ |
29 | using safe mode. Type -x to start up in safe mode, which ignores all␊ |
30 | cached driver files.␊ |
31 | ␊ |
32 | Special booter hotkeys:␊ |
33 | F5 Rescans optical drive.␊ |
34 | F10 Scans and displays all BIOS accessible drives.␊ |
35 | ␊ |
36 | Special booter commands:␊ |
37 | ?memory Displays information about the computer's memory.␊ |
38 | ?video Displays VESA video modes supported by the computer's BIOS.␊ |
39 | ?norescan Leaves optical drive rescan mode.␊ |
40 | ␊ |
41 | Additional useful command-line options:␊ |
42 | config=<file> Use an alternate Boot.plist file.␊ |
43 | ␊ |
44 | Options useful in the org.chameleon.Boot.plist file:␊ |
45 | Wait=Yes|No Prompt for a key press before starting the kernel.␊ |
46 | "Quiet Boot"=Yes|No Use quiet boot mode (no messages or prompt).␊ |
47 | Timeout=8 Number of seconds to pause at the boot: prompt.␊ |
48 | "Instant Menu"=Yes Force displaying the partition selection menu.␊ |
49 | ␊ |
50 | "Default Partition" Sets the default boot partition,␊ |
51 | =hd(x,y)|UUID|"Label" Specified as a disk/partition pair, an UUID, or a␊ |
52 | label enclosed in quotes.␊ |
53 | ␊ |
54 | "Hide Partition" Remove unwanted partition(s) from the boot menu.␊ |
55 | =partition Specified, possibly multiple times, as hd(x,y), an␊ |
56 | [;partition2 ...] UUID or label enclosed in quotes.␊ |
57 | ␊ |
58 | "Rename Partition" Rename partition(s) for the boot menu.␊ |
59 | =partition <alias> Where partition is hd(x,y), UUID or label enclosed␊ |
60 | [;partition2 <alias2> in quotes. The alias can optionally be quoted too.␊ |
61 | ...]␊ |
62 | ␊ |
63 | GUI=No Disable the GUI (enabled by default).␊ |
64 | "Boot Banner"=Yes|No Show boot banner in GUI mode (enabled by default).␊ |
65 | ShowInfo=No Disables display of partition and resolution details.␊ |
66 | "Boot Banner"=No will also disable this info.␊ |
67 | "Legacy Logo"=Yes|No Use the legacy grey apple logo (disabled by default).␊ |
68 | ␊ |
69 | PciRoot=<value> Use an alternate value for PciRoot (default value 0).␊ |
70 | ␊ |
71 | UseKernelCache=Yes|No Yes will load pre-linked kernel and will ignore /E/E␊ |
72 | ␉␉␉␉␉␉ and /S/L/E/Extensions.mkext.␊ |
73 | ␉␉␉␉␉␉␉Default is No but Yes if you use Lion on a Raid partition.␊ |
74 | ␊ |
75 | KeyLayout=keymap Use to change the keyboard mapping of the bootloader␊ |
76 | (e.g. KeyLayout=mac-fr)␊ |
77 | ␊ |
78 | GraphicsEnabler=Yes|No Automatic device-properties generation for gfx cards.␊ |
79 | AtiConfig=<cardcfg> Use a different card config, e.g. AtiConfig=Megalodon.␊ |
80 | AtiPorts=<value> Specify the number of ports, e.g. AtiPorts=2.␊ |
81 | UseAtiROM=Yes|No Use an alternate Ati ROM image␊ |
82 | (path: /Extra/<vendorid>_<devid>_<subsysid>.rom)␊ |
83 | UseNvidiaROM=Yes|No Use an alternate Nvidia ROM image␊ |
84 | (path: /Extra/<vendorid>_<devid>.rom)␊ |
85 | VBIOS=Yes|No Inject NVIDIA VBIOS into device-properties.␊ |
86 | display_0=<value> Inject alternate value of display-cfg into NVDA,Display-A@0 (HEX).␊ |
87 | display_1=<value> Inject alternate value of display-cfg into NVDA,Display-B@1 (HEX).␊ |
88 | EnableHDMIAudio=Yes␉ Inject HDMI audio for NVIDIA␊ |
89 | ␊ |
90 | EthernetBuiltIn=Yes|No Automatic "built-in"=yes device-properties generation␊ |
91 | for ethernet interfaces.␊ |
92 | ␊ |
93 | USBBusFix=Yes Enable all USB fixes below:␊ |
94 | EHCIacquire=Yes Enable the EHCI fix (disabled by default).␊ |
95 | UHCIreset=Yes Enable the UHCI fix (disabled by default).␊ |
96 | USBLegacyOff=Yes Enable the USB Legacy fix (disabled by default).␊ |
97 | ␊ |
98 | ForceHPET=Yes|No Force Enable HPET.␊ |
99 | ␊ |
100 | Wake=No Disable wake up after hibernation (default: enabled).␊ |
101 | ForceWake=Yes Force using the sleepimage (disabled by default).␊ |
102 | WakeImage=<file> Use an alternate sleepimage file.␊ |
103 | (default path is /private/var/vm/sleepimage).␊ |
104 | ␊ |
105 | DropSSDT=Yes Skip the SSDT tables while relocating the ACPI tables.␊ |
106 | DSDT=<file> Use an alternate DSDT.aml file␊ |
107 | (default paths:␊ |
108 | /DSDT.aml /Extra/DSDT.aml bt(0,0)/Extra/DSDT.aml).␊ |
109 | ␊ |
110 | GenerateCStates=Yes Enable auto generation of processor idle sleep states␊ |
111 | (C-States).␊ |
112 | GeneratePStates=Yes Enable auto generation of processor power performance␊ |
113 | states (P-States).␊ |
114 | CSTUsingSystemIO=Yes New C-State _CST generation method using SystemIO␊ |
115 | registers instead of FixedHW.␊ |
116 | ␊ |
117 | EnableC2State=Yes Enable specific Processor power state, C2.␊ |
118 | EnableC3State=Yes Enable specific Processor power state, C3.␊ |
119 | EnableC4State=Yes Enable specific Processor power state, C4.␊ |
120 | ␊ |
121 | SMBIOS=<file> Use an alternate SMBIOS.plist file␊ |
122 | (default paths:␊ |
123 | /Extra/SMBIOS.plist bt(0,0)/Extra/SMBIOS.plist).␊ |
124 | ␊ |
125 | SMBIOSdefaults=No Don't use the Default values for SMBIOS overriding if␊ |
126 | smbios.plist doesn't exist, factory values are kept.␊ |
127 | ␊ |
128 | "Scan Single Drive" Scan the drive only where the booter got loaded from.␊ |
129 | =Yes|No Fix rescan pbs when using a DVD reader in AHCI mode.␊ |
130 | Rescan=Yes Enable CD-ROM rescan mode.␊ |
131 | "Rescan Prompt"=Yes Prompts for enable CD-ROM rescan mode.␊ |
132 | SystemId=<UUID> Set manually the system id UUID,␊ |
133 | SMUUID in smbios config (reserved field) isn't used.␊ |
134 | SystemType=<n> Set the system type where n is between 0..6␊ |
135 | (default =1 (Desktop)␊ |
136 | md0=<file> Load raw img file into memory for use as XNU's md0␊ |
137 | ramdisk. /Extra/Postboot.img is used otherwise.␊ |
138 |