rev |
line source |
pankso@7
|
1 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
|
pankso@7
|
2 "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
pankso@7
|
3 <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
|
pankso@7
|
4 <head>
|
pankso@7
|
5 <title>SliTaz Handbook (en) - Gen LiveCD flavor</title>
|
pankso@7
|
6 <meta http-equiv="content-type" content="text/html; charset=ISO-8859-1" />
|
pankso@7
|
7 <meta name="description" content="slitaz tazlito build livecd flavor support all in RAM" />
|
pankso@7
|
8 <meta name="expires" content="never" />
|
pankso@7
|
9 <meta name="modified" content="2008-02-26 18:30:00" />
|
pankso@7
|
10 <meta name="publisher" content="www.slitaz.org" />
|
pankso@7
|
11 <meta name="author" content="Christophe Lincoln"/>
|
pankso@7
|
12 <link rel="shortcut icon" href="favicon.ico" />
|
pankso@7
|
13 <link rel="stylesheet" type="text/css" href="book.css" />
|
pankso@7
|
14 </head>
|
pankso@7
|
15 <body bgcolor="#ffffff">
|
pankso@7
|
16
|
pankso@7
|
17 <!-- Header and quick navigation -->
|
pankso@7
|
18 <div id="header">
|
pankso@7
|
19 <div align="right" id="quicknav">
|
pankso@7
|
20 <a name="top"></a>
|
pankso@7
|
21 <a href="liveusb.html">LiveUSB media</a> |
|
pankso@7
|
22 <a href="index.html">Table of contents</a>
|
pankso@7
|
23 </div>
|
pankso@7
|
24 <h1><font color="#3E1220">SliTaz Handbook (en)</font></h1>
|
pankso@7
|
25 </div>
|
pankso@7
|
26
|
pankso@7
|
27 <!-- Content. -->
|
pankso@7
|
28 <div id="content">
|
pankso@7
|
29 <div class="content-right"></div>
|
pankso@7
|
30
|
pankso@7
|
31 <h2><font color="#DF8F06">Generate a LiveCD flavor</font></h2>
|
pankso@7
|
32
|
pankso@7
|
33 <ul>
|
pankso@7
|
34 <li><a href="#tazlito">Tazlito</a> - SliTaz Live Tool.</li>
|
pankso@7
|
35 <li><a href="#get-flavor">Get a flavor</a> - Download a flavor file.</li>
|
pankso@7
|
36 <li><a href="#gen-distro">Gen your own distro</a> - Generate a Live distro in
|
pankso@7
|
37 one single command.</li>
|
pankso@7
|
38 </ul>
|
pankso@7
|
39
|
pankso@7
|
40 <a name="tazlito"></a>
|
pankso@7
|
41 <h3>Tazlito - SliTaz Live Tool</h3>
|
pankso@7
|
42 <p>
|
pankso@7
|
43 Tazlito is a tool to help generate and configure SliTaz LiveCD ISO images.
|
pankso@7
|
44 You can create a custom distro in two commands from a list of packages and a
|
pankso@7
|
45 flavor file, extract an existing ISO image to hack it, create new initramfs
|
pankso@7
|
46 and/or a new ISO. Most commands must be run by root, except the stats and the
|
pankso@7
|
47 configuration file manipulation. Like other SliTaz tiny utils, you can simply
|
pankso@7
|
48 type <code>tazlito usage</code> in a terminal to get a list of all
|
pankso@7
|
49 commands with a short description in English.
|
pankso@7
|
50 </p>
|
pankso@7
|
51
|
pankso@7
|
52 <a name="get-flavor"></a>
|
pankso@7
|
53 <h3>Get a flavor</h3>
|
pankso@7
|
54 <p>
|
pankso@7
|
55 SliTaz LiveCD can easily be rebuilt using Tazlito flavor support. A special
|
pankso@7
|
56 LiveCD flavor can be built from the LiveCD/RAM itself or from an installed
|
pankso@7
|
57 system. If you want to rebuild SliTaz from the LiveCD you need at least 256 Mb
|
pankso@7
|
58 of RAM and we recommend that you store the file on persistent media (USB key, HD,
|
pankso@7
|
59 etc). To start you need to get a flavor file from a SliTaz mirror, open a Xterm,
|
pankso@7
|
60 become root administrator and get the default core system:
|
pankso@7
|
61 </p>
|
pankso@7
|
62 <pre>
|
pankso@7
|
63 # tazlito get-flavor core
|
pankso@7
|
64 </pre>
|
pankso@7
|
65
|
pankso@7
|
66 <a name="gen-distro"></a>
|
pankso@7
|
67 <h3>Generate your own distro</h3>
|
pankso@7
|
68 <p>
|
pankso@7
|
69 The command <code>get-flavor</code> will download the core flavor, giving you a description
|
pankso@7
|
70 and a list of packages in the current directory with some additional files in
|
pankso@7
|
71 /home/slitaz/distro/addfiles (JWM menu, wallpapers, hacker files). From now on
|
pankso@7
|
72 you can add or remove packages in the list (<code>distro-packages.list</code>),
|
pankso@7
|
73 modify configuration files (<code>tazlito.conf</code>) and optionally modify
|
pankso@7
|
74 additional files. Then simply generate a LiveCD ISO image:
|
pankso@7
|
75 </p>
|
pankso@7
|
76 <pre>
|
pankso@7
|
77 # tazlito gen-distro
|
pankso@7
|
78 </pre>
|
pankso@7
|
79 <p>
|
pankso@7
|
80 The LiveCD ISO image, root filesystem (rootfs) and the content of the CD
|
pankso@7
|
81 (rootcd) are in /home/slitaz/distro. All repacked or downloaded packages are
|
pankso@7
|
82 stored by default in /home/slitaz/packages. If you want to chroot in the
|
pankso@7
|
83 rootfs to preconfigure the system, add more files in the rootcd directory or
|
pankso@7
|
84 add users, you just have to rebuild initramfs and the ISO image to generate
|
pankso@7
|
85 your new LiveCD:
|
pankso@7
|
86 </p>
|
pankso@7
|
87 <pre>
|
pankso@7
|
88 # tazlito gen-initiso
|
pankso@7
|
89 </pre>
|
pankso@7
|
90
|
pankso@7
|
91 <h4>Burn ISO and gen a flavor file</h4>
|
pankso@7
|
92 <p>
|
pankso@7
|
93 Tazlito can also burn the LiveCD and/or create a flavor file to keep your
|
pankso@7
|
94 modifications:
|
pankso@7
|
95 </p>
|
pankso@7
|
96 <pre>
|
pankso@7
|
97 # tazlito burn-iso
|
pankso@7
|
98 # tazlito gen-flavor
|
pankso@7
|
99 </pre>
|
pankso@7
|
100
|
pankso@7
|
101
|
pankso@7
|
102 <!-- End of content -->
|
pankso@7
|
103 </div>
|
pankso@7
|
104
|
pankso@7
|
105 <!-- Footer. -->
|
pankso@7
|
106 <div id="footer">
|
pankso@7
|
107 <div class="footer-right"></div>
|
pankso@7
|
108 <a href="#top">Top of the page</a> |
|
pankso@7
|
109 <a href="index.html">Table of contents</a>
|
pankso@7
|
110 </div>
|
pankso@7
|
111
|
pankso@7
|
112 <div id="copy">
|
pankso@7
|
113 Copyright © 2008 <a href="http://www.slitaz.org/en/">SliTaz</a> -
|
pankso@7
|
114 <a href="http://www.gnu.org/licenses/gpl.html">GNU General Public License</a>;<br />
|
pankso@7
|
115 Documentation is under
|
pankso@7
|
116 <a href="http://www.gnu.org/copyleft/fdl.html">GNU Free Documentation License</a>
|
pankso@7
|
117 and code is <a href="http://validator.w3.org/">valid xHTML 1.0</a>.
|
pankso@7
|
118 </div>
|
pankso@7
|
119
|
pankso@7
|
120 </body>
|
pankso@7
|
121 </html>
|