website annotate en/doc/handbook/simple-gen-livecd.html @ rev 140

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