    <rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:sy="http://purl.org/rss/1.0/modules/syndication/" xmlns:admin="http://webns.net/mvcb/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:content="http://purl.org/rss/1.0/modules/content/">
     <channel>
        <title>ACCU  :: Using a Live Linux Distribution</title>
        <link>https://members.accu.org/index.php/articles/689</link>
        <description>Professionalism in Programming</description>
        <dc:language>en-us</dc:language> 
        <dc:creator>Administrator</dc:creator> 
        <admin:generatorAgent rdf:resource="http://www.xaraya.org" /> 
        <admin:errorReportsTo rdf:resource="mailto:webeditor@accu.org" />
       <sy:updatePeriod>hourly</sy:updatePeriod>
       <sy:updateFrequency>1</sy:updateFrequency>
       <docs>http://backend.userland.com/rss</docs>




<div class="xar-mod-head"><span class="xar-mod-title">CVu Journal Vol 16, #4 - Aug 2004</span></div>

<table border="0" cellpadding="1" cellspacing="0">
    <tbody>
    <tr>
        <td valign="top">
            Browse in :
       </td>
       <td valign="top">

                                            <a href="https://members.accu.org/index.php/articles/">All</a>

                     &gt;                         <a href="https://members.accu.org/index.php/articles/c76/">Journals</a>

                     &gt;                         <a href="https://members.accu.org/index.php/articles/c77/">CVu</a>

                     &gt;                         <a href="https://members.accu.org/index.php/articles/c101/">164</a>
<br />
</td>
   </tr>
   </tbody>
</table>




<div class="xar-error">
   <p>
 <strong>Note:</strong> when you create a new publication type,
the articles module will automatically use the templates
<em>user-display-[publicationtype].xt</em>
and <em>user-summary-[publicationtype].xt</em>.
If those templates do not exist when you try to preview or display a new article,
you'll get this warning :-)  Please place your own templates in themes/<em>yourtheme</em>/modules/articles . The templates will get the extension .xt there. </p>
</div>
<div class="xar-norm xar-standard-box-padding">
   <h1><strong>Title:</strong>&nbsp;Using a Live Linux Distribution</h1>
<p><strong>Author:</strong>&nbsp;</p>
<p>
<strong>Date:</strong> 03 August 2004 13:16:07 +01:00 or Tue, 03 August 2004 13:16:07 +01:00</p>
<p><strong>Summary:</strong>&nbsp;</p>
<p><strong>Body:</strong>&nbsp;<div class="sect1" lang="en">
<div class="titlepage">
<h2><a name="d0e20" id="d0e20"></a></h2>
</div>
<p>I think it was in C Vu that I first heard about Knoppix,
<a href="http://www.knoppix.org" target="_top">www.knoppix.org</a>
- a &quot;live&quot; Linux distribution that will run entirely from the CD,
needing no installation or configuration. It is very good for
demonstrating Linux, or for using a Linux desktop to sort something
out on a computer that otherwise runs Windows. It can also be used
to install Linux quickly; you get a Debian system that runs a
mixture of testing and unstable packages, and you can do package
management as you see fit. (A while ago I met someone who wanted a
free entry-level CAD package, and it was quicker for me to install
Linux and find a suitable package from <a href=
"http://www.debian.org" target="_top">www.debian.org</a> than it
would have been to look for an appropriate piece of Windows
software.)</p>
<p>What is even more useful is a document called &quot;Knoppix
Remastering HOWTO&quot;, available at <a href=
"http://www.knoppix.net/docs/index.php/KnoppixRemasteringHowto"
target=
"_top">www.knoppix.net/docs/index.php/KnoppixRemasteringHowto</a> -
this explains how to copy Knoppix into a spare directory on your
existing Linux hard drive, chroot into it and alter it as you see
fit, and then create a new CD image of the altered version. This is
useful for a number of reasons. Firstly, if you need to experiment
with recent, less stable packages but you don't want to upgrade
your existing stable Linux environment, you can safely mix both
distributions using this method (although if you are doing
<tt class="literal">chroot</tt> from a different distribution, make
sure to use something like su - so as to set the environment
variables correctly). Secondly, you can make customised bootable
CDs whenever you want to (I turned the process into a script to
make this easier, although the script is rather specific to my
system so I'll leave that as an exercise).</p>
<p>On slower computers it can take a few hours to generate the CD
image, but it is worth it. It means you are able to take your exact
customised environment to anyone else's PC and run it there, so
long as it is able to boot the CD (or the special floppy disk that
you can write). You may have problems persuading certain laptops to
do this, but most computers &quot;out there&quot; will be OK with it. An
alternative is to use VNC to access your desktop remotely, but that
needs a good Internet connection; customised CDs do not. There are
all kinds of uses for this. If you're familiar with Linux then it
will save a lot of time in comparison with messing around with
everybody's Windows setups.</p>
<p>I experimented using re-writeable CDs rather than ordinary CDRs.
Rewriteables are slower (both in writing and reading) and have
reduced capacity, and they will only work if you can get your PC to
boot off the CD recorder (they are not readable on ordinary
CD-ROMs). However they do save on resources when you're testing,
because they can be re-used.</p>
<p>If you are running on a machine with less than 256Mb of RAM then
you almost certainly want to make a swap file to make things run
faster. Swap files can be made on the hard disk on any FAT
partition, and any existing Linux swap partitions will be used
automatically. You can also save a persistent home directory on the
hard disk. (When you're mastering the Knoppix CD, it's worth
knowing that you shouldn't rely on anything being in the home
directory on startup. If you need something to be there by default
then you should arrange a boot-up script to put it there, but
please make the script do a test first because the user might be
running a persistent home directory on the hard drive and doesn't
want it to be restored to the default each time.)</p>
<p>There are many other versions of Knoppix that other people have
remastered. Gnoppix (<a href="http://www.gnoppix.org" target=
"_top">www.gnoppix.org</a>) is interesting because it is based on
the stable Debian distribution, rather than testing/unstable,
although I find that testing/unstable is fine in the context of
bootable CDs because these systems have comparatively short uptimes
and are used as desktop machines, not secure Internet servers. I
tried Morphix (<a href="http://www.morphix.org" target=
"_top">www.morphix.org</a>) which is supposed to be easier to
customise, but it does have its problems (in the current version at
the time of writing, any extra packages you add are copied to RAM
when the CD loads, which could cause problems if you want a lot of
packages and RAM is limited) - it's probably better to invest time
in remastering Knoppix yourself. Another interesting variant is
Oralux (<a href="http://www.oralux.org" target=
"_top">www.oralux.org</a>) which is designed for blind people and
takes you into an Emacs desktop with software speech synthesis (go
on, try it - everyone should have this experience). If you need
something other than Debian, there are also some live CDs based on
Red Hat and on BSD, but I haven't tried these as yet. Use Google
and DistroWatch if you want to find them.</p>
</div>
</p>
<p><strong>Notes:</strong>&nbsp;</p>
<p><em>More fields may be available via dynamicdata ..</em></p>
</div>
</channel>
</rss>
