Adding debian version 2.0~a1-1.
[live-boot-grml.git] / manpages / en / live-boot.7
1 .TH LIVE\-BOOT 7 2010\-05\-24 2.0~a1 "Debian Live Project"
2
3 .SH NAME
4 \fBlive\-boot\fR \- System Boot Scripts
5
6 .SH DESCRIPTION
7 \fBlive\-boot\fR contains the scripts that configure a Debian Live system during the boot process (early userspace).
8 .PP
9 .\" FIXME
10 live\-boot is a hook for the initramfs\-tools, used to generate a initramfs capable to boot live systems, such as those created by \fIlive\-helper\fR(7). This includes the Debian Live isos, netboot tarballs, and usb stick images.
11 .PP
12 At boot time it will look for a (read\-only) media containing a "/live" directory where a root filesystems (often a compressed filesystem image like squashfs) is stored. If found, it will create a writable environment, using aufs, for Debian like systems to boot from.
13 .\" FIXME
14
15 .SH CONFIGURATION
16 \fBlive\-boot\fR can be configured through a boot parameter or a configuration file.
17
18 .SS Kernel Parameters
19 \fBlive\-boot\fR is only activated if 'boot=live' was used as a kernel parameter.
20 .PP
21 In addition, there are some more boot parameters to influence the behaviour, see below.
22
23 .SS Configuration Files
24 \fBlive\-boot\fR can be configured (but not activated) through configuration files. Those files can be placed either in the root filesystem itself (/etc/live/boot.conf, /etc/live/boot.conf.d/), or on the live media (live/boot.conf, live/boot.conf.d/).
25
26 .SH OPTIONS
27 \fBlive\-boot\fR currently features the following parameters.
28 .\" FIXME
29 .IP "\fBaccess\fR=\fIACCESS\fR" 4
30 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 difficulties.
31 .IP "\fBconsole\fR=\fITTY,SPEED\fR" 4
32 Set the default console to be used with the "live\-getty" option. Example: "console=ttyS0,115200"
33 .IP "\fBdebug\fR" 4
34 Makes initramfs boot process more verbose.
35 .IP "\fBfetch\fR=\fIURL\fR" 4
36 Another form of netboot by downloading a squashfs image from a given url, copying to ram and booting it. Due to current limitations in busyboxs wget and DNS resolution, an URL can not contain a hostname but an IP only.
37 .br
38 Not working: http://example.com/path/to/your_filesystem.squashfs
39 .br
40 Working: http://1.2.3.4/path/to/your_filesystem.squashfs
41 .br
42 Also note that therefore it's currently not possible to fetch an image from a namebased virtualhost of an httpd if it is sharing the ip with the main httpd instance.
43 .IP "\fBhostname\fR=\fIHOSTNAME\fR, \fBusername\fR=\fIUSER\fR, \fBuserfullname\fR=\fIUSERFULLNAME\fR" 4
44 Those parameters lets you override values read from the config file.
45 .IP "\fBignore_uuid\fR" 4
46 Do not check that any UUID embedded in the initramfs matches the discovered medium. live\-boot may be told to generate a UUID by setting LIVE_GENERATE_UUID=1 when building the initramfs.
47 .IP "\fBintegrity\-check\fR" 4
48 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.
49 .IP "\fBip\fR=[\fICLIENT_IP\fR]:[\fISERVER_IP\fR]:[\fIGATEWAY_IP\fR]:[\fINETMASK\fR]:[\fIHOSTNAME\fR]:[\fIDEVICE\fR]:[\fIAUTOCONF\fR] [,[\fICLIENT_IP\fR]:[\fISERVER_IP\fR]:[\fIGATEWAY_IP\fR]:[\fINETMASK\fR]:[\fIHOSTNAME\fR]:[\fIDEVICE\fR]:[\fIAUTOCONF\fR]]" 4
50 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=10.0.0.1::10.0.0.254:255.255.255.0::eth0,:::::eth1:dhcp).
51 .IP "\fBip\fR=[\fIfrommedia\fR]" 4
52 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 instead.
53 .IP "{\fBkeyb\fR|\fBkbd\-chooser/method\fR}=\fIKEYBOARD\fR, {\fBklayout\fR|\fBconsole\-setup/layoutcode\fR}=\fILAYOUT\fR, {\fBkvariant\fR|\fBconsole\-setup/variantcode\fR}=\fIVARIANT\fR, {\fBkmodel\fI|\fBconsole\-setup/modelcode\fR}=\fICODE\fR, \fBkoptions\fR=\fIOPTIONS\fR" 4
54 Configure the running keyboard as specified, if this one misses live\-boot 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).
55 .IP "\fBlive\-getty\fR" 4
56 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.
57 .IP "{\fBlive\-media\fR|\fBbootfrom\fR}=\fIDEVICE\fR" 4
58 If you specify one of this two equivalent forms, live\-boot 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.
59 .br
60 Instead of specifing an actual device name, the keyword 'removable' can be used to limit the search of acceptable live media to removable type only. Note that if you want to further restrict the media to usb mass storage only, you can use the 'removable\-usb' keyword.
61 .IP "{\fBlive\-media\-encryption\fR|\fBencryption\fR}=\fITYPE\fI" 4
62 live\-boot 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.
63 .IP "\fBlive\-media\-offset\fR=\fIBYTES\fR" 4
64 This way you could tell live\-boot 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.
65 .IP "\fBlive\-media\-path\fR=\fIPATH\fR" 4
66 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 accordingly.
67 .IP "\fBlive\-media\-timeout\fR=\fISECONDS\fI" 4
68 Set the timeout in seconds for the device specified by "live\-media=" to become ready before giving up.
69 .IP "{\fBlocale\fR|\fBdebian\-installer/locale\fR}=\fILOCALE\fR" 4
70 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\-boot behave as "locale=en_US.UTF\-8" was specified. If only 2 lowercase letter are specified (like "it"), the "maybe wanted" locale is generated (like en:EN.UTF\-8), in this case if also "keyb=" is unspecified is set with those 2 lowercase letters (keyb=us). Beside that facility, only UTF8 locales are supported by live\-boot.
71 .IP "\fBmodule\fR=\fINAME\fR" 4
72 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.
73 .IP "\fBnetboot\fR[=nfs|cifs]" 4
74 This tells live\-boot 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.
75 .IP "\fBnfsopts\fR=" 4
76 This lets you specify custom nfs options.
77 .IP "\fBnoautologin\fR" 4
78 This parameter disables the automatic terminal login only, not touching gdk/kdm.
79 .IP "\fBnoxautologin\fR" 4
80 This parameter disables the automatic login of gdm/kdm only, not touching terminals.
81 .IP "\fBnofastboot\fR" 4
82 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.
83 .IP "\fBnopersistent\fR" 4
84 disables the "persistent" feature, useful if the bootloader (like syslinux) has been installed with persistent enabled.
85 .IP "\fBnoprompt\fR" 4
86 Do not prompt to eject the CD or remove the USB flash drive on reboot.
87 .IP "\fBnosudo\fR" 4
88 This parameter disables the automatic configuration of sudo.
89 .IP "\fBswapon\fR" 4
90 This parameter enables usage of local swap partitions.
91 .IP "\fBnouser\fR" 4
92 This parameter disables the creation of the default user completely.
93 .IP "\fBnoxautoconfig\fR" 4
94 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.
95 .IP "\fBpersistent\fR[=nofiles]" 4
96 live\-boot 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, in order: mount as /cow the first, mount the second in /home, and just copy the contents of the latter in appropriate locations (snapshots). Snapshots will be tried to be updated on reboot/shutdown. Look at live\-snapshot(1) for more informations. If "nofiles" is specified, only filesystems with matching labels will be searched; no filesystems will be traversed looking for archives or image files. This results in shorter boot times.
97 .IP "\fBpersistent\-path\fR=\fIPATH\fR" 4
98 live\-boot will look for persistency files in the root directory of a partition, with this parameter, the path can be configured so that you can have multiple directories on the same partition to store persistency files.
99 .IP "{\fBpreseed/file\fR|\fBfile\fR}=\fIFILE\fR" 4
100 A path to a file present on the rootfs could be used to preseed debconf database.
101 .IP "\fBpackage/question\fR=\fIVALUE\fR" 4
102 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.
103 .IP "\fBquickreboot\fR" 4
104 This option causes live\-boot to reboot without attempting to eject the media and without asking the user to remove the boot media.
105 .IP "\fBshowmounts\fR" 4
106 This parameter will make live\-boot 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 installation.
107 .IP "\fBsilent\fR" 4
108 If you boot with the normal quiet parameter, live\-boot hides most messages of its own. When adding silent, it hides all.
109 .IP "\fBtextonly\fR" 4
110 Start up to text\-mode shell prompts, disabling the graphical user interface.
111 .IP "\fBtimezone\fR=\fITIMEZONE\fR" 4
112 By default, timezone is set to UTC. Using the timezone parameter, you can set it to your local zone, e.g. Europe/Zurich.
113 .IP "\fBtodisk\fR=\fIDEVICE\fR" 4
114 Adding this parameter, live\-boot will try to copy the entire read\-only media to the specified device before mounting the root filesystem. It probably needs a lot of free space. Subsequent boots should then skip this step and just specify the "live\-media=DEVICE" boot parameter with the same DEVICE used this time.
115 .IP "\fBtoram\fR" 4
116 Adding this parameter, live\-boot 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.
117 .IP "\fBunion\fR=aufs|unionfs\fR" 4
118 By default, live\-boot uses aufs. With this parameter, you can switch to unionfs.
119 .IP "\fButc\fR=yes|no" 4
120 By default, Debian systems do assume that the hardware clock is set to UTC. You can change or explicitly set it with this parameter.
121 .IP "\fBxdebconf\fR" 4
122 Uses xdebconfigurator, if present on the rootfs, to configure X instead of the standard procedure (experimental).
123 .IP "\fBxvideomode\fR=\fIRESOLUTION\fR" 4
124 Doesn't do xorg autodetection, but enforces a given resolution.
125 .\" FIXME
126
127 .\" FIXME
128 .SH FILES (old)
129 .IP "\fB/etc/live.conf\fR" 4
130 Some variables can be configured via this config file (inside the live system).
131 .IP "\fBlive/filesystem.module\fR" 4
132 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" directory. If this file exists, only images listed here will be merged into the root aufs, and they will be loaded in the order listed here. The first entry in this file will be the "lowest" point in the aufs, and the last file in 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.
133 .IP "\fB/etc/live\-persistence.binds\fR" 4
134 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 content does not need to survive reboots when using the persistence features.
135 .br
136 This saves expensive writes and speeds up operations on volatile data such as web caches and temporary files (like e.g. /tmp and .mozilla) which are regenerated each time. This is achieved by bind mounting each listed directory with a tmpfs on the original path.
137 .\" FIXME
138
139 .SH FILES
140 .IP "\fB/etc/live/boot.conf\fR" 4
141 .IP "\fB/etc/live/boot.conf.d/\fR" 4
142 .IP "\fBlive/boot.conf\fR" 4
143 .IP "\fBlive/boot.conf.d/\fR" 4
144
145 .SH SEE ALSO
146 \fIlive\-snapshot\fR(1)
147 .PP
148 \fIlive\-config\fR(7)
149 .PP
150 \fIlive\-helper\fR(7)
151
152 .SH HOMEPAGE
153 More information about live\-boot and the Debian Live project can be found on the homepage at <\fIhttp://live.debian.net/\fR> and in the manual at <\fIhttp://live.debian.net/manual/\fR>.
154
155 .SH BUGS
156 Bugs can be reported by submitting a bugreport for the live\-boot package in the Debian Bug Tracking System at <\fIhttp://bugs.debian.org/\fR> or by writing a mail to the Debian Live mailing list at <\fIdebian-live@lists.debian.org\fR>.
157
158 .SH AUTHOR
159 live\-boot was written by Daniel Baumann <\fIdaniel@debian.org\fR> for the Debian project.