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

Contents of /trunk/www/working/project.html

Parent Directory Parent Directory | Revision Log Revision Log


Revision 174 - (show annotations)
Sun May 29 14:32:14 2011 UTC (12 years, 10 months ago) by sng
File MIME type: text/html
File size: 25421 byte(s)
- adding Jyrki to .template.html. Please check and confirm :)
- updating cfg files
- removing "unused" cfg files.
- fixing a confirmation bug in create-clonezilla-sysresccd.sh
- updating clonezilla-sysresccd-1.png. Plase chaeck working/screenshots.html and comment on new color of splash screen

1 <!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 : 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: 01/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.</p>
117
118 <!-- Quick creation of the CD -->
119 <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>
120 <p>Open <b>/root/.clonezilla-sysresccd/profiles.conf</b> in a text editor and:</p>
121 <ul>
122 <li>Add the lines<br>
123 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<b>profile[3]=Multi-boot</b><br>
124 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<b>sysCDP[3]=<font color="red">/location/of/your/systemrescuecd.iso</font></b><br>
125 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<b>cloneCDP[3]=<font color="red">/location/of/your/clonezilla-live.iso</font></b><br><br>
126 if <b>sysCDP[3]</b> is already defined (profile <b>3</b> already exists), just use the <b>first</b> available number. This goes for every entry in this section.
127 </li>
128 <li>If you want to create the full CD, add the line<br>
129 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<b>cfgFileP[3]=/root/.clonezilla-sysresccd/<font color="red">isolinux-full.cfg</font></b><br>
130 or else add the line<br>
131 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<b>cfgFileP[3]=/root/.clonezilla-sysresccd/<font color="red">isolinux-minimal.cfg</font></b></li>
132 <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>
133 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<b>splashP[3]=<font color="red">/location/of/your/splash-screen.png</font></b><br>
134 or use the default by adding<br>
135 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<b>splashP[3]=<font color="red">/root/.clonezilla-sysresccd/default-ocswp.png</font></b></li>
136
137 <li>Add any other variable in the file to suit your needs</li>
138 </ul>
139 <p>When you are done, create your CD by executing form console:</p>
140 <p class="newcode"><font color="Blue">create-clonezilla-sysresccd -p 3</font></p>
141 <p>
142 <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>.
143 </p>
144 <!-- Command line -->
145 <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>
146 <p>The program's command line parameters are the following:</p>
147 <table class="bordertable" cellpadding="5"><!--with-border-->
148 <tr>
149 <!-- show profiles and let user select profile to use -->
150 <td class="bordertable" valign="top" style="font-family: 'Courier New' , Courier, Monospace;">s</td>
151 <td class="bordertable" valign="top" style="font-family: 'Courier New' , Courier, Monospace;">
152 show profiles and let user select profile to use<br><br>
153 Profiles will be explained later in section <a href="#profiles">Using profiles</a>
154 </td></tr>
155
156 <tr>
157 <!-- use profile number -->
158 <td class="bordertable" valign="top" style="font-family: 'Courier New' , Courier, Monospace;">p[number]</td>
159 <td class="bordertable" valign="top" style="font-family: 'Courier New' , Courier, Monospace;">
160 use profile number<br><br>
161 Profiles will be explained later in section <a href="#profiles">Using profiles</a>
162 </td></tr>
163
164 <tr>
165 <!-- copy files only -->
166 <td class="bordertable" valign="top" style="font-family: 'Courier New' , Courier, Monospace;">f</td>
167 <td class="bordertable" valign="top" style="font-family: 'Courier New' , Courier, Monospace;">
168 copy files only. Don't create ISO file and don't<br>
169 burn anything on CD<br><br>
170 This is useful if you want to do some heavy customization<br>
171 Both ISOs are copied in folder <b>/root/tmp/clonezilla-sysresccd</b>
172 </td></tr>
173
174 <tr>
175 <!-- don't copy files -->
176 <td class="bordertable" valign="top" style="font-family: 'Courier New' , Courier, Monospace;">nf</td>
177 <td class="bordertable" valign="top" style="font-family: 'Courier New' , Courier, Monospace;">
178 don't copy files. Use files existing in folder<br>
179 "/root/tmp/clonezilla-sysresccd".<br>
180 *** Caution: Dangerous!!! ***<br><br>
181 This will create (and optionally burn) an ISO file using files<br>
182 found in folder <b>/root/tmp/clonezilla-sysresccd</b><br><br>
183 <b>Caution:</b> The program does not check in any way the files in the <br>
184 given folder. It's up to you to provide a valid bootable CD / <br>
185 isolinux configuration
186 </td></tr>
187
188 <tr>
189 <!-- only create ISO file -->
190 <td class="bordertable" valign="top" style="font-family: 'Courier New' , Courier, Monospace;">i</td>
191 <td class="bordertable" valign="top" style="font-family: 'Courier New' , Courier, Monospace;">
192 only create ISO file. Don't burn anything on CD
193 </td></tr>
194
195 <tr>
196 <!-- burn a previously created ISO file -->
197 <td class="bordertable" valign="top" style="font-family: 'Courier New' , Courier, Monospace;">b</td>
198 <td class="bordertable" valign="top" style="font-family: 'Courier New' , Courier, Monospace;">
199 A user defined and written BASH script to be<br> executed just before mastering the CD<br><br>
200 This script could be used to automate alteration, addition or <br>removal of files from the fianl CD
201 </td></tr>
202
203 <tr>
204 <!-- script to execute -->
205 <td class="bordertable" valign="top" style="font-family: 'Courier New' , Courier, Monospace;">x[script]</td>
206 <td class="bordertable" valign="top" style="font-family: 'Courier New' , Courier, Monospace;">
207 execute [script] before creating the ISO file
208 </td></tr>
209
210 <tr>
211 <!-- print version and exit -->
212 <td class="bordertable" valign="top" style="font-family: 'Courier New' , Courier, Monospace;">v</td>
213 <td class="bordertable" valign="top" style="font-family: 'Courier New' , Courier, Monospace;">
214 print version and exit
215 </td></tr>
216
217 <tr>
218 <!-- print this screen and exit -->
219 <td class="bordertable" valign="top" style="font-family: 'Courier New' , Courier, Monospace;">h</td>
220 <td class="bordertable" valign="top" style="font-family: 'Courier New' , Courier, Monospace;">
221 print this screen and exit
222 </td></tr></table>
223
224
225
226 <!-- Configuration file -->
227 <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>
228 <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>
229 The contents of the original <b>/root/.clonezilla-sysresccd/clonezilla-sysresccd.conf</b> are the following:</p>
230 <!-- <table border="1" cellpadding="15"> -->
231 <table class="bordertable" cellpadding="15"><!--with-border-->
232 <tr>
233 <td class="bordertable" style="font-family: 'Courier New' , Courier, Monospace;">
234 # Location of the latest SystemRescueCD ISO file<br>
235 sysCD=/all-users/liveCDs/systemrescuecd-x86-0.3.7.iso<br>
236 <br>
237 # Location of the latest Clonezilla Live ISO file<br>
238 cloneCD=/all-users/liveCDs/clonezilla-live-1.0.3-18.iso<br>
239 <br>
240 # Location of the new isolinux/isolinux.cfg file<br>
241 # Change it at your own risk!!!<br>
242 cfgFile=/root/.clonezilla-sysresccd/isolinux-minimal.cfg<br>
243 <br>
244 # Splash screen to use<br>
245 # It must be a valid 640x480 32-bit png image<br>
246 splash=/root/.clonezilla-sysresccd/default-ocswp.png<br>
247 <br>
248 <br>
249 # The output name of the program (ISO file) is:<br>
250 # clonezilla-sysresccd-"$outName"-"$version".iso<br>
251 # A good outName would be your name eg. 'spiros'<br>
252 # So the ISO file would be named:<br>
253 # clonezilla-sysresccd-spiros-"$version".iso<br>
254 outName=''<br>
255 <br>
256 <br>
257 # The name of a BASH script that will be executed<br>
258 # just before mastering the CD, (actually just<br>
259 # before the "splash screen" message is displayed<br>
260 # to the user<br>
261 exScript=''<br>
262 <br>
263 <br>
264 <br>
265 <br>
266 # CD info section<br>
267 <br>
268 # Specifies a text string that will be written into the volume<br>
269 # header. This should describe the preparer of the CD-ROM,<br>
270 # usually with a mailing address and phone number. There is space<br>
271 # on the disc for 128 characters of information.<br>
272 preparerID='Spiros Georgaras &lt;sng@hellug.gr&gt;'<br>
273 <br>
274 <br>
275 # Specifies a text string that will be written into the volume<br>
276 # header. This should describe the publisher of the CD-ROM,<br>
277 # usually with a mailing address and phone number. There is space<br>
278 # on the disc for 128 characters of information.<br>
279 publisher='Spiros Georgaras &lt;sng@hellug.gr&gt;'<br>
280 <br>
281 <br>
282 # Specifies the volume ID (volume name or label) to be written into<br>
283 # the master block. There is space on the disc for 32 characters of<br>
284 # information. Note that if you assign a volume ID, this is the name<br>
285 # that will be used as the mount point used by the Solaris volume<br>
286 # management system and the name that is assigned to the disc on a<br>
287 # Microsoft Win32 or Apple Mac platform.<br>
288 volLabel='Linux Backup Multi Boot CD'<br>
289
290 </td></tr></table>
291 <p>If any of these parameters are left blank, the user will be asked to insert it by hand.</p>
292
293
294
295 <!-- Profiles -->
296 <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>
297 <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>.
298 <br><br>
299 The contents of the original <b>/root/.clonezilla-sysresccd/profiles.conf</b> are the following:</p>
300 <table class="bordertable" cellpadding="15"><tr><td class="bordertable" style="font-family: 'Courier New' , Courier, Monospace;"><!--with-border-->
301 profile[0]=Full<br>
302 profile[1]='Backup/Restore'<br>
303 <br>
304 sysCDP[0]=/all-users/liveCDs/systemrescuecd-x86-0.3.7.iso<br>
305 sysCDP[1]=/all-users/liveCDs/systemrescuecd-x86-0.3.7.iso<br>
306 <br>
307 cloneCDP[0]=/all-users/liveCDs/clonezilla-live-1.0.3-18.iso<br>
308 cloneCDP[1]=/all-users/liveCDs/clonezilla-live-1.0.3-18.iso<br>
309 <br>
310 cfgFileP[0]=/root/.clonezilla-sysresccd/isolinux-full.cfg<br>
311 cfgFileP[1]=/root/.clonezilla-sysresccd/isolinux-minimal.cfg<br>
312 <br>
313 splashP[0]=''<br>
314 splashP[1]=''<br>
315 <br>
316 outNameP[0]='full'<br>
317 outNameP[1]=''<br>
318 <br>
319 exScriptP[0]=''<br>
320 exScriptP[1]=''<br>
321 <br>
322 preparerIDP[0]='Spiros Georgaras &lt;sng@hellug.gr&gt;'<br>
323 preparerIDP[1]='Spiros Georgaras &lt;sng@hellug.gr&gt;'<br>
324 <br>
325 publisherP[0]='Spiros Georgaras &lt;sng@hellug.gr&gt;'<br>
326 publisherP[1]='Spiros Georgaras &lt;sng@hellug.gr&gt;'<br>
327 <br>
328 volLabelP[0]='Linux Rescue CD'<br>
329 volLabelP[1]='Linux Backup CD'<br>
330
331 </td></tr></table>
332 <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>
333 In order to use profile No 1, you should execute the command:</p>
334 <p class="newcode"><font color="Blue">create-clonezilla-sysresccd -p 1</font></p>
335 <p>
336 In order to see the active profiles and select one to use, you should execute the command:</p>
337 <p class="newcode"><font color="Blue">create-clonezilla-sysresccd -s</font>
338 </p>
339
340
341 <!-- Splash Screens -->
342 <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>
343 <table width="100%" style="margin-right:20pt;margin-left: 10pt" border="0" cellpadding="5">
344 <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>
345
346 You can use your own splash screen by setting it in file:<br>
347 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<b>/root/.clonezilla-sysresccd/clonezilla-sysresccd.conf</b>, variable <b>splash</b><br>
348 or<br>
349 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<b>/root/.clonezilla-sysresccd/profiles.conf</b>, variable <b>splashP[x]</b><br>
350 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Then you use profile number <b>x</b> to create your CD
351 </td></tr></table>
352
353
354
355
356 <!-- Customization -->
357 <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>
358 <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>
359 <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>
360
361
362 <!-- Example -->
363 <H3><a name="project-ex1"></a>Example 1 [<a href="#project-top" title="go to top of the page">^</a>]</H3>
364 <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>
365
366 To do that you can use the FreeDOS list entry, and convert it as it shows in the array below.</p>
367
368 <div class="otherpage">
369 <table class="bordertable" cellpadding="15"><!--with-border-->
370 <tr>
371 <td class="bordertable" style="font-family: 'Courier New' , Courier, Monospace;">
372 label FreeDOS<br>
373 &nbsp;&nbsp;# MENU DEFAULT<br>
374 &nbsp;&nbsp;# MENU HIDE<br>
375 &nbsp;&nbsp;MENU LABEL FreeDOS<br>
376 &nbsp;&nbsp;# MENU PASSWD<br>
377 &nbsp;&nbsp;kernel memdisk<br>
378 &nbsp;&nbsp;append initrd=freedos.img
379 </td>
380 <td class="bordertable" style="font-family: 'Courier New' , Courier, Monospace;">
381 label <font color="Red">MyFloppy</font><br>
382 &nbsp;&nbsp;# MENU DEFAULT<br>
383 &nbsp;&nbsp;# MENU HIDE<br>
384 &nbsp;&nbsp;MENU LABEL <font color="Red">My floppy disk!!!</font><br>
385 &nbsp;&nbsp;# MENU PASSWD<br>
386 &nbsp;&nbsp;kernel memdisk<br>
387 &nbsp;&nbsp;append initrd=<font color="Red">myfloppy.img</font>
388 </td>
389 </tr>
390 </table>
391 </div>
392
393 <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>
394 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>
395 A final thing you might want to do is add html files to provide help to the user.</p>
396
397
398 <!-- Example 2 -->
399 <H3><a name="project-ex2"></a>Example 2 [<a href="#project-top" title="go to top of the page">^</a>]</H3>
400 <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>
401
402 You can achieve this by changing this entry.</p>
403
404 <div class="otherpage">
405 <table class="bordertable" cellpadding="15"><!--with-border-->
406 <tr>
407 <td class="bordertable" style="font-family: 'Courier New' , Courier, Monospace;">
408 label disk1<br>
409 &nbsp;&nbsp;# MENU DEFAULT<br>
410 &nbsp;&nbsp;# MENU HIDE<br>
411 &nbsp;&nbsp;MENU LABEL Boot from the first hard disk<br>
412 &nbsp;&nbsp;# MENU PASSWD<br>
413 &nbsp;&nbsp;localboot 0x80<br>
414 </td>
415 <td class="bordertable" style="font-family: 'Courier New' , Courier, Monospace;">
416 label disk1<br>
417 &nbsp;&nbsp;<font color="Red">MENU DEFAULT</font><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 </tr>
424 </table>
425 </div>
426
427
428 <!-- Example 3 -->
429 <H3><a name="project-ex3"></a>Example 3 [<a href="#project-top" title="go to top of the page">^</a>]</H3>
430 <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>
431
432 Using again as template the FreeDOS entry, the changes to be done appear in the following table.</p>
433
434 <div class="otherpage" style="margin-left: 0;">
435 <table class="bordertable" cellpadding="15"><!--with-border-->
436 <tr>
437 <td class="bordertable" style="font-family: 'Courier New' , Courier, Monospace;">
438 label FreeDOS<br>
439 &nbsp;&nbsp;# MENU DEFAULT<br>
440 &nbsp;&nbsp;# MENU HIDE<br>
441 &nbsp;&nbsp;MENU LABEL FreeDOS<br>
442 &nbsp;&nbsp;# MENU PASSWD<br>
443 &nbsp;&nbsp;kernel memdisk<br>
444 &nbsp;&nbsp;append initrd=freedos.img
445 </td>
446 <td class="bordertable" style="font-family: 'Courier New' , Courier, Monospace;">
447 label <font color="Red">Empty</font><br>
448 &nbsp;&nbsp;# MENU DEFAULT<br>
449 &nbsp;&nbsp;# MENU HIDE<br>
450 &nbsp;&nbsp;MENU LABEL <font color="Red">-</font><br>
451 &nbsp;&nbsp;# MENU PASSWD<br>
452 &nbsp;&nbsp;kernel <font color="Red">empty.kernel</font><br>
453 &nbsp;&nbsp;append initrd=freedos.img
454 </td>
455 </tr>
456 </table>
457 </div>
458 <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>
459
460
461 </div>
462
463
464
465 <div id="footer">
466 <div id="docline-bottom"> <a href="">&lt; PREV</a> <a href="doc.html">UP</a> <a href="custom-cd.html">NEXT &gt;</a> </div>
467 <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/>
468 Hosted by <a href="http://www.hellug.gr" target="_blank" title="Hellenic Linux User Group">HEL.L.U.G.</a></p>
469 </div>
470 </div>
471 </body>
472 </html>

Properties

Name Value
svn:executable *

webmaster@linux.gr
ViewVC Help
Powered by ViewVC 1.1.26