Superhai
May 25 2008, 11:43 PM
- DTrace
dtrace_dof_mode - Set DTrace DOF modes {0/1/2/3}
DisableFBT - Disable FBT {1}
IgnoreFBTBlacklist - Ignore blacklist of certain critical modules {1}
- BSD
-b - Don't run /etc/rc.boot
-l - Log leaks
srv - Boot as server {1}
ncl - Number of clusters
nbuf - Number of buffers for bsd
kmem - Kernel memory access {1}
trace - Kernel trace buffer size
msgbuf - Message Buffer
rp - Root path
mcache_flags - Memory cache flags
mbuf_debug - MBuf Debug {1}
initmcl - Init mbuf clusters
socket_debug - Socket debug (net)
net_affinity - Net Affinity (net)
rte_debug - Route debug (net) {flags}
-rwroot_hack - Mount root read/write
- IOKit
mseg - Max segment
dart - Remove mapper present
io - IO Kit Debug
- Mach
keepsyms - Do not unload KLD/Address-symbol translation {1}
debug - Kernel debug {flags}
nvram_paniclog - commit paniclog to NVRAM {1}
pmsafe_debug - Put CPUs into "safe" power mode {1}
preempt - Set default preemption rate
unsafe - Max unsafe quanta
poll - Max poll quanta
yield - Schedule poll yield shift
idlehalt - Halt idle thread to allow cpu into lowpower mode {1}
panic_io_port - In a panic read from this I/O port {0x0 to 0xffff}
_fpu - Limit boot-time cpu features {387/mmx/sse}
diag - Diagnostic output
serial - Serial diagnostic console
maxmem - Maximum memory to use
cpus -Numbers of cpus
himemory_mode - Set memorymode for over 4GB {0 - All pages available/1- disable high mem/2 - prefer high mem}
immediate_NMI - Force immediate NMI debugger {1}
-legacy - Force legacy 32bit mode
lcks - Lock statistics
novmx - No altivec emulation in Rosetta {1}
max_valid_dma_addr - Max valid DMA address
maxbouncepool - Max bounce pool size
maxloreserve - Max low reserve
npvhash - Physical to virtual mapping hash
wpkernel - Write protect kernel {1}
-no_shared_cr3 - Disable shared kernel address space for 64 bit users
-pmap_trace - Enable kernel traces for pmap
_panicd_ip - IP of panic server
_router_ip - IP of router
panicd_port - Port of panic server
-zc - Free zone element checking
mtxspin - Mutex spin (ppc)
vmmforce - VMM force (ppc)
fn - Force nap (ppc) (acpi) {0/1/2}
pmsx - Experimental power management stepper mode (ppc) {1}
ctrc - Set tracing to specific cpu (ppc)
tb - Non-default trace buffer size (ppc)
wcte - Write combine timer enable (ppc)
mcklog - Clear machine check flag (ppc)
mcksoft - Machine check software recovery (ppc)
ht_shift - Non-default hash table size (ppc) {1}
zsize - Target zone size
colors - Set VM colors
fill - Fill pages
serialbaud - Set serial baud rate
- Boot
-v - Verbose Mode
-x - Safe Mode
-f - Old Safe Mode
-F - Ignore Boot File
-s - Single User Mode
Graphics Mode - VESA Graphics Mode Dimensions
Text Mode - VGA Text Mode Dimensions
Boot Graphics - Graphics or Text Mode
Quiet Boot - Quiet Bootmode
MKext Cache - Mkext cache file
Kernel Cache - Kernel Cache file
rd - Root Device
boot-uuid - Boot UUID
platform - Platform Expert {ACPI}
config - Load alternate config plist
- Other
smbios - Verbose SMBIOS (AppleSMBIOS.kext) {1}
acpi - Debug AppleACPIPlatform {1-8}
acpi_level - ACPI Debug Level
acpi_layer - ACPI Debug Layer
acpi_sleep - ACPI Sleep
nvdebug - NVDAResman debug
nvrm - NVDAResman
ndrv_debug_level - NDRV Debug Level (NVDAResman)
pstep - Power Step Debug (ACPI_SMC)
hpet - AppleHPET
There are more, which I will update it later. I will not add args which are not present in the current apple release (i.e. only vanilla). All reservations against errors and mistakes. If you find anyone please notify.
macgirl
May 26 2008, 03:46 AM
Shouldn't "config" be in the boot options?
I use "config=tv" at boot sometimes to load a config file with different gfx string, so it loads /Library/Preferences/SystemConfiguration/tv.plist instead of com.apple.Boot.plist
Superhai
May 26 2008, 02:11 PM
QUOTE(macgirl @ May 26 2008, 05:46 AM)

Shouldn't "config" be in the boot options?
I use "config=tv" at boot sometimes to load a config file with different gfx string, so it loads /Library/Preferences/SystemConfiguration/tv.plist instead of com.apple.Boot.plist
Yep you're right, I missed it from my notes. I'll edit.
XweAponX
Jun 16 2008, 03:20 AM
I need to know a leetle teeny weeny bit more about this section:
Boot
-v - Verbose Mode
-x - Safe Mode
-f - Old Safe Mode
-F - Ignore Boot File
-s - Single User Mode
Graphics Mode - VESA Graphics Mode Dimensions
Text Mode - VGA Text Mode Dimensions
Boot Graphics - Graphics or Text Mode
Quiet Boot - Quiet Bootmode
MKext Cache - Mkext cache file
Kernel Cache - Kernel Cache file
rd - Root Device
boot-uuid - Boot UUID
platform - Platform Expert {ACPI}
config - Load alternate config plist
Is there any place to get elaboration on these commands?
macgirl
Jun 16 2008, 07:34 PM
They are no commands, they are flags.
Whe Darwin bootloader presents the boot menu (one partition or as many as you have) you can hit any key and a boot flag prompt appears, there you write the flag, you can combine the flags:
rd=disk0s3 -s -x "Graphics Mode"="800x600x32" platform=X86PC
You can also write "?" to display the boot help.
There are several posts about boot flags and of course Apple Developer site for documentation.
mitch_de
Jul 15 2008, 01:27 PM
Hi,
i am a bit confused about using the boot-flags.
I have EFI installed. And want to use boot-uuid - XXXXX
Does it have the same boot-flags ?
Also Chameleon ?
Are they using complete different "darwin bootloader" or are they loaded before darwin bootloader, so i can use this boot-flags.
macgirl
Jul 15 2008, 01:57 PM
yes they are the same, I am using chameleon with boot-uuid flag.
mitch_de
Jul 15 2008, 08:39 PM
Thanks for this detail (boot flags usable in EFI also).
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please
click here.