Dropping snapshot functionality, superseeded by awesome custom mount persistence.
[live-boot-grml.git] / manpages / de / live-boot.de.7
1 .\"*******************************************************************
2 .\"
3 .\" This file was generated with po4a. Translate the source file.
4 .\"
5 .\"*******************************************************************
6 .TH LIVE\-BOOT 7 06.06.2012 3.0~a31\-1 "Debian Live Project"
7
8 .SH NAME
9 \fBlive\-boot\fP \- System Boot Scripts
10
11 .SH DESCRIPTION
12 \fBlive\-boot\fP contains the scripts that configure a Debian Live system during
13 the boot process (early userspace).
14 .PP
15 .\" FIXME
16 live\-boot is a hook for the initramfs\-tools, used to generate a initramfs
17 capable to boot live systems, such as those created by
18 \fIlive\-helper\fP(7). This includes the Debian Live isos, netboot tarballs, and
19 usb stick images.
20 .PP
21 .\" FIXME
22 At boot time it will look for a (read\-only) media containing a "/live"
23 directory where a root filesystems (often a compressed filesystem image like
24 squashfs) is stored. If found, it will create a writable environment, using
25 aufs, for Debian like systems to boot from.
26
27 .SH CONFIGURATION
28 \fBlive\-boot\fP can be configured through a boot parameter or a configuration
29 file.
30 .PP
31 To configure the live\-boot parameters used by default in a live image, see
32 the \-\-bootappend\-live option in the \fIlb_config\fP(1) manual page.
33
34 .SS "Kernel Parameters"
35 \fBlive\-boot\fP is only activated if 'boot=live' was used as a kernel
36 parameter.
37 .PP
38 In addition, there are some more boot parameters to influence the behaviour,
39 see below.
40
41 .SS "Configuration Files"
42 \fBlive\-boot\fP can be configured (but not activated) through configuration
43 files. Those files can be placed either in the root filesystem itself
44 (/etc/live/boot.conf, /etc/live/boot.d/*.conf), or on the live media
45 (live/boot.conf, live/boot.d/*.conf).
46
47 .SH OPTIONS
48 .\" FIXME
49 \fBlive\-boot\fP currently features the following parameters.
50 .IP \fBaccess\fP=\fIACCESS\fP 4
51 Set the accessibility level for physically or visually impaired
52 users. ACCESS must be one of v1, v2, v3, m1, or m2. v1=lesser visual
53 impairment, v2=moderate visual impairment, v3=blindness, m1=minor motor
54 difficulties, m2=moderate motor difficulties.
55 .IP \fBconsole\fP=\fITTY,SPEED\fP 4
56 Set the default console to be used with the "live\-getty" option. Example:
57 "console=ttyS0,115200"
58 .IP \fBdebug\fP 4
59 Makes initramfs boot process more verbose.
60 .br
61 Use: debug=1
62 .br
63 Without setting debug to a value the messages may not be shown.
64 .IP \fBfetch\fP=\fIURL\fP 4
65 .IP \fBhttpfs\fP=\fIURL\fP 4
66 Another form of netboot by downloading a squashfs image from a given url.
67 The fetch method copies the image to ram and the httpfs method uses fuse and
68 httpfs2 to mount the image in place. Copying to ram requires more memory and
69 might take a long time for large images. However, it is more likely to work
70 correctly because it does not require networking afterwards and the system
71 operates faster once booted because it does not require to contact the
72 server anymore.
73 .br
74 Due to current limitations in busybox's wget and DNS resolution, an URL can
75 not contain a hostname but an IP only.
76 .br
77 Not working: http://example.com/path/to/your_filesystem.squashfs
78 .br
79 Working: http://1.2.3.4/path/to/your_filesystem.squashfs
80 .br
81 Also note that therefore it's currently not possible to fetch an image from
82 a namebased virtualhost of an httpd if it is sharing the ip with the main
83 httpd instance.
84 .br
85 You may also use the live iso image in place of the squashfs image.
86 .IP \fBiscsi\fP=\fIserver\-ip[,server\-port];target\-name\fP 4
87 Boot from an iSCSI target that has an iso or disk live image as one of its
88 LUNs. The specified target is searched for a LUN which looks like a live
89 media. If you use the \fBiscsitarget\fP software iSCSI target solution which is
90 packaged in Debian your ietd.conf might look like this:
91 .br
92 # The target\-name you specify in the iscsi= parameter
93 .br
94 Target <target\-name>
95   Lun 0 Path=<path\-to\-your\-live\-image.iso>,Type=fileio,IOMode=ro
96   # If you want to boot multiple machines you might want to look at tuning some parameters like
97   # Wthreads or MaxConnections
98 .IP \fBfindiso\fP=\fI/PATH/TO/IMAGE\fP 4
99 Look for the specified ISO file on all disks where it usually looks for the
100 \&.squashfs file (so you don't have to know the device name as in
101 fromiso=....).
102 .IP \fBfromiso\fP=\fI/PATH/TO/IMAGE\fP 4
103 Allows to use a filesystem from within an iso image that's available on
104 live\-media.
105 .IP \fBignore_uuid\fP 4
106 Do not check that any UUID embedded in the initramfs matches the discovered
107 medium. live\-boot may be told to generate a UUID by setting
108 LIVE_GENERATE_UUID=1 when building the initramfs.
109 .IP \fBverify\-checksums\fP 4
110 If specified, an MD5 sum is calculated on the live media during boot and
111 compared to the value found in md5sum.txt found in the root directory of the
112 live media.
113 .IP "\fBip\fP=[\fIDEVICE\fP]:[\fICLIENT_IP\fP]:[\fISERVER_IP\fP]:[\fIGATEWAY_IP\fP]:[\fINETMASK\fP]:[\fIHOSTNAME\fP]:[\fIAUTOCONF\fP] [,[\fIDEVICE\fP]:[\fICLIENT_IP\fP]:[\fISERVER_IP\fP]:[\fIGATEWAY_IP\fP]:[\fINETMASK\fP]:[\fIHOSTNAME\fP]:[\fIAUTOCONF\fP]]" 4
114 Let you specify the name(s) and the options of the interface(s) that should
115 be configured at boot time. Do not specify this if you want to use dhcp
116 (default). It will be changed in a future release to mimick official kernel
117 boot param specification
118 (e.g. ip=10.0.0.1::10.0.0.254:255.255.255.0::eth0,:::::eth1:dhcp).
119 .IP \fBip\fP=[\fIfrommedia\fP] 4
120 If this variable is set, dhcp and static configuration are just skipped and
121 the system will use the (must be) media\-preconfigured
122 /etc/network/interfaces instead.
123 .IP {\fBlive\-media\fP|\fBbootfrom\fP}=\fIDEVICE\fP 4
124 If you specify one of this two equivalent forms, live\-boot will first try to
125 find this device for the "/live" directory where the read\-only root
126 filesystem should reside. If it did not find something usable, the normal
127 scan for block devices is performed.
128 .br
129 Instead of specifing an actual device name, the keyword 'removable' can be
130 used to limit the search of acceptable live media to removable type
131 only. Note that if you want to further restrict the media to usb mass
132 storage only, you can use the 'removable\-usb' keyword.
133 .IP {\fBlive\-media\-encryption\fP|\fBencryption\fP}=\fITYPE\fP 4
134 live\-boot will mount the encrypted rootfs TYPE, asking the passphrase,
135 useful to build paranoid live systems :\-). TYPE supported so far are "aes"
136 for loop\-aes encryption type.
137 .IP \fBlive\-media\-offset\fP=\fIBYTES\fP 4
138 This way you could tell live\-boot that your image starts at offset BYTES in
139 the above specified or autodiscovered device, this could be useful to hide
140 the Debian Live iso or image inside another iso or image, to create "clean"
141 images.
142 .IP \fBlive\-media\-path\fP=\fIPATH\fP 4
143 Sets the path to the live filesystem on the medium. By default, it is set to
144 \&'/live' and you should not change that unless you have customized your media
145 accordingly.
146 .IP \fBlive\-media\-timeout\fP=\fISECONDS\fP 4
147 Set the timeout in seconds for the device specified by "live\-media=" to
148 become ready before giving up.
149 .IP \fBmodule\fP=\fINAME\fP 4
150 Instead of using the default optional file "filesystem.module" (see below)
151 another file could be specified without the extension ".module"; it should
152 be placed on "/live" directory of the live medium.
153 .IP \fBnetboot\fP[=nfs|cifs] 4
154 This tells live\-boot to perform a network mount. The parameter "nfsroot="
155 (with optional "nfsopts="), should specify where is the location of the root
156 filesystem.  With no args, will try cifs first, and if it fails nfs.
157 .IP \fBnfsopts\fP= 4
158 This lets you specify custom nfs options.
159 .IP \fBnofastboot\fP 4
160 This parameter disables the default disabling of filesystem checks in
161 /etc/fstab. If you have static filesystems on your harddisk and you want
162 them to be checked at boot time, use this parameter, otherwise they are
163 skipped.
164 .IP \fBnopersistence\fP 4
165 disables the "persistence" feature, useful if the bootloader (like syslinux)
166 has been installed with persistence enabled.
167 .IP \fBnoprompt\fP 4
168 Do not prompt to eject the CD or remove the USB flash drive on reboot.
169 .IP \fBnoprompt\fP=\fITYPE\fP 4
170 This tells live\-boot not to prompt to eject the CD (when noprompt=cd) or
171 remove the USB flash drive (when noprompt=usb) on reboot.
172 .IP \fBramdisk\-size\fP 4
173 This parameters allows to set a custom ramdisk size (it's the '\-o size'
174 option of tmpfs mount). By default, there is no ramdisk size set, so the
175 default of mount applies (currently 50% of available RAM). Note that this
176 option has no currently no effect when booting with toram.
177 .IP \fBswapon\fP 4
178 This parameter enables usage of local swap partitions.
179 .IP \fBpersistence\fP 4
180 live\-boot will probe devices for persistence media. These can be partitions
181 (with the correct GPT name), filesystems (with the correct label) or image
182 files (with the correct file name). Overlays are labeled/named either
183 "full\-ov", which will be mounted on /, or "custom\-ov", which can be
184 completely customized (see \fIlive\-persistence.conf\fP(5)). The order these are
185 handled are: full\-ov, custom\-ov. Overlay image files have extensions which
186 determines their filesystem, e.g. "custom\-ov.ext4".
187 .IP "\fBpersistence\-encryption\fP=\fITYPE1\fP,\fITYPE2\fP ... \fITYPEn\fP" 4
188 This option determines which types of encryption that we allow to be used
189 when probing devices for persistence media. If "none" is in the list, we
190 allow unencrypted media; if "luks" is in the list, we allow LUKS\-encrypted
191 media. Whenever a device containing encrypted media is probed the user will
192 be prompted for the passphrase. The default value is "none".
193 .IP \fBpersistence\-media\fP={\fIremovable\fP|\fIremovable\-usb\fP} 4
194 If you specify the keyword 'removable', live\-boot will try to find
195 persistence partitions on removable media only. Note that if you want to
196 further restrict the media to usb mass storage only, you can use the
197 \&'removable\-usb' keyword.
198 .IP "\fBpersistence\-method\fP=\fITYPE1\fP,\fITYPE2\fP ... \fITYPEn\fP" 4
199 This option determines which types of persistence media we allow. If
200 "overlay" is in the list, we consider overlays (i.e. "live\-rw" and
201 "home\-rw"). The default is "overlay".
202 .IP \fBpersistence\-path\fP=\fIPATH\fP 4
203 live\-boot will look for persistency files in the root directory of a
204 partition, with this parameter, the path can be configured so that you can
205 have multiple directories on the same partition to store persistency files.
206 .IP \fBpersistence\-read\-only\fP 4
207 Filesystem changes are not saved back to persistence media. In particular,
208 overlays and netboot NFS mounts are mounted read\-only.
209 .IP "\fBpersistence\-storage\fP=\fITYPE1\fP,\fITYPE2\fP ... \fITYPEn\fP" 4
210 This option determines which types of persistence storage to consider when
211 probing for persistence media. If "filesystem" is in the list, filesystems
212 with matching labels will be used; if "file" is in the list, all filesystems
213 will be probed for archives and image files with matching filenames. The
214 default is "file,filesystem".
215 .IP \fBpersistence\-subtext\fP=\fISUFFIX\fP 4
216 Add a suffix when searching for the image filenames or partition labels to
217 use for the above mentioned persistence feature, the SUFFIX will be added
218 after a dash (e.g.: "live\-sn" would transform to "live\-sn\-SUFFIX"). This is
219 handy to test multiple live\-boot based live\-systems with different
220 persistence storage choices.
221 .IP \fBquickreboot\fP 4
222 This option causes live\-boot to reboot without attempting to eject the media
223 and without asking the user to remove the boot media.
224 .IP \fBshowmounts\fP 4
225 This parameter will make live\-boot to show on "/" the ro filesystems (mostly
226 compressed) on "/live". This is not enabled by default because could lead to
227 problems by applications like "mono" which store binary paths on
228 installation.
229 .IP \fBsilent\fP 4
230 If you boot with the normal quiet parameter, live\-boot hides most messages
231 of its own. When adding silent, it hides all.
232 .IP \fBtodisk\fP=\fIDEVICE\fP 4
233 Adding this parameter, live\-boot will try to copy the entire read\-only media
234 to the specified device before mounting the root filesystem. It probably
235 needs a lot of free space. Subsequent boots should then skip this step and
236 just specify the "live\-media=DEVICE" boot parameter with the same DEVICE
237 used this time.
238 .IP \fBtoram\fP 4
239 Adding this parameter, live\-boot will try to copy the whole read\-only media
240 to the computer's RAM before mounting the root filesystem. This could need a
241 lot of ram, according to the space used by the read\-only media.
242 .IP \fBunion\fP=aufs|unionfs 4
243 .\" FIXME
244 By default, live\-boot uses aufs. With this parameter, you can switch to
245 unionfs.
246
247 .\" FIXME
248 .SH "FILES (old)"
249 .IP \fB/etc/live.conf\fP 4
250 Some variables can be configured via this config file (inside the live
251 system).
252 .IP \fBlive/filesystem.module\fP 4
253 .\" FIXME
254 This optional file (inside the live media) contains a list of white\-space or
255 carriage\-return\-separated file names corresponding to disk images in the
256 "/live" directory. If this file exists, only images listed here will be
257 merged into the root aufs, and they will be loaded in the order listed
258 here. The first entry in this file will be the "lowest" point in the aufs,
259 and the last file in this list will be on the "top" of the aufs, directly
260 below /overlay.  Without this file, any images in the "/live" directory are
261 loaded in alphanumeric order.
262
263 .SH FILES
264 .IP \fB/etc/live/boot.conf\fP 4
265 .IP \fB/etc/live/boot.d/*.conf\fP 4
266 .IP \fBlive/boot.conf\fP 4
267 .IP \fBlive/boot.d/*.conf\fP 4
268 .IP \fBlive\-persistence.conf\fP 4
269
270 .SH "SEE ALSO"
271 \fIlive\-persistence.conf\fP(5)
272 .PP
273 \fIlive\-build\fP(7)
274 .PP
275 \fIlive\-config\fP(7)
276 .PP
277 \fIlive\-tools\fP(7)
278
279 .SH HOMEPAGE
280 More information about live\-boot and the Debian Live project can be found on
281 the homepage at <\fIhttp://live.debian.net/\fP> and in the manual at
282 <\fIhttp://live.debian.net/manual/\fP>.
283
284 .SH BUGS
285 Bugs can be reported by submitting a bugreport for the live\-boot package in
286 the Debian Bug Tracking System at <\fIhttp://bugs.debian.org/\fP> or by
287 writing a mail to the Debian Live mailing list at
288 <\fIdebian\-live@lists.debian.org\fP>.
289
290 .SH AUTHOR
291 live\-boot was written by Daniel Baumann <\fIdaniel@debian.org\fP> for
292 the Debian project.