Darwin Boot Options
(obtained from http://apple2pc.blogspot.com/2008/02/darwin-boot-options.html and is reproduced here only for reference)
-s Enter “Single User” mode. Does not load GUI or mount additional partitions. Gives a CLI prompt for system maintenance and recovery procedures.
-v loads the system in Verbose mode which aides in troubleshooting boot problems.
-f Reload all kext (Kernel Extensions = drivers) and dump the cache, does not rely on it (kext cache found in: /System/Library/Extensions.mkext, you can delete it manually and the system will recreate it)
The kext cache is built of the necessary kext that needs to be loaded and it will be created whenever it does not exist. You can use a command line utility (from terminal) named: “mkextunpack” to extract the content and see what kext are cached for example the command:
mkextunpack -d /111 /System/Library/Extensions.mkext
will extract the content to a folder (that must exist before runing this command) /111
you can also use the command line utility “kextcache” to create or update kextcache.
-x This option boots the system into safe mode ignoring kext cache and loads only necessary kext
cpus= this parameter tells the hackintosh how many cpus to use, for instance if you have dual CPU or dual Core then you can state cpus=2, so the system will use both cpus, and if you get reboot without loading GUI or boot screen then you may use cpus=1 to allow use of one cpu and avoid reboot
“Graphics Mode”= this parameter tells the hackintosh to use stated graphics resolution and color depth, the pattern to use is: WidthxHeightxDepth@RefreshRate for instance a resolution of 640×480 with 32 bit color depth and 60 hertz frequancy refresh rate will look like this:
“Graphics Mode”=”640×480x32@60″
rd= this parameter state what is the boot disk to use (instead of using the boot menu appearing before the prompt) you state the drive and partition in the pattern: diskXsY where X stands for the disk number (first disk (usually primary master in IDE) 0 second disk is 1 etc.) and Y stands for the partition on that disk starting with 1 as the first partition, so if you have one disk and one partition the parameter will look like this: rd=disk0s1
config= this parameter tells the system to load using different copy of the boot config file, the default copy used is kept in:
/Library/Preferences/SystemConfiguration/com.apple.Boot.plist
the content of this file state boot options such as:
timeout (how much time to wait for user selection in boot prompt)
kernel (what kernel to use)
kernel flags (what kernel flags to use in each and every boot)
quiet boot (weather to display boot menu or not)
boot graphics (if to boot with apple spinning circle)
etc.
platform= this parameter sets the platform to use at this boot time, you may use:
platform=ACPI (ACPI support)
platform=X86PC (non ACPI support)
platform=ACPI|86PC (try to support ACPI if fails do not support it)
idlehalt gets two values ether 1 or 0 stating true or false, if set to true then at idle time the cpu will halt causing power saving and cooling of CPU, if set to 0 then the cpu will allways run even in idle time.
idlehalt=0
idlehalt=1
-legacy causes the system to load in 32 bit mode while running on 64 bit systems
?memory this info screen display information about the memory on the machine
?video this info screen display information about the video card supported graphic modes
