CULT: Kernel command line parameters

From Codtech


Contents

Standard command line parameters

There's also a page about Generic information on Kernel command line

break

At some specific points in the startup sequence the function maybe_break is called, and if the parameter to this function matches the one passed in the kernel command line a shell is spawned.

Possible values

bottom
casper-bottom
init
modules
mount
premount   default  
top
autoconfig (CULT classic custom only)
startx (CULT classic custom only)

Example

... break=mount ...

cryptopts

[...]

debug

[...]

init

The name of the init command

Possible values

  • /sbin/init   default  
  • path

ip

ip is then stored into IPOPTS and in some (if not all) of the cases this value is used by ipconfig#interface spec long form.

Possible values

  • (empty)   default  
  • <client-ip>:<server-ip>:<gw-ip>:<netmask>:<hostname>:<device>:<autoconf>
  • off

netboot

[...]

noresume

Disables resume and restores original swap space.

quiet

Disable log messages.


nfsroot

nfs root filesystem for disk-less boxes. See Documentation/nfsroot.txt in kernel documentation.

nfsroot=[<server-ip>:]<root-dir>[,<nfs-options>]

If the `nfsroot' parameter is NOT given on the command line, the default /tftpboot/%s will be used.

<server-ip> Specifies the IP address of the NFS server. If this field

is not given, the default address as determined by the `ip' variable (see below) is used. One use of this parameter is for example to allow using different servers for RARP and NFS. Usually you can leave this blank.

<root-dir> Name of the directory on the server to mount as root. If

there is a "%s" token in the string, the token will be replaced by the ASCII-representation of the client's IP address.

<nfs-options> Standard NFS options. All options are separated by commas.

If the options field is not given, the following defaults will be used:

	port		= as given by server portmap daemon
	rsize		= 1024
	wsize		= 1024
	timeo		= 7
	retrans		= 3
	acregmin	= 3
	acregmax	= 60
	acdirmin	= 30
	acdirmax	= 60
	flags		= hard, nointr, noposix, cto, ac

ro

Mount root device read-only on boot.

root

See CULT: Kernel command line parameters#root_2

rootdelay

Delay (in seconds) to pause before attempting to mount the root filesystem.

rootflags

Set root filesystem mount option string.

rw

Mount root device read-write on boot.

Module parameters

Module parameters can be specified in kernel command line as

... module.parameter=value ...

Example

... usbcore.blinkenlights=1 ...

CULT extra command line parameters

These are of CULT exclusive use. Some of these parameters are also used in the standard version of Debian/Ubuntu but the use is extended in CULT thus are listed here.

boot

Specifies the boot method.

Possible values

initrd
casper
local
nfs

Example

... boot=initrd ...

cult_debug

Enable debug.

Possible values

0   default  

Integer

Example

... cult_debug=1 ...

gmode

Grpahical mode

Posible values

  • 800x600x24   default  
  • XxYxBITS

Example

... gmode=1024x768x24 ...

mouse

Mouse device and buttons

Possible values

  • /dev/mouse,5   default  
  • mousedevice,mousebuttons

Example

... mouse=/dev/mouse,5 ...

rdp

Parameters for the rdesktop command line.

Spaces must be encoded as +.

Example

... rdp=-a+16+-k+es+192.168.107.228 ...

root

The root filesystem to use.

Possible values

The name of the root filesystem, can also be specified by LABEL or UUID. These options are useful when using AoE because is somewhat difficult to determine the AoE shelf and slot in advance.

The special value /dev/nfs is necessary to enable the pseudo-NFS-device. Note that it's not a real device but just a synonym to tell the kernel to use NFS instead of a real device with #nfsroot.

Example

... root=UUID=b057271a-6fb4-4ef2-af8c-50eb006948eb


rootfstype

The root filesystem type

session

The session name to run. See CULT: launcher.sh in CULT virtual manager and CULT classic standard.

In CULT classic custom this value is passed to /scripts/session script as a parameter in init.

Possible values

  • vm   default  
  • rdp
  • run-vm-session (same as vm)
  • run-rdp-session (same as rdp)
  • xdm (CULT classic custom only)
  • any other value as logn as run-value-session is defined

session_params

Command line parameters to #session in CULT: launcher.sh

xdm

Parameters for the command line when SESSION is xdm.

Spaces must be encoded as +.

Possible values

  • -broadcast   default  
  • -query+server
  • -indirect+server

Example

... xdm=-query+192.168.1.100 ...