root/morphix/trunk/how_tos/morphix_docbook.html

Revision 2, 18.5 kB (checked in by nextime, 2 years ago)

Initial import, branching from morphix svn

Line 
1 <html><head><meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1"><title>Morphix Manual</title><meta name="generator" content="DocBook XSL Stylesheets V1.68.1"></head><body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF"><div class="article" lang="en"><div class="titlepage"><div><div><h1 class="title"><a name="id2404097"></a>Morphix Manual</h1></div><div><div class="author"><h3 class="author"><span class="firstname">Brendan</span> <span class="othername">M</span> <span class="surname">Sleight</span></h3></div></div><div><div class="revhistory"><table border="1" width="100%" summary="Revision history"><tr><th align="left" valign="top" colspan="3"><b>Revision History</b></th></tr><tr><td align="left">Revision 0.1</td><td align="left">Sep 2005</td><td align="left">BMS</td></tr></table></div></div></div><hr></div><div class="toc"><p><b>Table of Contents</b></p><dl><dt><span class="section"><a href="#id2451501">Dedication</a></span></dt><dt><span class="section"><a href="#id2451512">Preface</a></span></dt><dd><dl><dt><span class="section"><a href="#id2451536">A look at Morphix: The Hack-friendly Live CD</a></span></dt></dl></dd><dt><span class="section"><a href="#id2450184">Morphix ISO README</a></span></dt><dt><span class="section"><a href="#id2449709">Morphing Morphix tools</a></span></dt><dt><span class="section"><a href="#id2449856">Appendix FAQ: Frequently Asked Questions FAQ</a></span></dt><dt><span class="section"><a href="#id2449913">Appendix About: This Document</a></span></dt><dt><span class="bibliography"><a href="#id2449929">Bibliography</a></span></dt><dt><span class="glossary"><a href="#id2450722">Glossary</a></span></dt><dt><span class="index"><a href="#id2450774">Index</a></span></dt></dl></div><div class="section" lang="en"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a name="id2451501"></a>Dedication</h2></div></div></div><p>To our benevolent leader Alextreme, debian and everyone at #morphix</p></div><div class="section" lang="en"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a name="id2451512"></a>Preface</h2></div></div></div><p>This is an attempt to document some of way to use Morphix. In particular to support a new Morphix LiveCD - MorphingMorphix.</p><p><a class="indexterm" name="id2451525"></a>
2 The following is an extract from Knoppix Hacks - 100 Industrial-Strength Tips and Tools describing Morphix.</p><div class="section" lang="en"><div class="titlepage"><div><div><h3 class="title"><a name="id2451536"></a>A look at Morphix: The Hack-friendly Live CD</h3></div></div></div><p>Given the popularity of Knoppix and the vast amount of people
3 working on derivative versions of Knoppix, it doesn't come as a
4 surprise that people have been working to make Knoppix easier to
5 modify and more flexible to use. In early 2003, Morphix was born out
6 of a number of Knoppix remasters' wishes to have a version of Knoppix
7 that was good at what they used Knoppix for: a base upon which to
8 build their own versions using Debian GNU/Linux.</p><div class="section" lang="en"><div class="titlepage"><div><div><h4 class="title"><a name="id2451555"></a>What makes Morphix so special compared to other Live CDs</h4></div></div></div><p>As you have seen in this book, there are a number of ways to change Knoppix to
9 your liking. However, these possibilities have always been, and probably always
10 will be, fairly limited. Knoppix was made for different goals: to detect your
11 hardware as fast and correct as possible, to be a good demonstration of Linux
12 and to include as much common-use Linux software as
13 possible. Morphix's goals however are different: Ease of
14 customization, ease of use, ease of installing. We are a lazy bunch,
15 but thanks to Klaus Knopper we had a solid place from which to work from.</p><p>Knoppix, and most Knoppix' derivatives, are fairly monolithic in
16 nature: They are essentially complete ready-made filesystems all
17 compressed into one file. Morphix on the other hand is built up around
18 the idea of modules: you have one module that boots your live CD and
19 detects your hardware, another that contains your live CD filesystem
20 and zero or more extra modules that can contain minor or major changes
21 and additions to the system. This way, Morphix promotes the reusing of
22 smaller, existing modules instead of one large /KNOPPIX/KNOPPIX
23 file. Complicated? Well, a look at a typical Morphix live CD might
24 help. This is the structure of Morphix 0.4-1 LightGUI, one of the
25 Morphix flavours:</p><p><span class="emphasis"><em>&lt;pre&gt;</em></span>
26 <span class="emphasis"><em>/base/boot.img</em></span>
27 <span class="emphasis"><em>/base/morphix</em></span>
28 <span class="emphasis"><em>/mainmod/MorphixMain-Light.mod</em></span>
29 <span class="emphasis"><em>&lt;/pre&gt;</em></span></p><p>While it seems quite empty, this is how we release typical versions
30 of Morphix. They are quite bare but offer users (or 'morphers', as we
31 call ourselves, as you will notice we have a strange lingo for the
32 uninitiated) more possibilities to change the resulting live CD. We
33 will take a closer look at these and other tricks in the hack \"Morphing
34 Morphix\" later on.</p><p>Morphix currently has four ready-to-burn \"combined ISOs\" available for
35 download and a list of extra modules available for whomever needs
36 them. All combined ISOs contain the Morphix installer, a graphical
37 tool for installing Morphix onto your harddisk, and a number of
38 other graphical and command line Morphix tools for various
39 purposes. Each of these live CDs has their own targeted audience&#8212;our
40 opinion has always been that we should offer (limited) choice to users
41 and as much choice as possible for developers:</p></div><div class="section" lang="en"><div class="titlepage"><div><div><h4 class="title"><a name="id2488180"></a>Morphix LightGUI</h4></div></div></div><p>Aimed at lower-end PCs, LightGUI features the XFCE4 desktop and
42 contains a reasonable amount of lighter tools. It was the initial
43 version of Morphix, and the aim has been to keep LightGUI small enough to
44 have it fit on 210MB CDR(W). LightGUI includes Abiword, Gnumeric, Dillo and
45 Firefox. For communication, Gaim and Xchat are included, and for
46 photo processing the GIMP has been added.</p></div><div class="section" lang="en"><div class="titlepage"><div><div><h4 class="title"><a name="id2450063"></a>Morphix Gnome</h4></div></div></div><p>Formerly named Morphix HeavyGUI, this flavour was for some time the
47 only conterpart of LightGUI. Including Gnome, OpenOffice.org,
48 Mozilla, and the kitchen sink, Morphix Gnome was aimed at office users
49 with more recent machines. Even so, a normal Morphix Gnome ISO still
50 doesn't fill up the whole (650MB) CD-ROM, and recent versions weigh in at
51 around 500MB.</p></div><div class="section" lang="en"><div class="titlepage"><div><div><h4 class="title"><a name="id2450084"></a>Morphix KDE</h4></div></div></div><p>Although primarily focused on GTK/Gnome, the Morphix crew acknowledges
52 that users might prefer KDE instead (and looking at the number of
53 derivatives, a lot of users do!). Morphix KDE contains the whole KDE suite of
54 programs, as well as Mozilla and other applications. Morphix KDE
55 sits inbetween LightGUI and Gnome when it comes to size, and fills up
56 approximately 400MB of space on your CD-ROM.</p></div><div class="section" lang="en"><div class="titlepage"><div><div><h4 class="title"><a name="id2450106"></a>Morphix Game</h4></div></div></div><p>An odd-ball in Morphix, this flavour contains the very light IceWM and
57 a very large number of Open Source games. BZflag, Frozen Bubble, Freecraft
58 and many, many others are sure to entertain the kids (or entertain the
59 kid in you) for quite a few hours. Normally Morphix Game also includes
60 one or more demo versions or free full versions of commercial Linux
61 games, adding to the fun. Gaming on Linux a rarity? This hasn't been
62 the case for many years, no matter what kind of games you enjoy!</p><p>All the official Morphix live CDs contain the Morphix installer, as
63 stated above. This tool allows users to easily install their Morphix
64 (or derivative) live CD onto a hard disk. Often overlooked, the
65 difference between a live CD and a hard disk install is very small
66 indeed. The Morphix installer is also built in a flexible manner so
67 that derivatives can even rebrand the Morphix installer, although the
68 source itself is licensed under the GNU GPL. A graphical partitioner
69 and series of configuration tools have been under development and are
70 likely to be part of Morphix by the time this book comes off the press.</p></div><div class="section" lang="en"><div class="titlepage"><div><div><h4 class="title"><a name="id2450143"></a>Derivatives</h4></div></div></div><p>A lot has been said about the number of Linux distributions recently. What
71 others see as a complicated mess, we see as a healthy, messy
72 eco-system. Morphix has quite a few offspring
73 and a lot of them are specially focussed at a single group of people
74 (ranging from Brazilian engineers, non-profit organizations or
75 self-proclaimed Hackers) or are providing a localized non-English
76 Linux distribution (ie. Chinese, Galicia/Spanish, Hindi, Arabic), the list
77 goes on and on. So, if the default Morphix Live CDs aren't to your
78 liking take a look on www.morphix.org for a list of related
79 projects. Even if you start 'morphing' from one of these derivatives,
80 you can be sure of a base to fall back to and a design that will get
81 your project 'live' and updated ASAP.</p><p>Happy Morphing!</p></div></div></div><div class="section" lang="en"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a name="id2450184"></a>Morphix ISO README</h2></div></div></div><p>If you're wondering what the directories on the cdrom do, this is the right
82 document. If not, take a look on morphix.org! (don't miss the FAQ or wiki)</p><p><a class="indexterm" name="id2450199"></a>
83 <span class="emphasis"><em>o /boot</em></span>
84         contains the init ramdisk, grub menu and kernel</p><p><a class="indexterm" name="id2450215"></a>
85 <span class="emphasis"><em>o /base</em></span>
86         contains morphix, the module that detects/configures your hardware and
87         contains your standard kernel modules.</p><p><a class="indexterm" name="id2450232"></a>
88 <span class="emphasis"><em>o /mainmod</em></span>
89         contains mainmodules, these are also cloop images, comparable to
90         the /base/morphix file, but using a different structure
91         see README.mainmod for info about the internal structure of these files
92         In short: mainmodules contain your filesystem, except for your kernel,
93         loadable kernel modules, and hardware detection scripts.</p><p><a class="indexterm" name="id2450258"></a>
94 <span class="emphasis"><em>o /minimod </em></span>
95         contains minimodules, again these are cloop images.
96         You don't need them, but you can add extra functionality by including
97         extra mainmodules. See README.minimod.</p><p><a class="indexterm" name="id2450276"></a>
98 <span class="emphasis"><em>o /exec </em></span>
99         If you place files in this directory, they will be executed at
100         boottime. Note that this does not mean that programs using X
101         will be executed, the proper way would be to add a line to .xinitrc
102         for this. Place the following in /exec/script.sh for example:
103           <span class="emphasis"><em>echo \"program\" &gt;&gt; /home/morph/.xinitrc</em></span>
104           <span class="emphasis"><em>echo \"program\" &gt;&gt; /home/morph/.xsession</em></span>
105         (Does Debian still use .xsession? not 100% sure, xinitrc should
106         be enough&#8230;)
107         Again, try this out. Exit from X, execute the script, and
108         'sh /morphix/init.sh'</p><p><a class="indexterm" name="id2449665"></a>
109 <span class="emphasis"><em>o /copy</em></span>
110         If you place files in this directory, they will be copied over to the
111         root of your filesystem. Use directories to place files in a certain
112         directory instead. For example, have:
113           <span class="emphasis"><em>/copy/home/morph/.xfce4/xfcerc</em></span>
114         to copy the xfcerc file to /home/morph/.xfce4/xfcerc at boottime.</p><pre class="literallayout">Interesting things can be done with adding files to locations like: +
115   '/copy/morphix/init.sh'
116 or
117   '/copy/morphix/loadmod.sh'</pre><pre class="literallayout">as these files are executed after being swapped. Great fun ;)</pre></div><div class="section" lang="en"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a name="id2449709"></a>Morphing Morphix tools</h2></div></div></div><p>A number of commandline tools and scripts are provided in order to help
118 you morph. You can find all of these in the Morphix repository,
119 see http://www.morphix.org/debian for details.</p><p><a class="indexterm" name="id2449724"></a>
120 <span class="emphasis"><em>- module-builder (morphix-modulebuilder)</em></span>
121         Constructs a module from a directory</p><p><a class="indexterm" name="id2449739"></a>
122 <span class="emphasis"><em>- module-extractor (morphix-moduleextractor)</em></span>
123         Extracts files from a module to a directory</p><p><a class="indexterm" name="id2449756"></a>
124 <span class="emphasis"><em>- make-iso (morphix-make-iso)</em></span>
125         Creates a bootable ISO from a directory, detects multiple base versions.</p><p><span class="emphasis"><em>- isomorph (morphix-isomorph)</em></span>
126         Lists modules on an ISO, adds or removes modules from an ISO, and more!</p><p><a class="indexterm" name="id2449779"></a>
127 <span class="emphasis"><em>- mmaker (morphix-mmaker)</em></span>
128         Creates a base or main module, using template files. Examples are in /usr/share/mmaker/templates.
129 See http://www.alextreme.org/phpwiki/index.php/ModuleMaker
130 and documentation in /usr/share/doc/mmaker for details.</p><p><span class="emphasis"><em>- isomaker (morphix-mmaker)</em></span>
131         Creates an iso, using one or more mmaker template files.
132         See documentation in /usr/share/doc/mmaker for details.</p><p><a class="indexterm" name="id2449810"></a>
133 <span class="emphasis"><em>- make-mini (morphix-mmaker)</em></span>
134         Commandline tool for building homedir and language minimodules.</p><p><span class="emphasis"><em>- install2mainmod (morphix-install2mainmod)</em></span>
135         Converts a running hdd install into a mainmodule.</p><p><a class="indexterm" name="id2449832"></a>
136 <span class="emphasis"><em>- minimod-gen (morphix-minimodgen)</em></span>
137         Provides a commandline interface for building simple minimodules.</p><p><span class="emphasis"><em>- addtoiso (morphix-addtoiso)</em></span>
138         Add file to an iso, without having to copy the file all within the image</p></div><div class="section" lang="en"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a name="id2449856"></a>Appendix FAQ: Frequently Asked Questions FAQ</h2></div></div></div><p><a class="indexterm" name="id2449864"></a></p><p>How do I get root, I need to be super user ?
139 <a class="indexterm" name="id2449877"></a></p><p>Open up a termina and type : -</p><p><span class="emphasis"><em>sudo sh</em></span></p><p>To set the root password : -</p><p><span class="emphasis"><em>sudo sh</em></span>
140 <span class="emphasis"><em>passwd</em></span></p><p>Other FAQs to follow.</p></div><div class="section" lang="en"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a name="id2449913"></a>Appendix About: This Document</h2></div></div></div><p>Written by Brendan Sleight, aka bmsleight. Using documents from many sources and help from many people.</p><p>Using asciidoc - txt files to DocBooks.</p></div><div class="bibliography"><div class="titlepage"><div><div><h2 class="title"><a name="id2449929"></a>Bibliography</h2></div></div></div><p>The bibliography list is an example of an AsciiDoc SimpleList, the
141 AsciiDoc source list items are bulleted with a <code class="literal">+</code> character.  The
142 first entry in this example has an anchor.</p><div class="bibliomixed"><p class="bibliomixed">
143 <span class="bibliomisc">
144 <a name="taoup"></a>[taoup] Eric Steven Raymond. <span class="emphasis"><em>The Art of Unix Programming</em></span>.
145   Addison-Wesley. ISBN 0-13-142901-9.
146 </span>
147 </p></div><div class="bibliomixed"><p class="bibliomixed">
148 <span class="bibliomisc">
149 <a name="walsh-muellner"></a>[walsh-muellner] Norman Walsh &amp; Leonard Muellner.
150   <span class="emphasis"><em>DocBook - The Definative Guide</em></span>. O'Reilly &amp; Associates. 199.
151   ISBN 1-56592-580-7.
152 </span>
153 </p></div><div class="bibliomixed"><p class="bibliomixed">
154 <span class="bibliomisc">
155 <a name="oreilly"></a>[oreilly] Kyle Rankin.
156   <span class="emphasis"><em>Knoppix Hacks 100 Industrial-Strength Tips and Tools</em></span>
157   ISBN: 0-596-00787-6
158 </span>
159 </p></div></div><div class="glossary"><div class="titlepage"><div><div><h2 class="title"><a name="id2450722"></a>Glossary</h2></div></div></div><p>Glossaries are optional. Glossaries are an example of an AsciiDoc
160 VariableList, the AsciiDoc glossary entry terms are terminated
161 by the <code class="literal">:-</code> characters.</p><dl><dt>
162 A glossary term
163 </dt><dd><p>
164         The corresponding (indented) definition.
165 </p></dd><dt>
166 A second glossary term
167 </dt><dd><p>
168         The corresponding (indented) definition.
169 </p></dd></dl></div><div class="index"><div class="titlepage"><div><div><h2 class="title"><a name="id2450774"></a>Index</h2></div></div></div><div class="index"><div class="indexdiv"><h3>B</h3><dl><dt>base, <a href="#id2450184">Morphix ISO README</a></dt><dt>boot, <a href="#id2450184">Morphix ISO README</a></dt></dl></div><div class="indexdiv"><h3>C</h3><dl><dt>copy, <a href="#id2450184">Morphix ISO README</a></dt></dl></div><div class="indexdiv"><h3>E</h3><dl><dt>exec, <a href="#id2450184">Morphix ISO README</a></dt></dl></div><div class="indexdiv"><h3>F</h3><dl><dt>Frequently Asked Questions, <a href="#id2449856">Appendix FAQ: Frequently Asked Questions FAQ</a></dt></dl></div><div class="indexdiv"><h3>K</h3><dl><dt>Knoppix Hacks, <a href="#id2451512">Preface</a></dt></dl></div><div class="indexdiv"><h3>M</h3><dl><dt>mainmod, <a href="#id2450184">Morphix ISO README</a></dt><dt>make-iso, <a href="#id2449709">Morphing Morphix tools</a></dt><dt>make-mini, <a href="#id2449709">Morphing Morphix tools</a></dt><dt>minimod, <a href="#id2450184">Morphix ISO README</a></dt><dt>minimodgen, <a href="#id2449709">Morphing Morphix tools</a></dt><dt>mmaker, <a href="#id2449709">Morphing Morphix tools</a></dt><dt>module-builder, <a href="#id2449709">Morphing Morphix tools</a></dt><dt>module-extractor, <a href="#id2449709">Morphing Morphix tools</a></dt></dl></div><div class="indexdiv"><h3>R</h3><dl><dt>Root - Super User, <a href="#id2449856">Appendix FAQ: Frequently Asked Questions FAQ</a></dt></dl></div></div></div></div></body></html>
Note: See TracBrowser for help on using the browser.