Chameleon

Chameleon Svn Source Tree

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

Archive Download this file

Revision: 2149