238c810cafaf9892f068eaed743aa17ff2a961b2
[live-boot-grml.git] / manpages / live-initramfs.en.7.txt
1 live-initramfs(7)
2 =================
3
4 Name
5 ----
6 live-initramfs - Debian Live initramfs hook
7
8 Synopsis
9 --------
10 BOOT=live
11
12 as kernel parameter at boot prompt.
13
14 Description
15 -----------
16
17 live-initramfs is a hook for the initramfs-tools, used to generate a initramfs
18 capable to boot live systems, such as those created by *live-helper*(7).
19 This includes the Debian Live isos, netboot tarballs, and usb stick images.
20
21 At boot time it will look for a (read-only) media containing a "/live"
22 directory where a root filesystems (often a compressed filesystem image like
23 squashfs) is stored. If found, it will create a writable environment, using
24 unionfs, for Debian like systems to boot from.
25
26 You probably do not want to install this package onto a non-live system,
27 although it will do no harm.
28
29 live-initramfs is a fork of link:http://packages.ubuntu.com/casper/[casper].
30 casper was originally written by Tollef Fog Heen <tfheen@canonical.com>
31 and Matt Zimmerman <mdz@canonical.com>.
32
33 Boot options
34 ------------
35
36 Here is the complete list of recognized boot parameters by live-initramfs.
37
38   access=*ACCESS*::
39
40 Set the accessibility level for physically or visually impared users. ACCESS
41 must be one of v1, v2, v3, m1, or m2. v1=lesser visual impairment, v2=moderate
42 visual impairment, v3=blindness, m1=minor motor difficulties, m2=moderate motor
43 difficulties.
44
45   console=*TTY,SPEED*::
46
47 Set the default console to be used with the "live-getty" option. Example:
48 "console=ttyS0,115200"
49
50   debug::
51
52 Makes initramfs boot process more verbose.
53
54   fetch=*URL*::
55
56 Another form of netboot by downloading a squashfs image from a given url,
57 copying to ram and booting it.
58
59   hostname=*HOSTNAME*, username=*USER*, userfullname=*USERFULLNAME*::
60
61 Those parameters lets you override values read from the config file.
62
63   ignore_uuid
64
65 Do not check that any UUID embedded in the initramfs matches the discovered medium.
66 casper may be told to generate a UUID by setting CASPER_GENERATE_UUID=1 when building the initramfs.
67
68   integrity-check::
69
70 If specified, an MD5 sum is calculated on the live media during boot and
71 compared to the value found in md5sum.txt found in the root directory of the
72 live media.
73
74   ip=**[CLIENT_IP]:[SERVER_IP]:[GATEWAY_IP]:[NETMASK]:[HOSTNAME]:[DEVICE]:[AUTOCONF] [,[CLIENT_IP]:[SERVER_IP]:[GATEWAY_IP]:[NETMASK]:[HOSTNAME]:[DEVICE]:[AUTOCONF]]***::
75
76 Let you specify the name(s) and the options of the interface(s) that should be
77 configured at boot time. Do not specify this if you want to use dhcp (default).
78 It will be changed in a future release to mimick official kernel boot param
79 specification (e.g. ip=10.0.0.1::10.0.0.254:255.255.255.0::eth0,:::::eth1:dhcp).
80
81   ip[=**frommedia**]::
82
83 If this variable is set, dhcp and static configuration are just skipped and the
84 system will use the (must be) media-preconfigured /etc/network/interfaces
85 instead.
86
87   {keyb|kbd-chooser/method}=**KEYBOARD**, {klayout|console-setup/layoutcode}=**LAYOUT**, {kvariant|console-setup/variantcode}=**VARIANT**, {kmodel|console-setup/modelcode}=**CODE**, koptions=**OPTIONS**::
88
89 Configure the running keyboard as specified, if this one misses live-initramfs
90 behaves as if "keyb=us" was specified. It will be interfered from "locale=" if
91 locale is only 2 lowecase letters as a special case. You could also specify
92 console layout, variant, code, and options (no defaults).
93
94   live-getty::
95
96 This changes the auto-login on virtual terminals to use the (experimental)
97 live-getty code. With this option set the standard kernel argument "console=" is
98 parsed and if a serial console is specified then live-getty is used to autologin
99 on the serial console.
100
101   {live-media|bootfrom}=**DEVICE**::
102
103 If you specify one of this two equivalent forms, live-initramfs will first try
104 to find this device for the "/live" directory where the read-only root
105 filesystem should reside. If it did not find something usable, the normal scan
106 for block devices is performed.
107
108   {live-media-encryption|encryption}=**TYPE**::
109
110 live-initramfs will mount the encrypted rootfs TYPE, asking the passphrase,
111 useful to build paranoid live systems :-). TYPE supported so far are "aes" for
112 loop-aes encryption type.
113
114   live-media-offset=**BYTES**::
115
116 This way you could tell live-initramfs that your image starts at offset BYTES in
117 the above specified or autodiscovered device, this could be useful to hide the
118 Debian Live iso or image inside another iso or image, to create "clean" images.
119
120   live-media-path=**PATH**::
121
122 Sets the path to the live filesystem on the medium. By default, it is set to
123 '/live' and you should not change that unless you have customized your media
124 accordingly.
125
126   live-media-timeout=**SECONDS**::
127
128 Set the timeout in seconds for the device specified by "live-media=" to become
129 ready before giving up.
130
131   {locale|debian-installer/locale}=**LOCALE**::
132
133 Configure the running locale as specified, if not present the live-media rootfs
134 configured locale will be used and if also this one misses live-initramfs behave
135 as "locale=en_US.UTF-8" was specified. If only 2 lowercase letter are specified
136 (like "it"), the "maybe wanted" locale is generated (like en:EN.UTF-8), in this
137 case if also "keyb=" is unspecified is set with those 2 lowercase letters
138 (keyb=us). Beside that facility, only UTF8 locales are supported by
139 live-initramfs.
140
141   module=**NAME**::
142
143 Instead of using the default optional file "filesystem.module" (see below)
144 another file could be specified without the extension ".module"; it should be
145 placed on "/live" directory of the live medium.
146
147   netboot[=**nfs**|**cifs**]::
148
149 This tells live-initramfs to perform a network mount. The parameter "nfsroot="
150 (with optional "nfsopts="), should specify where is the location of the root
151 filesystem.  With no args, will try cifs first, and if it fails nfs.
152
153   nfsopts=::
154
155 This lets you specify custom nfs options.
156
157   noautologin::
158
159 This parameter disables the automatic terminal login only, not touching gdk/kdm.
160
161   noxautologin::
162
163 This parameter disables the automatic login of gdm/kdm only, not touching
164 terminals.
165
166   nofastboot::
167
168 This parameter disables the default disabling of filesystem checks in
169 /etc/fstab. If you have static filesystems on your harddisk and you want them to
170 be checked at boot time, use this parameter, otherwise they are skipped.
171
172   nopersistent::
173
174 disables the "persistent" feature, useful if the bootloader (like syslinux) has
175 been installed with persistent enabled.
176
177   nosudo::
178
179 This parameter disables the automatic configuration of sudo.
180
181   noswap::
182
183 This parameter disables usage of local swap partitions.
184
185   nouser::
186
187 This parameter disables the creation of the default user completely.
188
189   noxautoconfig::
190
191 This parameter disables Xorg auto-reconfiguration at boot time. This is valuable
192 if you either do the detection on your own, or, if you want to ship a custom,
193 premade xorg.conf in your live system.
194
195   persistent::
196
197 live-initramfs will look for persistent and snapshot partitions or files labeled
198 "live-rw", "home-rw", and files called "live-sn*", "home-sn*" and will try to,
199 in order: mount as /cow the first, mount the second in /home, and just copy the
200 contents of the latter in appropriate locations (snapshots). Snapshots will be
201 tried to be updated on reboot/shutdown. Look at live-snapshot(1) for more
202 informations.
203
204   {preseed/file|file}=**FILE**::
205
206 A path to a file present on the rootfs could be used to preseed debconf
207 database.
208
209   package/question=**VALUE**::
210
211 All debian installed packages could be preseeded from command-line that way,
212 beware of blanks spaces, they will interfere with parsing, use a preseed file in
213 this case.
214
215   quickreboot::
216
217 This option causes live-initramfs to reboot without attempting to eject the
218 media and without asking the user to remove the boot media.
219
220   showmounts::
221
222 This parameter will make live-initramfs to show on "/" the ro filesystems
223 (mostly compressed) on "/live". This is not enabled by default because could
224 lead to problems by applications like "mono" which store binary paths on
225 installation.
226
227   textonly
228
229 Start up to text-mode shell prompts, disabling the graphical user interface.
230
231   timezone=**TIMEZONE**::
232
233 By default, timezone is set to UTC. Using the timezone parameter, you can set it
234 to your local zone, e.g. Europe/Zurich.
235
236   todisk=**DEVICE**::
237
238 Adding this parameter, live-initramfs will try to copy the entire read-only
239 media to the specified device before mounting the root filesystem. It probably
240 needs a lot of free space. Subsequent boots should then skip this step and just
241 specify the "live-media=DEVICE" boot parameter with the same DEVICE used this
242 time.
243
244   toram::
245
246 Adding this parameter, live-initramfs will try to copy the whole read-only media
247 to the computer's RAM before mounting the root filesystem. This could need a lot
248 of ram, according to the space used by the read-only media.
249
250   union=**unionfs**|**aufs**::
251
252 By default, live-initramfs uses unionfs. With this parameter, you can switch to
253 aufs.
254
255   utc=**yes**|**no**::
256
257 By default, Debian systems do assume that the hardware clock is set to UTC. You
258 can change or explicitly set it with this parameter.
259
260   xdebconf::
261
262 Uses xdebconfigurator, if present on the rootfs, to configure X instead of the
263 standard procedure (experimental).
264
265   xvideomode=**RESOLUTION**::
266
267 Doesn't do xorg autodetection, but enforces a given resolution.
268
269 Files
270 -----
271
272   /etc/live.conf
273
274 Some variables can be configured via this config file (inside the live system).
275
276    /live/filesystem.module
277
278 This optional file (inside the live media) contains a list of white-space or
279 carriage-return-separated file names corresponding to disk images in the "/live"
280 directory. If this file exists, only images listed here will be merged into the
281 root unionfs, and they will be loaded in the order listed here. The first entry
282 in this file will be the "lowest" point in the unionfs, and the last file in
283 this list will be on the "top" of the unionfs, directly below /cow.  Without
284 this file, any images in the "/live" directory are loaded in alphanumeric order.
285
286 See also
287 --------
288
289 live-snapshot(1), initramfs-tools(8), live-helper(7), live-initscripts(7),
290 live-webhelper(7)
291
292 Bugs
293 ----
294
295 Report bugs against live-initramfs
296 link:http://packages.qa.debian.org/live-initramfs[http://packages.qa.debian.org/live-initramfs].
297
298 Homepage
299 --------
300
301 More information about the Debian Live project can be found at
302 link:http://debian-live.alioth.debian.org/[http://debian-live.alioth.debian.org/] and
303 link:http://wiki.debian.org/DebianLive/[http://wiki.debian.org/DebianLive/].
304
305 Authors
306 -------
307
308 live-initramfs is maintained by Daniel Baumann <daniel@debian.org>
309 for the Debian project.
310
311 live-initramfs is a fork of link:http://packages.ubuntu.com/casper/[casper].
312 casper was originally written by Tollef Fog Heen <tfheen@canonical.com>
313 and Matt Zimmerman <mdz@canonical.com>.