website view en/doc/handbook/livecd.html @ rev 669

Move year to slitaz.css
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sat Oct 30 21:52:02 2010 +0200 (2010-10-30)
parents 0e0bc81a63ee
children
line source
1 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
2 "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
3 <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
4 <head>
5 <title>SliTaz Handbook (en) - LiveCD usage and options</title>
6 <meta http-equiv="content-type" content="text/html; charset=ISO-8859-1" />
7 <meta name="description" content="slitaz LveCD usage boot options boot" />
8 <meta name="expires" content="never" />
9 <meta name="modified" content="2009-03-25 11:45:00" />
10 <meta name="publisher" content="www.slitaz.org" />
11 <meta name="author" content="Christophe Lincoln"/>
12 <link rel="shortcut icon" href="favicon.ico" />
13 <link rel="stylesheet" type="text/css" href="book.css" />
14 </head>
15 <body bgcolor="#ffffff">
17 <!-- Header and quick navigation -->
18 <div id="header">
19 <div align="right" id="quicknav">
20 <a name="top"></a>
21 <a href="desktop.html">Desktop</a> |
22 <a href="index.html">Table of contents</a>
23 </div>
24 <h1><font color="#3E1220">SliTaz Handbook (en)</font></h1>
25 </div>
27 <!-- Content. -->
28 <div id="content">
29 <div class="content-right"></div>
31 <h2><font color="#DF8F06">LiveCD usage and options</font></h2>
33 <ul>
34 <li><a href="livecd.html#boot">Boot from a cdrom.</a></li>
35 <li><a href="livecd.html#options">Options to pass at boot.</a></li>
36 <li><a href="livecd.html#kernel-param">Linux Kernel Parameters.</a></li>
37 <li><a href="livecd.html#usbmedia">Option : home=usb</a> - Use USB media as /home
38 partition.</li>
39 <li><a href="livecd.html#mapping">Options : lang=XX and kmap=XX</a> - Specify language
40 and keyboard.</li>
41 <li><a href="livecd.html#config">Option : config=&lt;device&gt;,&lt;path&gt;</a> -
42 Execute a script at boot time.</li>
43 <li><a href="livecd.html#screen">Option : screen=&lt;type&gt;</a> - Specify screen resolution.</li>
44 <li><a href="livecd.html#sound">Option : sound=*</a> - Disable sound support.</li>
45 <li><a href="livecd.html#modprobe">Option : modprobe=modules</a> - Load needed Kernel
46 modules.</li>
47 <li><a href="livecd.html#laptop">Option : laptop</a> - Load ac and battery modules.</li>
48 <li><a href="livecd.html#prev">Option : previous</a> - Rollback to previous filesystem.</li>
49 <li><a href="livecd.html#sessions">Sessions</a> - Logins, passwords and X.</li>
51 </ul>
53 <a name="boot"></a>
54 <h3>Boot from a cdrom</h3>
55 <p>
56 To boot SliTaz from a cdrom, just burn the ISO image onto a blank disc, then
57 reboot your computer with the disc in your cdrom drive. In most cases your
58 computer is already configured to boot from the cdrom, if this is not the case
59 you can change the boot order via the BIOS setup utility (generally by
60 pressing the F11, F12, Esc button or otherwise) a few seconds after starting
61 the machine. When you are in the BIOS, you can also change the boot sequence and
62 settings so that the cdrom comes first. Finally, remember to save your changes
63 before leaving the BIOS configuration interface. The first splash image
64 is powered by isolinux bootloader, you can then just press <code>ENTER</code>
65 with or without any options to start system initialization. Note that pressing
66 <code>F1-F4</code> will display help and information. SliTaz runs entirely
67 in memory and will not damage the installed host system. When the boot
68 process is finished, you can login without any password as user
69 <code>tux</code>. To become root administrator, you can use the command
70 <code>su</code> with the password <code>root</code> in a XTerm window or
71 the Linux console. In LiveCD mode the <em>root</em> password is <code>root</code>.
72 </p>
74 <a name="options"></a>
75 <h3>Options and parameters to pass at boot</h3>
76 <p>
77 The SliTaz LiveCD can pass various <em>boot</em> options via the command prompt powered by syslinux.
78 There are two types of options: those of SliTaz and those of the Linux Kernel.
79 The options for SliTaz are used by various startup scripts and the parameters
80 such as the VGA mode are managed directly by the Kernel (<em>kernel boot parameters</em>).
81 To pass options at startup, just precede your commands with <code>slitaz</code>
82 </p>
83 <pre> slitaz vga=791 no387
84 </pre>
85 <p>
86 Note that the Linux Kernel keeps data passed to <em>boot</em> in the text file <code>/proc/cmdline</code>.
87 On a GNU/Linux system, you can view this information by running the command:
88 </p>
89 <pre> $ cat /proc/cmdline
90 </pre>
92 <a name="kernel-param"></a>
93 <h3>Parameters of the Linux Kernel</h3>
94 <p>
95 On GNU/Linux systems, parameters specific to the Kernel vary greatly depending on
96 the configuration used in compiling it. The kernel used by SliTaz
97 is constructed with a minimum of modules and offers very
98 few modifiable parameters at startup. However, you can disable the
99 emulation of a math coprocessor via option: <code>no387</code> and/or activate
100 <code>irqpoll</code> in the case of problems with interrupts (CD/DVD). The SliTaz
101 Kernel also provides a video output mode for the VGA Vesa <em>framebuffer</em>
102 - this is what displays the tux logo and manages the display of the Linux terminal.
103 Once the system has started you have access to six pseudo terminals via the key combinations
104 <code>Ctrl+alt+F1</code>, <code>Ctrl+alt+F2</code>, and so on.
105 </p>
107 <h4>vga=XXX - VGA Kernel modes</h4>
108 <pre class="script">Colors | 640x480 800x600 1024x768 1280x1024 1600x1200
109 -------------------------------------------------------
110 256 | 769 771 773 775 796
111 32768 | 784 787 790 793 797
112 65536 | 785 788 791 794 798
113 16,8M | 786 789 792 795 799
114 </pre>
116 <a name="usbmedia"></a>
117 <h3>Option : home=usb</h3>
118 <p>
119 To store your data permanently (bookmarks, downloads, Firefox Add-ons, etc),
120 you need USB media with a partition formatted in <code>ext3</code> and it must
121 specify <code>home=usb</code> for <code>sda1</code> (most cases) or
122 <code>home=devname</code> at boot time. Note that you can also specify the
123 device using the partition UUID or label by using <code>home=*</code>. Example:
124 </p>
125 <pre>
126 slitaz home=sda1
127 </pre>
128 <h4>Prepare USB media</h4>
129 <p>
130 All USB media can formatted in the native Linux <code>ext3</code> filesystem.
131 Ext3 is a journaled, stable filesystem, it allows you to keep permissions
132 on all files and is much more secure than the default Windows FAT32 filesystem.
133 To format USB media you have a few options: the command line with
134 <code>mkfs.ext3</code>, the <code>tazusb</code> utility or graphically with Gparted.
135 To get a full list of available partitions including the USB drive you can use the command
136 <code>fdisk -l</code> and then format. Example:
137 </p>
138 <pre>
139 # fdisk -l
140 # tazusb format /dev/sda1
141 </pre>
143 <a name="mapping"></a>
144 <h3>Options : lang=XX and kmap=XX</h3>
145 <p>
146 When you use the LiveCD you have two options to directly configure the system
147 language and keyboard mapping. These options can be set by simply navigating to
148 your country code and reloading the bootloader configuration with <code>ENTER</code>.
149 To skip the language and keyboard configuration you can simply type options on the command
150 line, for English/UK:
151 </p>
152 <pre>
153 slitaz lang=en kmap=en
154 </pre>
156 <a name="config"></a>
157 <h3>Option : config=&lt;device&gt;,&lt;path&gt;</h3>
158 <p>
159 The <code>config=</code> option lets you execute a script at SliTaz boot time,
160 the script can be located on external media or a HD partition. For example, the
161 script can mount an ISO image on <code>/usr</code> to save memory and boot the
162 LiveCD on computers with only 32 Mb of RAM. An example with a script named
163 <code>slitaz.sh</code> located on the first disk and partition:
164 </p>
165 <pre>
166 slitaz config=/dev/hda1,slitaz.sh
167 </pre>
169 <a name="screen"></a>
170 <h3>Option : screen=&lt;type&gt;</h3>
171 <p>
172 The <code>screen=</code> option lets you specify your screen resolution at boot.
173 Note that the <code>screen=text</code> option disables the Slim login manager. Example:
174 </p>
175 <pre> slitaz screen=1024x768x24
176 </pre>
178 <a name="sound"></a>
179 <h3>Option : sound=*</h3>
180 <p>
181 The option <code>sound=no</code> or <code>sound=noconf</code> lets you respectively disable all
182 of the modules and applications relating to sound to save memory (ram) or skip the automatic setup
183 of the sound card, but still allow you to manually configure if needed:
184 </p>
185 <pre> slitaz sound=no
186 </pre>
188 <a name="modprobe"></a>
189 <h3>Option : modprobe=modules</h3>
190 <p>
191 To load Kernel modules at boot time use the following example:
192 </p>
193 <pre>
194 slitaz modprobe=module1,module2
195 </pre>
197 <a name="laptop"></a>
198 <h3>Option : laptop</h3>
199 <p>
200 The option <code>laptop</code> will automatically load ac and battery Kernel
201 modules - useful for laptop computers:
202 </p>
203 <pre>
204 slitaz laptop
205 </pre>
207 <a name="prev"></a>
208 <h3>Option : previous</h3>
209 <p>
210 Used by the Tazusb utility to rollback to a previous filesystem:
211 </p>
212 <pre>
213 slitaz previous
214 </pre>
216 <a name="sessions"></a>
217 <h3>Sessions - Login, passwords and X</h3>
218 <p>
219 When the system has finished its initialization, the screen is cleared and the
220 login prompt or the session manager Slim is displayed. Now you can choose to login
221 as <code>tux</code> (without password) or as <code>root</code> administrator (password <code>root</code>).
222 Once logged into a session, you can use the many commands available in Busybox,
223 the GNU text editor Nano or the Clex file manager. You can initiate a graphical server
224 (X) via <code>startx</code> or connect to a remote machine via SSH or X.
225 The <code>startx</code> command will launch Xvesa and start the window manager.
226 </p>
227 <p>
228 The desktop is powered by Openbox, you can get the menu by right
229 clicking on the screen with the mouse buttons. Applications are
230 classified by category and are available in English. Menu, theme and wallpaper
231 can all easily be changed to your needs/preferences, and
232 personal settings and data can be stored on various USB media (Flash key, SD card, etc).
233 </p>
234 <p>
235 To launch a X session from the Linux console, for example if you have passed the
236 <code>screen=text</code> option or if Slim is not configured to run at startup:
237 </p>
238 <pre> $ startx
239 </pre>
243 <!-- End of content -->
244 </div>
246 <!-- Footer. -->
247 <div id="footer">
248 <div class="footer-right"></div>
249 <a href="livecd.html#top">Top of the page</a> |
250 <a href="index.html">Table of contents</a>
251 </div>
253 <div id="copy">
254 Copyright &copy; <span class="year"></span> <a href="http://www.slitaz.org/en/">SliTaz</a> -
255 <a href="http://www.gnu.org/licenses/gpl.html">GNU General Public License</a>;<br />
256 Documentation is under
257 <a href="http://www.gnu.org/copyleft/fdl.html">GNU Free Documentation License</a>
258 and code is <a href="http://validator.w3.org/">valid xHTML 1.0</a>.
259 </div>
261 </body>
262 </html>