/[clonezilla-sysresccd]/trunk/www/project.html
ViewVC logotype

Annotation of /trunk/www/project.html

Parent Directory Parent Directory | Revision Log Revision Log


Revision 28 - (hide annotations)
Wed Mar 17 23:46:34 2010 UTC (11 years, 6 months ago) by sng
File MIME type: text/html
File size: 26185 byte(s)
adding www directory
1 sng 28 <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
2     <html>
3     <head>
4     <link rel="alternate" type="application/rss+xml" title="RSS" href="http://clonezilla-sysresccd.hellug.gr/clonezilla-sysresccd.rss">
5     <link rel="shortcut icon" href="favicon.ico">
6     <title>Clonezilla-SysRescCD - Documentation: About the project</title>
7     <style type="text/css">
8     body { font-family: Arial, 'sans serif'; color: black; font-size: 12pt; background : url(null) fixed no-repeat; background-color: #333333; padding: 0; margin: 0; margin-top: 5px; margin-bottom: 5px; }
9    
10    
11    
12     #header {position:relative; display: block; width: 980px; height: 121px;margin: auto; padding: auto; background-color: #D37624; background-image: url('images/header.png');clear:both;}
13     #header h2{ color: #FFE6BC; font-weight: bold; font-size: 2.2em; margin:0; padding:0; padding-left: 10px; padding-top: 7px; text-shadow: #333333 2px 2px 4px;}
14     #header h3{ color: #FFE6BC; font-weight: bold; font-size: 1.8em; margin:0; padding: 0; padding-left: 10px; text-shadow: #333333 2px 2px 4px;}
15     #header h4{ color: #FFE6BC; font-weight: bold; font-size: 1.2em; margin:0; padding: 0; padding-left: 10px; padding-right: 10px; text-shadow: #333333 2px 2px 4px;}
16     #header a {text-decoration:none;}
17    
18     #contarea {display: block; width: 980px; margin: auto; padding: auto; background-color: #FFF2DD; clear:both;}
19    
20     #linkline { width: 980px; height: 29px;margin: auto; padding: auto; background-color: #D37624; background-image: url('images/linkline.png');clear:both; }
21     #linkline a{float: left; color: #FFE6BC; font-weight: bold; font-size: 0.8em; text-decoration: none; text-shadow: #333333 2px 2px 4px; padding-left: 10px; padding-right: 10px; padding-top: 5px;}
22     #linkline a:visited{color: #FFE6BC;}
23     #linkline a:hover{color: #333333;}
24     #linkline a.here {color: #333333; text-decoration: none;}
25    
26     #lastupdate {float: right; display: block; text-align: right; margin: 0; margin-top: -1.2em; padding: 0; padding-right: 15px;}
27    
28     #rss { float: right; text-align: right; padding-top: 3px;}
29    
30     #docline-top { float: right; padding-right: 40px; text-align: right; }
31     #docline-bottom { float: right; padding-right: 40px; text-align: right; font-size: 0.8em; padding-top: 15px; }
32     #docline-bottom a{ padding-left: 10px; padding-right: 10px; }
33    
34     #menu { float: right; display: block; width: 170px; margin: auto; padding: 15px; font-size: 0.8em; font-weight: bold; background-color: #FFE6BC;}
35     #menu h1 {color: #990000; font-size: 1.8em;text-shadow: gray 2px 2px 4px;}
36     #menu a,a:visited{ color: black; text-decoration: none; font-weight: normal;}
37     #menu a:hover{ text-decoration: underline;}
38     #menu p{ margin-bottom: 10px;}
39    
40     #content { float: left; display: block; width: 950px; margin: auto; padding: 15px;}
41    
42    
43     #footer {display: block; width: 980px; height: 100px;margin: auto; padding: auto; background-color: #D37624; background-image: url('images/footer.png');clear:both;text-shadow: #333333 2px 2px 4px;}
44     #footer p{color: #FFE6BC; font-weight: bold; padding:15px; padding-left: 10px;}
45     #footer a,a:visited{color: #FFE6BC; font-weight: bold; text-decoration:none;}
46     #footer a:hover{ color: #333333; text-decoration: none;}
47    
48    
49     #content H1,H2,H3,H4{color: #990000; text-align: left;}
50     #content H2{margin-top: 2em;}
51     #content H3{margin-top: 1.5em}
52     #content H4{margin-top: 1em}
53     #content li { margin-top: 1em;}
54     #content a,a:active,a:visited{text-decoration: none; color: #4075CA; font-weight: normal;}
55     #content a:hover{text-decoration: underline; font-weight: normal;}
56     #content .hidden{ display:none; }
57     #content p,td,table,tr,li { font-family: Arial, 'sans serif'; }
58     #content .nav{margin-left: 0pt;}
59     #content .newcode{font-family : "Courier New", Courier, monospace; font-weight: bold; background-color: #F2F2F2; border: solid 1px #DEDEDE;padding: 20pt;}
60     #content .note{margin-top: 30pt; margin-bottom: 30pt; text-align: left; background-color: #FFEFEF; border: double 3px; border-color: #FFD5D5;}
61     #content hr{color: Black; background-color: Black; height: 1px; border: none;}
62     #content .header-news{margin-top: 2em; margin-left: 25pt; font-weight: bold; color: #990000;}
63     #content .item-news{margin-left: 45pt; margin-right: 45pt;}
64     #content .otherpage{border: solid 1px darkgoldenrod; padding: 20pt; background-color: lemonchiffon;}
65     #content IMG {display: block; margin-left: auto; margin-right: auto; }
66     #content .red{color: white; background-color: Red; font-weight: bold;}
67     #lphp{text-align: right; padding-left: 10px; padding-right: 10px; padding-top: 50px; float: right;}
68     #lphp a{padding-left: 5px;}
69     </style>
70     <META NAME="Keywords" CONTENT="multiboot Multi Boot bootable cd rescue clonezilla sysresccd backup restore samba">
71     <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
72    
73     </head>
74    
75     <body>
76     <div id="header">
77     <div id="lphp" style=""><a target="_blank" href="onepage.php"><img src="images/chain.png" border="0" /></a><a target="_blank" href="printable.php"><img src="images/print_it.png" border="0" /></a></div>
78     <H2>Clonezilla-SysRescCD</H2>
79     <H3>Documentation: About the project</H3>
80     <div style="margin:0; padding: 3px; width: 980; position relative;">
81     <div style="position: absolute; left: 0px;"><H4>25/02/2010 - v 3.1.0</H4></div>
82     <div style="position: absolute; right: 0px;"><H4>Last update: 16/03/2010</H4></div>
83     </div>
84     </div>
85     <div id="linkline">
86     <a href="index.html">Home</a>
87     <a href="news.php">News</a>
88     <!-- <a href="features.html">Features</a>-->
89     <a class="here" href="doc.html">Documentation</a>
90     <a href="index.html#download">Download</a>
91     <a href="screenshots.html">Screenshots</a>
92     <a href="index.html#credits">Credits</a>
93     <a href="help.html">Help</a>
94    
95     <div id="rss">
96     <a href="clonezilla-sysresccd.rss"><img src="images/rss-orange-11.png" width="30" height="14" border="0"/></a>
97     </div>
98     <!-- docline-top-->
99     <div id="docline-top"> <a href="">&lt; PREV</a> <a href="doc.html">UP</a> <a href="custom-cd.html">NEXT &gt;</a> </div>
100     </div>
101     <div id="contarea">
102     <div id="content">
103     <a name="project-top"></a>
104    
105    
106     <!-- Intro -->
107    
108     <H2 style="margin-top: 0;"><a name="project-intro"></a>Intro <span class="hideprint">[<a href="#project-top" title="go to top of the page">^</a>]</span></H2>
109    
110     <p>In order to create <b>Clonezilla-SysRescCD</b>, I wrote <b>create-clonezilla-sysresccd</b>.<br><br>
111    
112     <b>create-clonezilla-sysresccd</b> is a BASH shell script that will help you join these popular linux live CDs. The original CDs have to be downloaded beforehand, and stored as ISO files. All the features of the original ISO/CDs are present in the new multi-boot CD.<br><br>
113    
114     The script copies all files from both ISOs to a temporary folder, integrates a new isolinux configuration file and creates a new ISO file that can be burnt to CD.<br><br>
115    
116     <a href="http://syslinux.zytor.com/iso.php" target="_blank">Isolinux</a> is a so called CD boot manager, that is controled by a configuration file called <b>isolinux.cfg</b>. The current implementation - based on <b>Clonezilla Live</b> - displays a list of boot options to the user. <b>create-clonezilla-sysresccd</b> provides two "sample" cfg files, to set the visible items of the boot options list:</p>
117     <ul>
118     <li><b>isolinux-full.cfg</b><br>This file contains all the features present in the original CDs</li>
119     <li><b>isolinux-minimal.cfg</b><br>Contains only these list items that are enough to utilize a Backup-Restore system<br>This means that the remaining features are invisible to the user, but they still exist in the CD.</li>
120     </ul>
121     <p>
122     <b>Important</b> <!--<span class="changed">&nbsp;New&nbsp;</span>--><br>Do NOT change these two files. They will be overwritten with every program update, to provide new features. Instead use them as templates for your <a href="#profiles">profiles</a>.
123     </p>
124    
125    
126     <!-- Quick creation of the CD -->
127     <H2><a name="quick"></a>Quick creation of the CD <span class="hideprint">[<a href="#project-top" title="go to top of the page">^</a>]</span><!-- <span class="changed">&nbsp;Updated&nbsp;</span>--></H2>
128     <p>Open <b>/root/.clonezilla-sysresccd/profiles.conf</b> in a text editor and:</p>
129     <ul>
130     <li>Add the lines<br>
131     &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<b>profile[2]=Multi-boot</b><br>
132     &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<b>sysCDP[2]=<font color="red">/location/of/your/systemrescuecd.iso</font></b><br>
133     &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<b>cloneCDP[2]=<font color="red">/location/of/your/clonezilla-live.iso</font></b><br><br>
134     if <b>sysCDP[2]</b> is already defined (profile <b>2</b> already exists), just use the <b>first</b> available number. This goes for every entry in this section.
135     </li>
136     <li>If you want to create the full CD, add the line<br>
137     &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<b>cfgFileP[2]=/root/.clonezilla-sysresccd/<font color="red">isolinux-full.cfg</font></b><br>
138     or else add the line<br>
139     &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<b>cfgFileP[2]=/root/.clonezilla-sysresccd/<font color="red">isolinux-minimal.cfg</font></b></li>
140     <li>If you want to use a customized splash screen, create a 640x480 32-bit png image file (for example <b>splash-screen.png</b>) providing your logo, personal page, email address etc., and add the line<br>
141     &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<b>splashP[2]=<font color="red">/location/of/your/splash-screen.png</font></b><br>
142     or use the default by adding<br>
143     &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<b>splashP[2]=<font color="red">/root/.clonezilla-sysresccd/default-ocswp.png</font></b></li>
144    
145     <li>Add any other variable in the file to suit your needs</li>
146     </ul>
147     <p>When you are done, create your CD by executing form console:</p>
148     <p class="newcode"><font color="Blue">create-clonezilla-sysresccd -p 2</font></p>
149     <p>
150     <b>Note<br></b>The CD you will create following this procedure will lack the customization I have done. If you wanted to have it, you would have to follow the procedure introduced in the page <a href="custom-cd.html" title=" How to create the custom CDs ">Custom&nbsp;CDs</a>.
151     </p>
152     <!-- Command line -->
153     <H2><a name="command"></a>Command line parameters <span class="hideprint">[<a href="#project-top" title="go to top of the page">^</a>]</span><!-- <span class="changed">&nbsp;Updated&nbsp;</span>--></H2>
154     <p>The program's command line parameters are the following:</p>
155     <table class="bordertable" cellpadding="5"><!--with-border-->
156     <tr>
157     <!-- show profiles and let user select profile to use -->
158     <td class="bordertable" valign="top" style="font-family: 'Courier New' , Courier, Monospace;">s</td>
159     <td class="bordertable" valign="top" style="font-family: 'Courier New' , Courier, Monospace;">
160     show profiles and let user select profile to use<br><br>
161     Profiles will be explained later in section <a href="#profiles">Using profiles</a>
162     </td></tr>
163    
164     <tr>
165     <!-- use profile number -->
166     <td class="bordertable" valign="top" style="font-family: 'Courier New' , Courier, Monospace;">p[number]</td>
167     <td class="bordertable" valign="top" style="font-family: 'Courier New' , Courier, Monospace;">
168     use profile number<br><br>
169     Profiles will be explained later in section <a href="#profiles">Using profiles</a>
170     </td></tr>
171    
172     <tr>
173     <!-- copy files only -->
174     <td class="bordertable" valign="top" style="font-family: 'Courier New' , Courier, Monospace;">f</td>
175     <td class="bordertable" valign="top" style="font-family: 'Courier New' , Courier, Monospace;">
176     copy files only. Don't create ISO file and don't<br>
177     burn anything on CD<br><br>
178     This is useful if you want to do some heavy customization<br>
179     Both ISOs are copied in folder <b>/root/tmp/clonezilla-sysresccd</b>
180     </td></tr>
181    
182     <tr>
183     <!-- don't copy files -->
184     <td class="bordertable" valign="top" style="font-family: 'Courier New' , Courier, Monospace;">nf</td>
185     <td class="bordertable" valign="top" style="font-family: 'Courier New' , Courier, Monospace;">
186     don't copy files. Use files existing in folder<br>
187     "/root/tmp/clonezilla-sysresccd".<br>
188     *** Caution: Dangerous!!! ***<br><br>
189     This will create (and optionally burn) an ISO file using files<br>
190     found in folder <b>/root/tmp/clonezilla-sysresccd</b><br><br>
191     <b>Caution:</b> The program does not check in any way the files in the <br>
192     given folder. It's up to you to provide a valid bootable CD / <br>
193     isolinux configuration
194     </td></tr>
195    
196     <tr>
197     <!-- only create ISO file -->
198     <td class="bordertable" valign="top" style="font-family: 'Courier New' , Courier, Monospace;">i</td>
199     <td class="bordertable" valign="top" style="font-family: 'Courier New' , Courier, Monospace;">
200     only create ISO file. Don't burn anything on CD
201     </td></tr>
202    
203     <tr>
204     <!-- burn a previously created ISO file -->
205     <td class="bordertable" valign="top" style="font-family: 'Courier New' , Courier, Monospace;">b</td>
206     <td class="bordertable" valign="top" style="font-family: 'Courier New' , Courier, Monospace;">
207     A user defined and written BASH script to be<br> executed just before mastering the CD<br><br>
208     This script could be used to automate alteration, addition or <br>removal of files from the fianl CD
209     </td></tr>
210    
211     <tr>
212     <!-- script to execute -->
213     <td class="bordertable" valign="top" style="font-family: 'Courier New' , Courier, Monospace;">x[script]</td>
214     <td class="bordertable" valign="top" style="font-family: 'Courier New' , Courier, Monospace;">
215     execute [script] before creating the ISO file
216     </td></tr>
217    
218     <tr>
219     <!-- print version and exit -->
220     <td class="bordertable" valign="top" style="font-family: 'Courier New' , Courier, Monospace;">v</td>
221     <td class="bordertable" valign="top" style="font-family: 'Courier New' , Courier, Monospace;">
222     print version and exit
223     </td></tr>
224    
225     <tr>
226     <!-- print this screen and exit -->
227     <td class="bordertable" valign="top" style="font-family: 'Courier New' , Courier, Monospace;">h</td>
228     <td class="bordertable" valign="top" style="font-family: 'Courier New' , Courier, Monospace;">
229     print this screen and exit
230     </td></tr></table>
231    
232    
233    
234     <!-- Configuration file -->
235     <H2><a name="config"></a>Configuration file <span class="hideprint">[<a href="#project-top" title="go to top of the page">^</a>]</span><!-- <span class="changed">&nbsp;Updated&nbsp;</span>--></H2>
236     <p>The program's configuration file is <b>/root/.clonezilla-sysresccd/clonezilla-sysresccd.conf</b>. There you can define all the working parameters for a CD creating session.<br><br>
237     The contents of the original <b>/root/.clonezilla-sysresccd/clonezilla-sysresccd.conf</b> are the following:</p>
238     <!-- <table border="1" cellpadding="15"> -->
239     <table class="bordertable" cellpadding="15"><!--with-border-->
240     <tr>
241     <td class="bordertable" style="font-family: 'Courier New' , Courier, Monospace;">
242     # Location of the latest SystemRescueCD ISO file<br>
243     sysCD=/all-users/liveCDs/systemrescuecd-x86-0.3.7.iso<br>
244     <br>
245     # Location of the latest Clonezilla Live ISO file<br>
246     cloneCD=/all-users/liveCDs/clonezilla-live-1.0.3-18.iso<br>
247     <br>
248     # Location of the new isolinux/isolinux.cfg file<br>
249     # Change it at your own risk!!!<br>
250     cfgFile=/root/.clonezilla-sysresccd/isolinux-minimal.cfg<br>
251     <br>
252     # Splash screen to use<br>
253     # It must be a valid 640x480 32-bit png image<br>
254     splash=/root/.clonezilla-sysresccd/default-ocswp.png<br>
255     <br>
256     <br>
257     # The output name of the program (ISO file) is:<br>
258     # clonezilla-sysresccd-"$outName"-"$version".iso<br>
259     # A good outName would be your name eg. 'spiros'<br>
260     # So the ISO file would be named:<br>
261     # clonezilla-sysresccd-spiros-"$version".iso<br>
262     outName=''<br>
263     <br>
264     <br>
265     # The name of a BASH script that will be executed<br>
266     # just before mastering the CD, (actually just<br>
267     # before the "splash screen" message is displayed<br>
268     # to the user<br>
269     exScript=''<br>
270     <br>
271     <br>
272     <br>
273     <br>
274     # CD info section<br>
275     <br>
276     # Specifies a text string that will be written into the volume<br>
277     # header. This should describe the preparer of the CD-ROM,<br>
278     # usually with a mailing address and phone number. There is space<br>
279     # on the disc for 128 characters of information.<br>
280     preparerID='Spiros Georgaras &lt;sng@hellug.gr&gt;'<br>
281     <br>
282     <br>
283     # Specifies a text string that will be written into the volume<br>
284     # header. This should describe the publisher of the CD-ROM,<br>
285     # usually with a mailing address and phone number. There is space<br>
286     # on the disc for 128 characters of information.<br>
287     publisher='Spiros Georgaras &lt;sng@hellug.gr&gt;'<br>
288     <br>
289     <br>
290     # Specifies the volume ID (volume name or label) to be written into<br>
291     # the master block. There is space on the disc for 32 characters of<br>
292     # information. Note that if you assign a volume ID, this is the name<br>
293     # that will be used as the mount point used by the Solaris volume<br>
294     # management system and the name that is assigned to the disc on a<br>
295     # Microsoft Win32 or Apple Mac platform.<br>
296     volLabel='Linux Backup Multi Boot CD'<br>
297    
298     </td></tr></table>
299     <p>If any of these parameters are left blank, the user will be asked to insert it by hand.</p>
300    
301    
302    
303     <!-- Profiles -->
304     <H2><a name="profiles"></a>Using profiles <span class="hideprint">[<a href="#project-top" title="go to top of the page">^</a>]</span><!-- <span class="changed">&nbsp;Updated&nbsp;</span>--></H2>
305     <p><b>create-clonezilla-sysresccd</b> can use profiles to make it easy to use preedited cfg files, user data etc. The profiles are defined in file <b>/root/.clonezilla-sysresccd/profiles.conf</b>. <b>create-clonezilla-sysresccd</b> comes with two predefined profile, called <i>Full</i> and <i>Backup/Restore</i>.
306     <br><br>
307     The contents of the original <b>/root/.clonezilla-sysresccd/profiles.conf</b> are the following:</p>
308     <table class="bordertable" cellpadding="15"><tr><td class="bordertable" style="font-family: 'Courier New' , Courier, Monospace;"><!--with-border-->
309     profile[0]=Full<br>
310     profile[1]='Backup/Restore'<br>
311     <br>
312     sysCDP[0]=/all-users/liveCDs/systemrescuecd-x86-0.3.7.iso<br>
313     sysCDP[1]=/all-users/liveCDs/systemrescuecd-x86-0.3.7.iso<br>
314     <br>
315     cloneCDP[0]=/all-users/liveCDs/clonezilla-live-1.0.3-18.iso<br>
316     cloneCDP[1]=/all-users/liveCDs/clonezilla-live-1.0.3-18.iso<br>
317     <br>
318     cfgFileP[0]=/root/.clonezilla-sysresccd/isolinux-full.cfg<br>
319     cfgFileP[1]=/root/.clonezilla-sysresccd/isolinux-minimal.cfg<br>
320     <br>
321     splashP[0]=''<br>
322     splashP[1]=''<br>
323     <br>
324     outNameP[0]='full'<br>
325     outNameP[1]=''<br>
326     <br>
327     exScriptP[0]=''<br>
328     exScriptP[1]=''<br>
329     <br>
330     preparerIDP[0]='Spiros Georgaras &lt;sng@hellug.gr&gt;'<br>
331     preparerIDP[1]='Spiros Georgaras &lt;sng@hellug.gr&gt;'<br>
332     <br>
333     publisherP[0]='Spiros Georgaras &lt;sng@hellug.gr&gt;'<br>
334     publisherP[1]='Spiros Georgaras &lt;sng@hellug.gr&gt;'<br>
335     <br>
336     volLabelP[0]='Linux Rescue CD'<br>
337     volLabelP[1]='Linux Backup CD'<br>
338    
339     </td></tr></table>
340     <p>As you can see, a profile can define all the working parameters for a CD creating session. If any of these parameters are left blank, the corresponding value from the configuration file will be used. If this is blank too, the user will be asked to insert it by hand.<br><br>
341     In order to use profile No 1, you should execute the command:</p>
342     <p class="newcode"><font color="Blue">create-clonezilla-sysresccd -p 1</font></p>
343     <p>
344     In order to see the active profiles and select one to use, you should execute the command:</p>
345     <p class="newcode"><font color="Blue">create-clonezilla-sysresccd -s</font>
346     </p>
347    
348    
349     <!-- Splash Screens -->
350     <H2><a name="splash"></a>Using splash screens <span class="hideprint">[<a href="#project-top" title="go to top of the page">^</a>]</span></H2>
351     <table width="100%" style="margin-right:20pt;margin-left: 10pt" border="0" cellpadding="5">
352     <tr><td valign="top"><b>create-clonezilla-sysresccd</b> can use a splash screen, an image with your logo and contact data. The default splash screen is file <b>/root/.clonezilla-sysresccd/default-ocswp.png</b>, a 640x480 32-bit png image.<br><br>
353    
354     You can use your own splash screen by setting it in file:<br>
355     &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<b>/root/.clonezilla-sysresccd/clonezilla-sysresccd.conf</b>, variable <b>splash</b><br>
356     or<br>
357     &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<b>/root/.clonezilla-sysresccd/profiles.conf</b>, variable <b>splashP[x]</b><br>
358     &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Then you use profile number <b>x</b> to create your CD
359     </td></tr></table>
360    
361    
362    
363    
364     <!-- Customization -->
365     <H2><a name="custom"></a>Customization <span class="hideprint">[<a href="#project-top" title="go to top of the page">^</a>]</span> <!--<span class="changed">&nbsp;Updated&nbsp;</span>--></H2>
366     <p>Apart from editing the <b>isolinux.cfg</b> file, the user can also remove or add a floppy disk image to the CD.</p>
367     <p>Floppy disk images are present in the <b>/bootdisk</b> folder on the CD, which corresponds to the <b>/root/tmp/clonezilla-sysresccd/bootdisk</b> folder, while creating the ISO file. Copying a floppy disk image file in this folder and adding an entry to the cfg file, is all one has to do to add extra features to the CD.</p>
368    
369    
370     <!-- Example -->
371     <H3><a name="project-ex1"></a>Example 1 [<a href="#project-top" title="go to top of the page">^</a>]</H3>
372     <p>Suppose you want to add a floppy disk image (<b>myfloppy.img</b>) to the final CD. You execute the program, and when prompted to copy additional files, you copy the image file in the <b>/root/tmp/clonezilla-sysresccd/bootdisk</b> folder. Then you open the cfg file you will use and copy/paste a floppy image entry. Finally you edit the pasted entry so that it will use your new floppy image.<br><br>
373    
374     To do that you can use the FreeDOS list entry, and convert it as it shows in the array below.</p>
375    
376     <div class="otherpage">
377     <table class="bordertable" cellpadding="15"><!--with-border-->
378     <tr>
379     <td class="bordertable" style="font-family: 'Courier New' , Courier, Monospace;">
380     label FreeDOS<br>
381     &nbsp;&nbsp;# MENU DEFAULT<br>
382     &nbsp;&nbsp;# MENU HIDE<br>
383     &nbsp;&nbsp;MENU LABEL FreeDOS<br>
384     &nbsp;&nbsp;# MENU PASSWD<br>
385     &nbsp;&nbsp;kernel memdisk<br>
386     &nbsp;&nbsp;append initrd=freedos.img
387     </td>
388     <td class="bordertable" style="font-family: 'Courier New' , Courier, Monospace;">
389     label <font color="Red">MyFloppy</font><br>
390     &nbsp;&nbsp;# MENU DEFAULT<br>
391     &nbsp;&nbsp;# MENU HIDE<br>
392     &nbsp;&nbsp;MENU LABEL <font color="Red">My floppy disk!!!</font><br>
393     &nbsp;&nbsp;# MENU PASSWD<br>
394     &nbsp;&nbsp;kernel memdisk<br>
395     &nbsp;&nbsp;append initrd=<font color="Red">myfloppy.img</font>
396     </td>
397     </tr>
398     </table>
399     </div>
400    
401     <p>Then you get back to the program, press ENTER, and the new ISO file will contain your new floppy image.<br><br>In order to remove the FreeDOS floppy image from the final CD, all you have to do is delete the file <b>freedos.img</b> from folder <b>/root/tmp/clonezilla-sysresccd/bootdisk</b>, and the corresponding entry form the cfg file.<br><br>
402     One could even try to integrate one more rescue CD (say <a href="http://www.damnsmalllinux.org/" target="_blank">Damn Small Linux</a>), if skillful enough.<br><br>
403     A final thing you might want to do is add html files to provide help to the user.</p>
404    
405    
406     <!-- Example 2 -->
407     <H3><a name="project-ex2"></a>Example 2 [<a href="#project-top" title="go to top of the page">^</a>]</H3>
408     <p>An interesting feature is that the default entry of the boot list can be set, so that is gets activated after the time interval defined has elapsed. I usually set booting from the first hard disk as default, to avoid accidental booting of one of the distros (in case the CD has been forgotten in the drive).<br><br>
409    
410     You can achieve this by changing this entry.</p>
411    
412     <div class="otherpage">
413     <table class="bordertable" cellpadding="15"><!--with-border-->
414     <tr>
415     <td class="bordertable" style="font-family: 'Courier New' , Courier, Monospace;">
416     label disk1<br>
417     &nbsp;&nbsp;# MENU DEFAULT<br>
418     &nbsp;&nbsp;# MENU HIDE<br>
419     &nbsp;&nbsp;MENU LABEL Boot from the first hard disk<br>
420     &nbsp;&nbsp;# MENU PASSWD<br>
421     &nbsp;&nbsp;localboot 0x80<br>
422     </td>
423     <td class="bordertable" style="font-family: 'Courier New' , Courier, Monospace;">
424     label disk1<br>
425     &nbsp;&nbsp;<font color="Red">MENU DEFAULT</font><br>
426     &nbsp;&nbsp;# MENU HIDE<br>
427     &nbsp;&nbsp;MENU LABEL Boot from the first hard disk<br>
428     &nbsp;&nbsp;# MENU PASSWD<br>
429     &nbsp;&nbsp;localboot 0x80<br>
430     </td>
431     </tr>
432     </table>
433     </div>
434    
435    
436     <!-- Example 3 -->
437     <H3><a name="project-ex3"></a>Example 3 [<a href="#project-top" title="go to top of the page">^</a>]</H3>
438     <p>One more thing you can do is add "empty" entries in the boot list, that will be displayed as separators for the other entries. This way a grouping of similar entries is possible.<br><br>
439    
440     Using again as template the FreeDOS entry, the changes to be done appear in the following table.</p>
441    
442     <div class="otherpage" style="margin-left: 0;">
443     <table class="bordertable" cellpadding="15"><!--with-border-->
444     <tr>
445     <td class="bordertable" style="font-family: 'Courier New' , Courier, Monospace;">
446     label FreeDOS<br>
447     &nbsp;&nbsp;# MENU DEFAULT<br>
448     &nbsp;&nbsp;# MENU HIDE<br>
449     &nbsp;&nbsp;MENU LABEL FreeDOS<br>
450     &nbsp;&nbsp;# MENU PASSWD<br>
451     &nbsp;&nbsp;kernel memdisk<br>
452     &nbsp;&nbsp;append initrd=freedos.img
453     </td>
454     <td class="bordertable" style="font-family: 'Courier New' , Courier, Monospace;">
455     label <font color="Red">Empty</font><br>
456     &nbsp;&nbsp;# MENU DEFAULT<br>
457     &nbsp;&nbsp;# MENU HIDE<br>
458     &nbsp;&nbsp;MENU LABEL <font color="Red">-</font><br>
459     &nbsp;&nbsp;# MENU PASSWD<br>
460     &nbsp;&nbsp;kernel <font color="Red">empty.kernel</font><br>
461     &nbsp;&nbsp;append initrd=freedos.img
462     </td>
463     </tr>
464     </table>
465     </div>
466     <p>The used kernel <font color="Red">empty.kernel</font> does not exist so if the entry is selected, the menu will be displayed again.</p>
467    
468    
469     </div>
470    
471    
472    
473     <!--<a name="template-top"></a>-->
474    
475     <div id="footer">
476     <div id="docline-bottom"> <a href="">&lt; PREV</a> <a href="doc.html">UP</a> <a href="custom-cd.html">NEXT &gt;</a> </div>
477     <p>Copyright: &#169; <a href="mailto:&#115;&#110;&#103;&#064;&#104;&#101;&#108;&#108;&#117;&#103;&#046;&#103;&#114;?subject=About Clonezilla-SysRescCD v 3.1.0">Spiros Georgaras</a>, 2007-2010<br /><br/>
478     Hosted by <a href="http://www.hellug.gr" target="_blank" title="Hellenic Linux User Group">HEL.L.U.G.</a></p>
479     </div>
480     </div>
481     </body>
482     </html>

Properties

Name Value
svn:executable *

webmaster@linux.gr
ViewVC Help
Powered by ViewVC 1.1.26