--- trunk/www/boot-params.html 2010/03/23 10:28:53 37 +++ trunk/www/boot-params.html 2010/05/21 14:49:03 56 @@ -78,8 +78,8 @@


Documentation: Boot parameters


25/02/2010 - v 3.1.0


Last update: 23/03/2010


26/03/2010 - v 3.1.0


Last update: 21/05/2010

@@ -134,68 +134,94 @@ Available kernels (boot images):


The boot parameters you can use are:

- -

General boot options

- - - -

Hardware, drivers and troubleshooting options

- - - -

Network auto-configuration and remote access

- -
@@ -220,14 +246,17 @@

The following info comes from the page titled The boot parameters for Clonezilla live.

- -
Clonezilla live is based on Debian live with clonezilla installed. Therefore there are 2 kinds of boot parameters: + + + +
Clonezilla live is based on Debian live with clonezilla installed. Therefore there are 2 kinds of boot parameters:
  1. Boot parameters from live-initramfs. You can refer to this manual of live-initramfs.
  2. Boot parameters specially for Clonezilla. All of them are named as "ocs_*", e.g. ocs_live_run, ocs_live_extra_param, ocs_live_batch, ocs_lang.
    • ocs_live_run is the main program to run in Clonezilla live to save or restore. or other command. Available program: ocs-live-general, ocs-live-restore or any command you write. Use the Absolute path in Clonezilla live.
      - e.g. ocs_live_run="ocs-live-general" + e.g. ocs_live_run="ocs-live-general"
      + //NOTE// You might have to use "sudo" command inside your own script, or you can assign it like: ocs_live_run="sudo bash /my-clonezilla"
    • ocs_live_extra_param will be used only when ocs_live_run=ocs-live-restore (not for ocs-live-general or any other), then it will be passed to ocs-sr. Therefore these parameters are actually those of ocs-sr.
      e.g. ocs_live_extra_param="-b -c restoredisk sarge-r5 hda"
    • ocs_live_keymap is for keymap used in Clonezilla live. Man install-keymap for more details.
      @@ -241,7 +270,17 @@
    • ocs_daemonon, ocs_daemonoff, ocs_numlk, ocs_capslk.
      Ex. for the first 2 parameters, ocs_daemonon="ssh", then ssh service will be turned on when booting. For the last 2 parameters, use "on" or "off", e.g. ocs_numlk=on to turn on numberlock when booting.
    • ocs_prerun, ocs_prerun1, ocs_prerun2... is for you to run a shell script before Clonezilla is started. E.g. ocs_prerun="/live/image/myscript.sh". If you have more commands to run, you can assign them in the order: ocs_prerun=..., ocs_prerun1=..., ocs_prerun2=.... If more than 10 parameters, remember to use ocs_prerun01, ocs_prerun02..., ocs_prerun11 to make it in order. -
    • ocs_live_run_tty. This option allows you to specify the tty where $ocs_live_run is run. By default $ocs_live_run is run on /dev/tty1 only. (It was also on /dev/ttyS0 before, but since Clonezilla live >= 1.2.3-22 no more this due to a problem). If you want to use ttyS0, for example, add live-getty and console=ttyS0,38400n81 in the boot parameter. +
    • ocs_live_run_tty. This option allows you to specify the tty where $ocs_live_run is run. By default $ocs_live_run is run on /dev/tty1 only. (It was also on /dev/ttyS0 before, but since Clonezilla live >= 1.2.3-22 no more this due to a problem). If you want to use ttyS0, for example, add live-getty and console=ttyS0,38400n81 in the boot parameter.
      + //NOTE//
      • This parameter was added in Clonezilla live 1.2.3-22 or later. +
      • If "live-getty console=$tty,38400n81" are assigned in the boot parameters, ocs_live_run_tty will honor $tty, even other value is assigned to ocs_live_run_tty in boot parameter. +
      • It's recommended to assign ocs_lang and ocs_live_keymap in the boot parameters too. +
    • ip, this option allows you to specify the network parameters for network card. In Clonezilla live a patched live-initramfs is used, which is different from the original live-initramfs so that you can assign DNS server, too. Its format is: ip=ethernet port,IP address, netmask, gateway, DNS. E.g. If you want to assing eth0 with IP address, netmask, gateway, DNS server, you can assign the following in the boot parameter:
      +If more than one network card, you can use ":" to separate them, e.g.:
    • Besides, "live-netdev" (yes, not ocs_live_netdev) can be used when using PXE booting, you can force to assign the network device to get filesystem.squashfs. This is useful when there are two or more NICs are linked. E.g. live-netdev="eth1" allows you to force the live-initramfs to use eth1 to fetch the root file system filesystem.squashfs.
@@ -337,7 +376,10 @@

@@ -366,113 +408,114 @@
 You probably do not want to install this package onto a non-live system,
 although it will do no harm.
-live-initramfs is a fork of link:http://packages.ubuntu.com/casper/[casper].
-casper was originally written by Tollef Fog Heen <tfheen@canonical.com>
-and Matt Zimmerman <mdz@canonical.com>.
+live-initramfs is a fork of casper.
+casper was originally written by Tollef Fog Heen &lt;tfheen@canonical.com&gt;
+and Matt Zimmerman &lt;mdz@canonical.com&gt;.
 Boot options
 Here is the complete list of recognized boot parameters by live-initramfs.
- access=*ACCESS*::
+  access=*ACCESS*::
 Set the accessibility level for physically or visually impared users. ACCESS
 must be one of v1, v2, v3, m1, or m2. v1=lesser visual impairment, v2=moderate
 visual impairment, v3=blindness, m1=minor motor difficulties, m2=moderate motor
- console=*TTY,SPEED*::
+  console=*TTY,SPEED*::
 Set the default console to be used with the "live-getty" option. Example:
- debug::
+  debug::
 Makes initramfs boot process more verbose.
- fetch=*URL*::
+  fetch=*URL*::
 Another form of netboot by downloading a squashfs image from a given url,
 copying to ram and booting it.
- hostname=*HOSTNAME*, username=*USER*, userfullname=*USERFULLNAME*::
+  hostname=*HOSTNAME*, username=*USER*, userfullname=*USERFULLNAME*::
 Those parameters lets you override values read from the config file.
- ignore_uuid
+  ignore_uuid
 Do not check that any UUID embedded in the initramfs matches the discovered
 medium. live-initramfs may be told to generate a UUID by setting
 LIVE_GENERATE_UUID=1 when building the initramfs.
- integrity-check::
+  integrity-check::
 If specified, an MD5 sum is calculated on the live media during boot and
 compared to the value found in md5sum.txt found in the root directory of the
 live media.
+     [DEVICE]:[AUTOCONF]]***::
 Let you specify the name(s) and the options of the interface(s) that should be
 configured at boot time. Do not specify this if you want to use dhcp (default).
 It will be changed in a future release to mimick official kernel boot param
 specification (e.g. ip=,:::::eth1:dhcp).
- ip[=**frommedia**]::
+  ip[=**frommedia**]::
 If this variable is set, dhcp and static configuration are just skipped and the
 system will use the (must be) media-preconfigured /etc/network/interfaces
- {keyb|kbd-chooser/method}=**KEYBOARD**, {klayout|console-setup/layoutcode}=**LAYOUT**,
-    {kvariant|console-setup/variantcode}=**VARIANT**,
-    {kmodel|console-setup/modelcode}=**CODE**, koptions=**OPTIONS**::
+  {keyb|kbd-chooser/method}=**KEYBOARD**, {klayout|console-setup/layoutcode}=**LAYOUT**,
+    {kvariant|console-setup/variantcode}=**VARIANT**, {kmodel|console-setup/modelcode}=
+    **CODE**, koptions=**OPTIONS**::
 Configure the running keyboard as specified, if this one misses live-initramfs
 behaves as if "keyb=us" was specified. It will be interfered from "locale=" if
 locale is only 2 lowecase letters as a special case. You could also specify
 console layout, variant, code, and options (no defaults).
- live-getty::
+  live-getty::
 This changes the auto-login on virtual terminals to use the (experimental)
 live-getty code. With this option set the standard kernel argument "console=" is
 parsed and if a serial console is specified then live-getty is used to autologin
 on the serial console.
- {live-media|bootfrom}=**DEVICE**::
+  {live-media|bootfrom}=**DEVICE**::
 If you specify one of this two equivalent forms, live-initramfs will first try
 to find this device for the "/live" directory where the read-only root
 filesystem should reside. If it did not find something usable, the normal scan
 for block devices is performed.
- {live-media-encryption|encryption}=**TYPE**::
+  {live-media-encryption|encryption}=**TYPE**::
 live-initramfs will mount the encrypted rootfs TYPE, asking the passphrase,
 useful to build paranoid live systems :-). TYPE supported so far are "aes" for
 loop-aes encryption type.
- live-media-offset=**BYTES**::
+  live-media-offset=**BYTES**::
 This way you could tell live-initramfs that your image starts at offset BYTES in
 the above specified or autodiscovered device, this could be useful to hide the
 Debian Live iso or image inside another iso or image, to create "clean" images.
- live-media-path=**PATH**::
+  live-media-path=**PATH**::
 Sets the path to the live filesystem on the medium. By default, it is set to
 '/live' and you should not change that unless you have customized your media
- live-media-timeout=**SECONDS**::
+  live-media-timeout=**SECONDS**::
 Set the timeout in seconds for the device specified by "live-media=" to become
 ready before giving up.
- {locale|debian-installer/locale}=**LOCALE**::
+  {locale|debian-installer/locale}=**LOCALE**::
 Configure the running locale as specified, if not present the live-media rootfs
 configured locale will be used and if also this one misses live-initramfs behave
@@ -482,65 +525,65 @@
 (keyb=us). Beside that facility, only UTF8 locales are supported by
- module=**NAME**::
+  module=**NAME**::
 Instead of using the default optional file "filesystem.module" (see below)
 another file could be specified without the extension ".module"; it should be
 placed on "/live" directory of the live medium.
- netboot[=**nfs**|**cifs**]::
+  netboot[=**nfs**|**cifs**]::
 This tells live-initramfs to perform a network mount. The parameter "nfsroot="
 (with optional "nfsopts="), should specify where is the location of the root
 filesystem.  With no args, will try cifs first, and if it fails nfs.
- nfsopts=::
+  nfsopts=::
 This lets you specify custom nfs options.
- noautologin::
+  noautologin::
 This parameter disables the automatic terminal login only, not touching gdk/kdm.
- noxautologin::
+  noxautologin::
 This parameter disables the automatic login of gdm/kdm only, not touching
- nofastboot::
+  nofastboot::
 This parameter disables the default disabling of filesystem checks in
 /etc/fstab. If you have static filesystems on your harddisk and you want them to
 be checked at boot time, use this parameter, otherwise they are skipped.
- nopersistent::
+  nopersistent::
 disables the "persistent" feature, useful if the bootloader (like syslinux) has
 been installed with persistent enabled.
- noprompt
+  noprompt
 Do not prompt to eject the CD on reboot.
- nosudo::
+  nosudo::
 This parameter disables the automatic configuration of sudo.
- swapon::
+  swapon::
 This parameter enables usage of local swap partitions.
- nouser::
+  nouser::
 This parameter disables the creation of the default user completely.
- noxautoconfig::
+  noxautoconfig::
 This parameter disables Xorg auto-reconfiguration at boot time. This is valuable
 if you either do the detection on your own, or, if you want to ship a custom,
 premade xorg.conf in your live system.
- persistent[=nofiles]::
+  persistent[=nofiles]::
 live-initramfs will look for persistent and snapshot partitions or files labeled
 "live-rw", "home-rw", and files called "live-sn*", "home-sn*" and will try to,
@@ -551,39 +594,39 @@
 will be searched; no filesystems will be traversed looking for archives or image
 files. This results in shorter boot times.
- {preseed/file|file}=**FILE**::
+  {preseed/file|file}=**FILE**::
 A path to a file present on the rootfs could be used to preseed debconf
- package/question=**VALUE**::
+  package/question=**VALUE**::
 All debian installed packages could be preseeded from command-line that way,
 beware of blanks spaces, they will interfere with parsing, use a preseed file in
 this case.
- quickreboot::
+  quickreboot::
 This option causes live-initramfs to reboot without attempting to eject the
 media and without asking the user to remove the boot media.
- showmounts::
+  showmounts::
 This parameter will make live-initramfs to show on "/" the ro filesystems
 (mostly compressed) on "/live". This is not enabled by default because could
 lead to problems by applications like "mono" which store binary paths on
- textonly
+  textonly
 Start up to text-mode shell prompts, disabling the graphical user interface.
- timezone=**TIMEZONE**::
+  timezone=**TIMEZONE**::
 By default, timezone is set to UTC. Using the timezone parameter, you can set it
 to your local zone, e.g. Europe/Zurich.
- todisk=**DEVICE**::
+  todisk=**DEVICE**::
 Adding this parameter, live-initramfs will try to copy the entire read-only
 media to the specified device before mounting the root filesystem. It probably
@@ -591,39 +634,39 @@
 specify the "live-media=DEVICE" boot parameter with the same DEVICE used this
- toram::
+  toram::
 Adding this parameter, live-initramfs will try to copy the whole read-only media
 to the computer's RAM before mounting the root filesystem. This could need a lot
 of ram, according to the space used by the read-only media.
- union=**aufs**|**unionfs**::
+  union=**aufs**|**unionfs**::
 By default, live-initramfs uses aufs. With this parameter, you can switch to
- utc=**yes**|**no**::
+  utc=**yes**|**no**::
 By default, Debian systems do assume that the hardware clock is set to UTC. You
 can change or explicitly set it with this parameter.
- xdebconf::
+  xdebconf::
 Uses xdebconfigurator, if present on the rootfs, to configure X instead of the
 standard procedure (experimental).
- xvideomode=**RESOLUTION**::
+  xvideomode=**RESOLUTION**::
 Doesn't do xorg autodetection, but enforces a given resolution.
- /etc/live.conf
+  /etc/live.conf
 Some variables can be configured via this config file (inside the live system).
-  /live/filesystem.module
+   /live/filesystem.module
 This optional file (inside the live media) contains a list of white-space or
 carriage-return-separated file names corresponding to disk images in the "/live"
@@ -633,7 +676,7 @@
 this list will be on the "top" of the aufs, directly below /cow.  Without
 this file, any images in the "/live" directory are loaded in alphanumeric order.
+ /etc/live-persistence.binds
 This optional file (which resides in the rootfs system, not in the live media)
 is used as a list of directories which not need be persistent: ie. their
@@ -655,24 +698,25 @@
 Report bugs against live-initramfs
 More information about the Debian Live project can be found at
-link:http://debian-live.alioth.debian.org/[http://debian-live.alioth.debian.org/] and
+http://debian-live.alioth.debian.org/ and
-live-initramfs is maintained by Daniel Baumann <daniel@debian.org>
+live-initramfs is maintained by Daniel Baumann &lt;daniel@debian.org&gt;
 for the Debian project.
-live-initramfs is a fork of link:http://packages.ubuntu.com/casper/[casper].
-casper was originally written by Tollef Fog Heen <tfheen@canonical.com>
-and Matt Zimmerman <mdz@canonical.com>.
+live-initramfs is a fork of casper. +casper was originally written by Tollef Fog Heen &lt;tfheen@canonical.com&gt; +and Matt Zimmerman &lt;mdz@canonical.com&gt;. +