a70f12513c3dd6dbf6e7d72b1b7a449b87960a7e
[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 05.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
182 image/archive files (with the correct file name). Overlays are labeled/named
183 either "full\-ov", which will be mounted on /, or "custom\-ov", which can be
184 completely customized (see \fIlive\-persistence.conf\fP(5)); snapshots are
185 labeled/named either "live\-sn" or "home\-sn" and will be extracted into / or
186 /home, respectively (see \fIlive\-snapshot\fP(1) for more information). The
187 order these are handled are: full\-ov, custom\-ov, live\-sn, home\-sn. Overlay
188 image files and snapshot archive files have extensions which determines
189 their filesystem or archive type, e.g. "custom\-ov.ext4" and
190 "home\-sn.squashfs".
191 .IP "\fBpersistence\-encryption\fP=\fITYPE1\fP,\fITYPE2\fP ... \fITYPEn\fP" 4
192 This option determines which types of encryption that we allow to be used
193 when probing devices for persistence media. If "none" is in the list, we
194 allow unencrypted media; if "luks" is in the list, we allow LUKS\-encrypted
195 media. Whenever a device containing encrypted media is probed the user will
196 be prompted for the passphrase. The default value is "none".
197 .IP \fBpersistence\-media\fP={\fIremovable\fP|\fIremovable\-usb\fP} 4
198 If you specify the keyword 'removable', live\-boot will try to find
199 persistence and snapshot partitions on removable media only. Note that if
200 you want to further restrict the media to usb mass storage only, you can use
201 the 'removable\-usb' keyword.
202 .IP "\fBpersistence\-method\fP=\fITYPE1\fP,\fITYPE2\fP ... \fITYPEn\fP" 4
203 This option determines which types of persistence media we allow. If
204 "overlay" is in the list, we consider overlays (i.e. "live\-rw" and
205 "home\-rw"); if "snapshot" is in the list, we consider snapshots
206 (i.e. "live\-sn" and "home\-sn"). The default is "overlay,snapshot".
207 .IP \fBpersistence\-path\fP=\fIPATH\fP 4
208 live\-boot will look for persistency files in the root directory of a
209 partition, with this parameter, the path can be configured so that you can
210 have multiple directories on the same partition to store persistency files.
211 .IP \fBpersistence\-read\-only\fP 4
212 Filesystem changes are not saved back to persistence media. In particular,
213 overlays and netboot NFS mounts are mounted read\-only, and snapshots are not
214 resynced on shutdown.
215 .IP "\fBpersistence\-storage\fP=\fITYPE1\fP,\fITYPE2\fP ... \fITYPEn\fP" 4
216 This option determines which types of persistence storage to consider when
217 probing for persistence media. If "filesystem" is in the list, filesystems
218 with matching labels will be used; if "file" is in the list, all filesystems
219 will be probed for archives and image files with matching filenames. The
220 default is "file,filesystem".
221 .IP \fBpersistence\-subtext\fP=\fISUFFIX\fP 4
222 Add a suffix when searching for the image filenames or partition labels to
223 use for the above mentioned persistence feature, the SUFFIX will be added
224 after a dash (e.g.: "live\-sn" would transform to "live\-sn\-SUFFIX"). This is
225 handy to test multiple live\-boot based live\-systems with different
226 persistence storage choices.
227 .IP \fBquickreboot\fP 4
228 This option causes live\-boot to reboot without attempting to eject the media
229 and without asking the user to remove the boot media.
230 .IP \fBshowmounts\fP 4
231 This parameter will make live\-boot to show on "/" the ro filesystems (mostly
232 compressed) on "/live". This is not enabled by default because could lead to
233 problems by applications like "mono" which store binary paths on
234 installation.
235 .IP \fBsilent\fP 4
236 If you boot with the normal quiet parameter, live\-boot hides most messages
237 of its own. When adding silent, it hides all.
238 .IP \fBtodisk\fP=\fIDEVICE\fP 4
239 Adding this parameter, live\-boot will try to copy the entire read\-only media
240 to the specified device before mounting the root filesystem. It probably
241 needs a lot of free space. Subsequent boots should then skip this step and
242 just specify the "live\-media=DEVICE" boot parameter with the same DEVICE
243 used this time.
244 .IP \fBtoram\fP 4
245 Adding this parameter, live\-boot will try to copy the whole read\-only media
246 to the computer's RAM before mounting the root filesystem. This could need a
247 lot of ram, according to the space used by the read\-only media.
248 .IP \fBunion\fP=aufs|unionfs 4
249 .\" FIXME
250 By default, live\-boot uses aufs. With this parameter, you can switch to
251 unionfs.
252
253 .\" FIXME
254 .SH "FILES (old)"
255 .IP \fB/etc/live.conf\fP 4
256 Some variables can be configured via this config file (inside the live
257 system).
258 .IP \fBlive/filesystem.module\fP 4
259 This optional file (inside the live media) contains a list of white\-space or
260 carriage\-return\-separated file names corresponding to disk images in the
261 "/live" directory. If this file exists, only images listed here will be
262 merged into the root aufs, and they will be loaded in the order listed
263 here. The first entry in this file will be the "lowest" point in the aufs,
264 and the last file in this list will be on the "top" of the aufs, directly
265 below /overlay.  Without this file, any images in the "/live" directory are
266 loaded in alphanumeric order.
267 .IP \fB/etc/live\-persistence.binds\fP 4
268 This optional file (which resides in the rootfs system, not in the live
269 media) is used as a list of directories which not need be persistent:
270 ie. their content does not need to survive reboots when using the
271 persistence features.
272 .br
273 .\" FIXME
274 This saves expensive writes and speeds up operations on volatile data such
275 as web caches and temporary files (like e.g. /tmp and .mozilla) which are
276 regenerated each time. This is achieved by bind mounting each listed
277 directory with a tmpfs on the original path.
278
279 .SH FILES
280 .IP \fB/etc/live/boot.conf\fP 4
281 .IP \fB/etc/live/boot.d/*.conf\fP 4
282 .IP \fBlive/boot.conf\fP 4
283 .IP \fBlive/boot.d/*.conf\fP 4
284 .IP \fBlive\-persistence.conf\fP 4
285
286 .SH "SEE ALSO"
287 \fIlive\-snapshot\fP(1)
288 .PP
289 \fIlive\-persistence.conf\fP(5)
290 .PP
291 \fIlive\-build\fP(7)
292 .PP
293 \fIlive\-config\fP(7)
294 .PP
295 \fIlive\-tools\fP(7)
296
297 .SH HOMEPAGE
298 More information about live\-boot and the Debian Live project can be found on
299 the homepage at <\fIhttp://live.debian.net/\fP> and in the manual at
300 <\fIhttp://live.debian.net/manual/\fP>.
301
302 .SH BUGS
303 Bugs can be reported by submitting a bugreport for the live\-boot package in
304 the Debian Bug Tracking System at <\fIhttp://bugs.debian.org/\fP> or by
305 writing a mail to the Debian Live mailing list at
306 <\fIdebian\-live@lists.debian.org\fP>.
307
308 .SH AUTHOR
309 live\-boot was written by Daniel Baumann <\fIdaniel@debian.org\fP> for
310 the Debian project.