Chameleon

Chameleon Svn Source Tree

Root/trunk/doc/BootHelp.txt

1The boot: prompt waits for you to type advanced startup options.
2If you don't type anything, the computer continues starting up normally. It
3uses the kernel and configuration files on the startup device, which it also
4uses as the root device.
5
6Advanced startup options use the following syntax:
7
8 [device]<kernel> [arguments]
9
10Example 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
26Example: mach_kernel rd=disk0s1 -v "Graphics Mode"="1920x1200x32"
27
28If the computer won't start up properly, you may be able to start it up using
29safe mode. Type -x to start up in safe mode, which ignores all cached
30driver files.
31
32Special booter hotkeys:
33-----------------------
34 F5 Rescans optical drive.
35 F10 Scans and displays all BIOS accessible drives.
36
37Special booter commands:
38------------------------
39 ?memory Displays information about the computer's memory.
40 ?video Displays VESA video modes supported by the computer's BIOS.
41 ?norescan Leaves optical drive rescan mode.
42
43Additional useful command-line options:
44---------------------------------------
45 config=<file> Use an alternate Boot.plist file.
46
47Options useful in the org.chameleon.Boot.plist file:
48----------------------------------------------------
49 Wait=Yes|No Prompt for a key press before starting the kernel.
50 "Quiet Boot"=Yes|No Use quiet boot mode (no messages or prompt).
51 Timeout=8 Number of seconds to pause at the boot: prompt.
52 "Instant Menu"=Yes Force displaying the partition selection menu.
53
54 "Default Partition" Sets the default boot partition,
55 =hd(x,y)|UUID|"Label" Specified as a disk/partition pair, an UUID, or a
56 label enclosed in quotes.
57
58 "Hide Partition" Remove unwanted partition(s) from the boot menu.
59 =partition Specified, possibly multiple times, as hd(x,y), an
60 [;partition2 ...] UUID or label enclosed in quotes.
61
62 "Rename Partition" Rename partition(s) for the boot menu.
63 =partition <alias> Where partition is hd(x,y), UUID or label enclosed
64 [;partition2 <alias2> in quotes. The alias can optionally be quoted too.
65 ...]
66
67 GUI=No Disable the GUI (enabled by default).
68 "Boot Banner"=Yes|No Show boot banner in GUI mode (disabled by default).
69 ShowInfo=No Disables display of partition and resolution details.
70 "Boot Banner"=No will also disable this info.
71 "Legacy Logo"=Yes|No Use the legacy grey apple logo (enabled by default).
72
73 PciRoot=<value> Use an alternate value for PciRoot (default value 0).
74
75 UseKernelCache=Yes|No Yes will load pre-linked kernel and will ignore /E/E
76 and /S/L/E/Extensions.mkext.
77Default is No but Yes if you use Lion on a Raid partition.
78
79 KeyLayout=keymap Use to change the keyboard mapping of the bootloader
80 (e.g. KeyLayout=mac-fr)
81
82 HDAEnabler=Yes|No Automatic device-properties generation for audio controllers.
83 HDEFLayoutID=<value> Inject alternate value of layout-id for HDEF (HEX).
84 HDAULayoutID=<value> Inject alternate value of layout-id for HDAU (HEX).
85
86 GraphicsEnabler=Yes|No Automatic device-properties generation for graphics cards.
87 SkipIntelGfx=Yes|No Skip the Automatic device-properties generation for Intel cards.
88 SkipNvidiaGfx=Yes|No Skip the Automatic device-properties generation for Nvidia cards.
89 SkipAtiGfx=Yes|No Skip the Automatic device-properties generation for Ati cards.
90
91 NvidiaGeneric =Yes|No Use the classic Nvidia name for the SystemProfiler (disabled by default).
92 NvidiaSingle =Yes|No If you have two cards Nvidia and wants to inject only
93 first one then you can set this parameter (enbaled by default).
94
95 AtiConfig=<cardcfg> Use a different card config, e.g. AtiConfig=Megalodon.
96 AtiPorts=<value> Specify the number of ports, e.g. AtiPorts=2.
97 UseAtiROM=Yes|No Use an alternate Ati ROM image
98 (default path: /Extra/<vendorid>_<devid>_<subsysid>.rom)
99 UseNvidiaROM=Yes|No Use an alternate Nvidia ROM image
100 (default path: /Extra/<vendorid>_<devid>.rom)
101 VBIOS=Yes|No Inject VBIOS to device-properties.
102 display_0=<value> Inject alternate value of display-cfg into NVDA,Display-A@0 (HEX).
103 display_1=<value> Inject alternate value of display-cfg into NVDA,Display-B@1 (HEX).
104 IntelCapriFB=<value> For Intel Ivy Bridge, range 0-11.
105 IntelAzulFB=<value> For Intel Haswell, range 0-16.
106 IntelBdwFB=<value> For Intel Broadwell, range 0-18.
107 InjectIntel-ig=<value> Inject alternate value into AAPL,ig-platform-id (HEX).
108
109 EnableBacklight=Yes Enable Back light option for NVIDIA and ATI
110 EnableDualLink=Yes Enable DualLink option for NVIDIA and ATI
111 EnableHDMIAudio=Yes Inject HDMI audio for NVIDIA and ATI.
112
113 EthernetBuiltIn=Yes|No Automatic "built-in"=YES device-properties generation
114 for ethernet interfaces.
115 ForceHPET=Yes|No Force HPET on (disabled by default).
116
117 USBBusFix=Yes Enable the XHCI, EHCI and UHCI fixes (disabled by default).
118 EHCIacquire=Yes Enable the EHCI fix (disabled by default).
119 UHCIreset=Yes Enable the UHCI fix (disabled by default).
120 USBLegacyOff=Yes Force USB Legacy off for XHCI and EHCI (disabled by default).
121 XHCILegacyOff=Yes Force USB Legacy off for XHCI (disabled by default).
122
123 Wake=No Disable wake up after hibernation (enbaled by default).
124 ForceWake=Yes Force using the sleepimage (disabled by default).
125 WakeImage=<file> Use an alternate sleepimage file
126 (default path is /private/var/vm/sleepimage).
127
128 DropSSDT=Yes Skip the SSDT tables while relocating the ACPI tables.
129 DSDT=<file> Use an alternate DSDT.aml file
130 (default path: /DSDT.aml
131 /Extra/DSDT.aml bt(0,0)/Extra/DSDT.aml).
132
133 GenerateCStates=Yes Enable auto generation of processor idle sleep states
134 (C-States).
135 GeneratePStates=Yes Enable auto generation of processor power performance
136 states (P-States).
137 CSTUsingSystemIO=Yes New C-State _CST generation method using SystemIO
138 registers instead of FixedHW.
139
140 EnableC2State=Yes Enable specific Processor power state, C2.
141 EnableC3State=Yes Enable specific Processor power state, C3.
142 EnableC4State=Yes Enable specific Processor power state, C4.
143 EnableC6State=Yes Enable specific Processor power state, C6.
144 EnableC7State=Yes Enable specific Processor power state, C7.
145
146 PrivateData=No Show masked data (serial number) in bdmesg log (enbaled by default).
147
148 ForceFullMemInfo=Yes Force SMBIOS Table 17 to be 27 bytes long (disabled by default).
149
150 SMBIOS=<file> Use an alternate SMBIOS.plist file
151 (default path: /smbios.plist /Extra/smbios.plist
152 bt(0,0)/Extra/smbios.plist).
153
154 SMBIOSdefaults=No Don't use the Default values for SMBIOS overriding
155 if smbios.plist doesn't exist, factory
156 values are kept.
157
158 "Scan Single Drive" Scan the drive only where the booter got loaded from.
159 =Yes|No Fix rescan issues when using a DVD reader in AHCI mode.
160 Rescan=Yes Enable CD-ROM rescan mode.
161 "Rescan Prompt"=Yes Prompts for enable CD-ROM rescan mode.
162 SystemId=<UUID> Set the system id manually to UUID.
163 Deprecated - Now SMsystemuuid in smbios.plist
164 SMUUID in smbios config (reserved field) isn't used then.
165 SystemType=<n> Set the system type to n, where n is between 0..6
166 (default=1 Desktop)
167 md0=<file> Load raw img file into memory for use as XNU's md0
168 ramdisk. /Extra/Postboot.img is used otherwise.
169

Archive Download this file

Revision: 2766