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 (disabled 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 AtiConfig=<cardcfg> Use a different card config, e.g. AtiConfig=Megalodon.
92 AtiPorts=<value> Specify the number of ports, e.g. AtiPorts=2.
93 UseAtiROM=Yes|No Use an alternate Ati ROM image
94 (default path: /Extra/<vendorid>_<devid>_<subsysid>.rom)
95 UseNvidiaROM=Yes|No Use an alternate Nvidia ROM image
96 (default path: /Extra/<vendorid>_<devid>.rom)
97 VBIOS=Yes|No Inject VBIOS to device-properties.
98 display_0=<value> Inject alternate value of display-cfg into NVDA,Display-A@0 (HEX).
99 display_1=<value> Inject alternate value of display-cfg into NVDA,Display-B@1 (HEX).
100 IntelCapriFB=<value> For Intel HD 4xxx, range 0-11.
101 IntelAzulFB=<value> For Intel HD 5xxx/IRIS, range 0-15.
102 InjectIntel-ig=<value> Inject alternate value into AAPL,ig-platform-id (HEX).
103
104 EnableBacklight=Yes Enable Back light option for NVIDIA and ATI
105 EnableDualLink=Yes Enable DualLink option for NVIDIA and ATI
106 EnableHDMIAudio=Yes Inject HDMI audio for NVIDIA and ATI.
107
108 EthernetBuiltIn=Yes|No Automatic "built-in"=YES device-properties generation
109 for ethernet interfaces.
110 ForceHPET=Yes|No Force HPET on (disabled by default).
111
112 USBBusFix=Yes Enable the EHCI and UHCI fixes (disabled by default).
113 EHCIacquire=Yes Enable the EHCI fix (disabled by default).
114 UHCIreset=Yes Enable the UHCI fix (disabled by default).
115 USBLegacyOff=Yes Force USB Legacy off (disabled by default).
116
117 Wake=No Disable wake up after hibernation (enbaled by default).
118 ForceWake=Yes Force using the sleepimage (disabled by default).
119 WakeImage=<file> Use an alternate sleepimage file
120 (default path is /private/var/vm/sleepimage).
121
122 DropSSDT=Yes Skip the SSDT tables while relocating the ACPI tables.
123 DSDT=<file> Use an alternate DSDT.aml file
124 (default path: /DSDT.aml
125 /Extra/DSDT.aml bt(0,0)/Extra/DSDT.aml).
126
127 GenerateCStates=Yes Enable auto generation of processor idle sleep states
128 (C-States).
129 GeneratePStates=Yes Enable auto generation of processor power performance
130 states (P-States).
131 CSTUsingSystemIO=Yes New C-State _CST generation method using SystemIO
132 registers instead of FixedHW.
133
134 EnableC2State=Yes Enable specific Processor power state, C2.
135 EnableC3State=Yes Enable specific Processor power state, C3.
136 EnableC4State=Yes Enable specific Processor power state, C4.
137
138 SMBIOS=<file> Use an alternate SMBIOS.plist file
139 (default path: /smbios.plist /Extra/smbios.plist
140 bt(0,0)/Extra/smbios.plist).
141
142 SMBIOSdefaults=No Don't use the Default values for SMBIOS overriding
143 if smbios.plist doesn't exist, factory
144 values are kept.
145
146 "Scan Single Drive" Scan the drive only where the booter got loaded from.
147 =Yes|No Fix rescan issues when using a DVD reader in AHCI mode.
148 Rescan=Yes Enable CD-ROM rescan mode.
149 "Rescan Prompt"=Yes Prompts for enable CD-ROM rescan mode.
150 SystemId=<UUID> Set the system id manually to UUID.
151 SMUUID in smbios config (reserved field) isn't used then.
152 SystemType=<n> Set the system type to n, where n is between 0..6
153 (default=1 Desktop)
154 md0=<file> Load raw img file into memory for use as XNU's md0
155 ramdisk. /Extra/Postboot.img is used otherwise.
156

Archive Download this file

Revision: 2263