What's CDlinux' kernel command line parameters?

These are CDlinux' kernel command line parameters. They are all OPTIONAL. In most cases, you can safely ignore them and use the default values.

CDL_AMOUNT

CDlinux can auto detect/mount your disks/partitions (coldplug & hotplug). This feature is enabled in CDlinux standard edition. But for safty, it is disabled in CDlinux_mini by default. For example, if you are running CDlinux_mini to rescue your disk/partition, you surely don't want this feature. But, if you do want it, you can use this parameter.

  default: yes for CDlinux standard
           no  for CDlinux_mini
  example:
      CDL_AMOUNT=yes	# auto detect and mount
      CDL_AMOUNT=no	# don't mount, detect only

CDL_CMD

Things to run before extra packages/modules are installed. Unless you want to run something in the very early init stage, don't use this. In most case you can use the rc.local script instead.

  default: no default
  example:
      # let your first md be /dev/md1 instead of /dev/md0:
      CDL_CMD="mdadm -Ac partitions -m 0 /dev/md1"
      # you can also specify multiple commands:
      CDL_CMD="echo 'Hi!'; echo 'Hi!' | sed 's/!/ again!/'"

CDL_DEV

On which device is CDlinux located?

  default: /dev/sr0
  example:
      CDL_DEV=/dev/hda1
      CDL_DEV=UUID=42656e5a-1971-0825-0001-d5d4d1b1bae9
      CDL_DEV=LABEL=YourDiskLabel
      CDL_DEV=LABEL="Your Disk Label"

CDL_DIR

In which directory (of the CDL_DEV file system) is CDlinux located?

  default: boot/CDlinux, CDlinux
  example:
      CDL_DIR=Some/Dir/CDlinux
      CDL_DIR="Some Dir/CDlinux" # your boot loader should
                                 # support this though

CDL_GUI

Should CDlinux start Graphical User Interface (X Window) automatically?

  default: yes, if X installed and RAM >128M
  example:
      CDL_GUI=yes
      CDL_GUI=no

CDL_LANG

System language/locale.

  default: en_US.UTF-8
  example:
      CDL_LANG=zh_CN.UTF-8

CDL_LOOP

Should CDlinux install all modules in “loop” mode to save RAM?

  default: determined dynamically.
           If you have enough RAM, run in the memory.
           If no enough RAM, fallback to "loop" mode.
  example:
      CDL_LOOP=yes
      CDL_LOOP=no

CDL_WAIT

How many seconds should CDlinux wait for storage devices to get ready?

  default: 8 seconds, if needed.
  example:
      CDL_WAIT=16
doc/faq/cdl_options.txt · Last modified: 2009/11/23 20:02 (external edit)
Driven by DokuWiki www.chimeric.de 文泉驿提供动力 Recent changes RSS feed Valid CSS Valid XHTML 1.0
Graciously hosted by ibiblio.org. Get CDlinux at SourceForge.net. Fast, secure and Free Open Source software downloads