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

Contents of /trunk/www/working/custom-cd.html

Parent Directory Parent Directory | Revision Log Revision Log


Revision 28 - (show annotations)
Wed Mar 17 23:46:34 2010 UTC (10 years, 8 months ago) by sng
File MIME type: text/html
File size: 26705 byte(s)
adding www directory
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: Custom CDs</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: Custom CDs</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="project.html">&lt; PREV</a> <a href="doc.html">UP</a> <a href="usb.html">NEXT &gt;</a> </div>
100 </div>
101 <div id="contarea">
102 <div id="content">
103 <a name="custom-top"></a>
104
105
106 <!-- Intro -->
107 <H2 style="margin-top: 0;"><a name="custom-intro"></a>Intro <span class="hideprint">[<a href="#custom-top" title="go to top of the page">^</a>]</span></H2>
108 <p>
109 Customizing the original CDs has to do with adding some features they miss. These are:
110 <ul>
111
112 <li><b>SystemRescueCD - Adding a script to start the X server</b><br>
113 This is necessary to properly start the X server in machines with an ATI graphics card and TFT monitor. I have an ACER laptop with that configuration, and this is the only way to enable the graphical environment.
114 </li>
115 <li>
116 <b>Clonezilla Live</b><br>
117 Clonezilla Live has seen huge improvement recently, so there is no need to create a customised CD at this point. All the necessary customisation will be done through the <A href="boot-params.html#ocs_prerun">ocs_prerun</A> boot parameter.
118 </li>
119 </ul>
120 <p>
121 The creation of the custom CD is a relatively easy process but a time consuming one. You have to boot from the original CD (which means you have to burn it to a CD-RW), create the customized ISO file and then create the multi boot CD using this customized ISO file.
122 </p>
123
124 <p>If you just want to change the splash screen images and title, a much easier alternative is using <a href="#custom-patch">patch-clonezilla-sysresccd</a>.</p>
125
126 <!-- Creating Custom SystemRescueCD -->
127 <H2><a name="sysresccd"></a>Creating Custom SystemRescueCD <span class="hideprint">[<a href="#custom-top" title="go to top of the page">^</a>]</span></H2>
128 <p>You need to have:</p>
129
130 <ul>
131 <li>The latest <b>create-clonezilla-sysresccd</b> package. Download it from section "<a href="http://clonezilla-sysresccd.hellug.gr/intro.html#download" target="_blank">Download</a>" and install it.</li>
132 <li>The latest stable SystemRescueCD ISO. Download it from here: <a href="http://www.sysresccd.org/Download" target="_blank">latest-sysresccd</a>.</li>
133 <li>A linux formatted (ext2, ext3, reiserfs, xfs, jfs) hard disk or partition with at least 700MB of free space. I will use <b>/dev/<font color="green">hdb4</font></b> here; you will have to replace it with the device you will use.</li>
134 </ul>
135
136
137 <H3><a name="proc-sys"></a>Procedure [<a href="#custom-top" title="go to top of the page">^</a>]</H3>
138
139 <p>
140
141 This info comes from the page titled <a href="http://www.sysresccd.org/Sysresccd-manual-en_How_to_personalize_SystemRescueCd" target="_blank">Sysresccd-manual-en How to personalize SystemRescueCd</a> found at the SystemRescueCD site.
142 </p>
143
144
145 <ol>
146 <li><p style="margin-left: 0pt;">Boot into SystemRescueCD<br><br>
147 If you already have the current <b>Clonezilla-SysRescCD</b> on CD, just put it in the CD drive and reboot.<br><br>
148
149 Otherwise, you have to burn the System Rescue ISO file to a CD-RW, and reboot your system with your new CD. Note that you have to do a normal boot (no copy to RAM) for this to work. Assuming your CD writer is <b>/dev/<font color="green">hdc</font></b> you execute the command:</p>
150 <p class="newcode" style="margin-left: 0pt;">cdrecord dev=/dev/<font color="green">hdc</font> driveropts=burnfree <font color="red">/path/to/sysresccd.iso</font></p>
151
152 <p style="margin-left: 0pt;">If you have to erase the CD first, execute the command</p>
153 <p class="newcode" style="margin-left: 0pt;">cdrecord dev=/dev/<font color="green">hdc</font> blank=fast</p>
154
155 <p style="margin-left: 0pt;">When the system is fully up</p>
156 </li>
157 <li><p style="margin-left: 0pt;">
158 Mount the working partition</p>
159 <p class="newcode" style="margin-left: 0pt;">mount /dev/<font color="green">hdb4</font> /mnt/custom</p>
160 </li>
161 <li><p style="margin-left: 0pt;">If your normal root (/) partition is not <b>/dev/<font color="green">hdb4</font></b>, like in my case, mount this partition too. I will use <b>/dev/<font color="magenta">hdb1</font></b> here; you may have to replace with your own.</p>
162 <p class="newcode" style="margin-left: 0pt;">mkdir /mnt/r<br>
163 mount /dev/<font color="magenta">hdb1</font> /mnt/r</p>
164 <p style="margin-left: 0pt;">otherwise execute the command:</p>
165 <p class="newcode" style="margin-left: 0pt;">ln -s /mnt/custom /mnt/r</p>
166
167 </li>
168 <li><p style="margin-left: 0pt;">
169 Extract the current files from the sysrcd.dat image</p>
170 <p class="newcode" style="margin-left: 0pt;">cd /mnt/custom<br>
171 /usr/sbin/sysresccd-custom extract</p>
172
173 <p style="margin-left: 0pt;">If there is no error, all the files of the squashfs image should have been copied in <b>/mnt/custom/customcd/files/</b></p></li>
174 <li><p style="margin-left: 0pt;">
175 Install the new files</p>
176 <p class="newcode" style="margin-left: 0pt;">cp /mnt/r/root/.clonezilla-sysresccd/files/startx-ati-tft /mnt/custom/customcd/files/usr/bin<br>
177 chmod +x /mnt/custom/customcd/files/usr/bin/startx-ati-tft<br>
178 cp /mnt/r/root/.clonezilla-sysresccd/files/what-cd /mnt/custom/customcd/files/usr/bin<br>
179 chmod +x /mnt/custom/customcd/files/usr/bin/what-cd<br>
180 cp /mnt/r/root/.clonezilla-sysresccd/files/continue-multi-cd /mnt/custom/customcd/files/usr/bin<br>
181 chmod +x /mnt/custom/customcd/files/usr/bin/continue-multi-cd<br>
182 tar -C /mnt/custom/customcd/isoroot -xzf /mnt/r/root/.clonezilla-sysresccd/files/doc.tar.gz<br>
183 tar -C /mnt/custom/customcd/files -xzf /mnt/r/root/.clonezilla-sysresccd/files/doc.tar.gz</p>
184 </li>
185 <li><p style="margin-left: 0pt;">
186 Create the new squashfs image</p>
187 <p class="newcode" style="margin-left: 0pt;">/usr/sbin/sysresccd-custom squashfs</p>
188 </li>
189 <li><p style="margin-left: 0pt;">
190 Set the default keymap (optional)<br>
191 In the official version, System Rescue Cd asks you to select a keymap at startup. If you want to avoid seeing this menu and define a permanent keymap, you can run this command: <i>/usr/sbin/sysresccd-custom setkmap &lt;your-keymap&gt;</i>. The second parameter is the name or the number of your keymap in the menu.<br><br>
192 Set english keymap as default:</p>
193 <p class="newcode" style="margin-left: 0pt;">/usr/sbin/sysresccd-custom setkmap en</p>
194 </li>
195 <li><p style="margin-left: 0pt;">
196 Create the new ISO image<br>
197 Just type the following commands. The second parameter of the first command the volume name for the CDRom.</p>
198 <p class="newcode" style="margin-left: 0pt;">/usr/sbin/sysresccd-custom isogen my_srcd<br>
199 mv /mnt/custom/customcd/isofile/sysresccd-new.iso /mnt/custom<br>
200 rm -fr /mnt/custom/customcd</p>
201 </li>
202 <li><p style="margin-left: 0pt;">
203 Synchronize your disks</p>
204 <p class="newcode" style="margin-left: 0pt;">cd /<br>
205 umount /mnt/custom<br>
206 umount /mnt/r<br>
207 sync</p></li>
208 <li>
209 Test the ISO image<br>
210 The new final ISO image is <b>sysresccd-new.iso</b> in <b>/dev/<font color="green">hdb4</font></b>. You can test it with <a href="http://www.vmware.com/" target="_blank">VMWare</a> or <a href="http://fabrice.bellard.free.fr/qemu/" target="_blank">qemu</a>.
211 </li>
212 </ol>
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228 <div class="hidden">
229 <!-- Clonezilla Custom CD -->
230 <H2><a name="clonezilla"></a>Creating Custom Clonezilla Live CD <span class="hideprint">[<a href="#custom-top" title="go to top of the page">^</a>]</span></H2>
231 <p>You need to have:</p>
232 <ul>
233 <li>The latest <b>create-clonezilla-sysresccd</b> package. If you haven't yet, download it from section "<a href="http://clonezilla-sysresccd.hellug.gr/intro.html#download" target="_blank">Download</a>" and install it.</li>
234 <li>The latest stable Clonezilla Live ISO. Download it from here: <a href="http://www.clonezilla.org/download/sourceforge/" target="_blank">latest-clonezilla-live</a>.</li>
235 <li>A linux formatted (ext2, ext3, reiserfs, xfs, jfs) hard disk or partition with at least 700MB of free space. I will use <b>/dev/<font color="green">hdb4</font></b> here; you will have to replace it with the device you will use.<br></li>
236 <li>The template ISO file (debian live). Download it from here: <a href="http://opensource.nchc.org.tw/clonezilla-live/template-files/debian-live-for-ocs.iso" target="_blank">debian-live-for-ocs.iso</a> (~73MB) and save it in <b>/dev/<font color="green">hdb4</font></b>.</li>
237 </ul>
238
239
240 <p>Saving files in <b>/dev/<font color="green">hdb4</font></b> means you have to mount the partition first. For example:</p>
241 <p class="newcode">mount /dev/<font color="green">hdb4</font> <font color="red">/mnt/my-save-dir</font></p>
242 <p>and save the files in <b><font color="red">/mnt/my-save-dir</font></b>.</p>
243
244 <H3><a name="proc-clone"></a>Procedure [<a href="#custom-top" title="go to top of the page">^</a>]</H3>
245
246 <p>
247 <b>Note:</b> This info comes from the page titled <a href="http://www.clonezilla.org/clonezilla-live/" target="_blank">Clonezilla Live - Single machine clone system without installation</a> found at the Clonezilla site.
248 </p>
249
250
251 <ol>
252 <li><p style="margin-left: 0pt;">Boot into Clonezilla Live<br><br>
253 If you already have the current <b>Clonezilla-SysRescCD</b> on CD, just put it in the CD drive and reboot.<br><br>
254 Otherwise, you have to burn the Clonezilla Live ISO file to a CD-RW, and reboot your system with your new CD. <!--Note that you have to do a "copy to RAM" boot for this to work.--> Supposing your CD writer is <b>/dev/<font color="green">hdc</font></b> you execute the command:</p>
255 <p class="newcode" style="margin-left: 0pt;">cdrecord dev=/dev/<font color="green">hdc</font> driveropts=burnfree <font color="red">/path/to/clonezilla-live.iso</font></p>
256 <p style="margin-left: 0pt;">If you have to erase the CD first, execute the command</p>
257 <p class="newcode" style="margin-left: 0pt;">cdrecord dev=/dev/<font color="green">hdc</font> blank=fast</p>
258 <p style="margin-left: 0pt;">When the system is fully up select <b>Enter_shell</b> and type <b>2</b> to get to the shell.</p>
259 </li>
260 <li><p style="margin-left: 0pt;">
261 Mount the working partition</p>
262 <p class="newcode" style="margin-left: 0pt;">sudo su -<br>
263 mkdir /part<br>
264 mount /dev/<font color="green">hdb4</font> /part</p>
265 </li><p style="margin-left: 0pt;">
266 <li><a name="jens-fix"></a>Install new scripts<br><br>
267
268 <a name="mark-fix"></a>If your normal root (/) partition is not <b>/dev/<font color="green">hdb4</font></b>, like in my case, mount this partition to get it. I will use <b>/dev/<font color="magenta">hdb1</font></b> here; you may have to replace with your own.</p>
269 <p class="newcode" style="margin-left: 0pt;">mkdir /mnt/r<br>
270 mount /dev/<font color="magenta">hdb1</font> /mnt/r<br>
271 cp /mnt/r/root/.clonezilla-sysresccd/files/ocs-iso /opt/drbl/sbin<br>
272 cp /mnt/r/root/.clonezilla-sysresccd/files/*-cd /usr/bin<br>
273 cp /mnt/r/root/.clonezilla-sysresccd/files/reloc-img /usr/bin<br>
274 chmod +x /usr/bin/*-cd<br>
275 chmod +x /usr/bin/reloc-img<br>
276 umount /mnt/r<br>
277 rmdir /mnt/r</p>
278 <p style="margin-left: 0pt;">otherwise execute the commands:</p>
279 <p class="newcode" style="margin-left: 0pt;">cp /part/root/.clonezilla-sysresccd/files/ocs-iso /opt/drbl/sbin<br>
280 cp /part/root/.clonezilla-sysresccd/files/*-cd /usr/bin<br>
281 cp /part/root/.clonezilla-sysresccd/files/reloc-img /usr/bin<br>
282 chmod +x /usr/bin/*-cd<br>
283 chmod +x /usr/bin/reloc-img</p>
284 </li>
285 <li><p style="margin-left: 0pt;">Create the customized ISO file</p>
286 <p class="newcode" style="margin-left: 0pt;">cd /part<br>
287 /opt/drbl/sbin/ocs-iso -s</p>
288
289 <p style="margin-left: 0pt;">This command will create an ISO file called <b>clonezilla-live-<font color="Maroon">1.2.1-39</font>.iso
290 </b><br><br>
291 Do <b>NOT</b> delete any of the files present in <b>/part</b>, as they may be needed later on.</p>
292 </li>
293 <li><p style="margin-left: 0pt;">
294 Synchronize your disks</p>
295 <p class="newcode" style="margin-left: 0pt;">cd /<br>
296 umount /part<br>
297 sync</p>
298 </li>
299 <li>
300 Test the ISO image<br>
301 So now you have the file <b>clonezilla-live-<font color="Maroon">1.2.1-39</font>.iso</b> in <b>/dev/<font color="green">hdb4</font></b>. You can test it with <a href="http://www.vmware.com/" target="_blank">VMWare</a> or <a href="http://fabrice.bellard.free.fr/qemu/" target="_blank">qemu</a>.<br>
302 </li>
303 </ol>
304 </div>
305
306 <!-- Multi Boot Custom CD -->
307 <H2><a name="multi"></a>Creating Multi Boot custom CD <span class="hideprint">[<a href="#custom-top" title="go to top of the page">^</a>]</span></H2>
308 <p>You need to have:</p>
309
310 <ul>
311
312 <li>The linux formatted (ext2, ext3, reiserfs, xfs, jfs) hard disk or partition with at least 700MB of free space, used when following the procedures above. I will assume <b>/dev/<font color="green">hdb4</font></b> here; you will have to replace it with the device you have used. I will also assume that this partition is mounted in <font color="green"><b>/data</b></font> when your normal linux box is operational. Again you will have to use the corresponding mount point.</li>
313 <li><p style="margin-left: 0pt;">Both the customized CD created following the procedures above and the original <strong>Clonezilla Live CD</strong>. These are:</p>
314 <p class="newcode" style="margin-left: 0pt;"><font color="green">/data</font>/sysresccd-new.iso and<br>
315 <font color="green">/data</font>/clonezilla-live-<font color="Maroon">1.2.1-39</font>.iso</p>
316 </li>
317 </ul>
318
319 <H3><a name="proc-multi"></a>Procedure [<a href="#custom-top" title="go to top of the page">^</a>]</H3>
320 <ol>
321 <li>Boot into your normal Linux system, as root
322 </li>
323
324
325 <li><p style="margin-left: 0pt;">Create a new profile<br>
326 Open <b>/root/.clonezilla-sysresccd/profiles.conf</b> in a text editor and add the lines:</p>
327 <p class="newcode" style="margin-left: 0pt;">profile[<font color="magenta">3</font>]=Multi-boot-modified<br>
328 sysCDP[<font color="magenta">3</font>]=<font color="green">/data</font>/sysresccd-new.iso<br>
329 cloneCDP[<font color="magenta">3</font>]=<font color="green">/data</font>/clonezilla-live-<font color="Maroon">1.2.1-39</font>.iso<br>
330 cfgFileP[<font color="magenta">3</font>]=/root/.clonezilla-sysresccd/files/menu-iso.tar.gz<br>
331 <span class="hidden">DebianLiveFolderP[<font color="magenta">3</font>]=<font color="green">/data</font><br></span>
332 exScriptP[<font color="magenta">3</font>]=/root/.clonezilla-sysresccd/files/extra-code<br>
333 outNameP[<font color="magenta">3</font>]='full-mod'</p>
334
335 <p style="margin-left: 0pt;">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., save it in <b><font color="green">/data</font></b> and add the line</p>
336 <p class="newcode" style="margin-left: 0pt;">splashP[<font color="magenta">3</font>]=<font color="green">/data</font><font color="red">/splash-screen.png</font></p>
337
338 <p style="margin-left: 0pt;">Finally customize any other variable for profile <b><font color="magenta">3</font></b>, as you see them used in previously defined profiles.<br><br>
339 If <b>sysCDP[<font color="magenta">3</font>]</b> is already defined (profile <b><font color="magenta">3</font></b> already exists), just use the <u><b>first</b></u> available number. This goes for every entry in this step.</p>
340 </li>
341
342 <li><p style="margin-left: 0pt;">Create the final CD using the new profile<br>
343 Execute the command:</p>
344 <p class="newcode" style="margin-left: 0pt;">create-clonezilla-sysresccd -p <font color="magenta">3</font></p>
345 <p style="margin-left: 0pt;">This will create the file <b>/root/tmp/clonezilla-sysresccd-full-mod-3.1.0.iso</b>. You will be asked to burn it to CD, but I would suggest not to do it right now, not before testing it.</p></li>
346 <li><p style="margin-left: 0pt;">Cleaning up</p>
347 <p class="newcode" style="margin-left: 0pt;">cd <font color="green">/data</font><br>
348 rm clonezilla-live-<font color="Maroon">1.2.1-39</font>.iso sysresccd-new.iso <br><span class="hidden"><br>
349 debian-live-for-ocs.iso unifont.bgf<br></span>
350 cd<br>
351 umount <font color="green">/data</font>
352 </p>
353 </li>
354 <li>Test the ISO image<br>
355 Now you have the file <b>clonezilla-sysresccd-full-mod-3.1.0.iso</b> in <b>/root/tmp</b>. You can test it with <a href="http://www.vmware.com/" target="_blank">VMWare</a> or <a href="http://fabrice.bellard.free.fr/qemu/" target="_blank">qemu</a>, if you haven't already burnt it to CD.
356 </li>
357 </ol>
358
359
360 <H2><a name="custom-patch"></a>Using patch-clonezilla-sysresccd <span class="hideprint">[<a href="#custom-top" title="go to top of the page">^</a>]</span></H2>
361
362 <p><b>patch-clonezilla-sysresccd</b> is a script which will help you create a customized version of <b>Clonezilla-SysRescCD</b>, by changing the splash screen images and title.</p>
363
364 <p>In order to use it, you have to have both the latest <b>Clonezilla-SysRescCD</b> ISO file and tarball archive. You can download them from the <a href="intro.html#download">Download section</a>.</p>
365
366 <p>Its help screen is the following:</p>
367
368 <p class="newcode"># <font color="Green">patch-clonezilla-sysresccd -h</font><br>
369 patch-clonezilla-sysresccd - v 2.2.0<br>
370 (C) 2008, Spiros Georgaras &lt;sng@hellug.gr&gt;<br>
371 <br>
372 A utility to personalize Clonezilla-SysRescCD<br>
373 <br>
374 Usage: patch-clonezilla-sysresccd [options]<br>
375 <br>
376 Available options are:<br>
377 &nbsp;&nbsp;i&nbsp;[file&nbsp;or&nbsp;device]&nbsp;&nbsp;input&nbsp;file&nbsp;or&nbsp;cdrom&nbsp;device<br>
378 &nbsp;&nbsp;o&nbsp;[iso&nbsp;file]&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;outpup&nbsp;ISO&nbsp;file.&nbsp;If&nbsp;not&nbsp;specified,&nbsp;implies&nbsp;burn&nbsp;ISO&nbsp;file&nbsp;(-b)<br>
379 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;and&nbsp;delete&nbsp;ISO&nbsp;file&nbsp;(-d)<br>
380 &nbsp;&nbsp;s&nbsp;[png&nbsp;image]&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;boot&nbsp;splash&nbsp;screen<br>
381 &nbsp;&nbsp;r&nbsp;[png&nbsp;image]&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;restore&nbsp;splash&nbsp;screen<br>
382 &nbsp;&nbsp;t&nbsp;[title]&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;boot&nbsp;screen&nbsp;title<br>
383 &nbsp;&nbsp;p&nbsp;[partition]&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;partition&nbsp;to&nbsp;be&nbsp;used&nbsp;as&nbsp;temporary&nbsp;storage&nbsp;location&nbsp;and/or&nbsp;final<br>
384 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;ISO&nbsp;file&nbsp;creation&nbsp;location (e.g -p hda)<br>
385 &nbsp;&nbsp;k&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Do&nbsp;not&nbsp;create/burn&nbsp;the&nbsp;ISO&nbsp;file.&nbsp;Just&nbsp;make&nbsp;the&nbsp;modified&nbsp;files&nbsp;<br>
386 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;available&nbsp;for&nbsp;further&nbsp;customization&nbsp;(optional)<br>
387 &nbsp;&nbsp;b&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;burn&nbsp;ISO&nbsp;file&nbsp;to&nbsp;CD&nbsp;(optional)<br>
388 &nbsp;&nbsp;f&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;burn&nbsp;ISO&nbsp;file&nbsp;to&nbsp;CD&nbsp;on&nbsp;the&nbsp;fly&nbsp;(optional)<br>
389 &nbsp;&nbsp;w&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;writter&nbsp;device&nbsp;to&nbsp;use&nbsp;(optional)<br>
390 &nbsp;&nbsp;d&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;delete&nbsp;ISO&nbsp;file&nbsp;after&nbsp;burning&nbsp;to&nbsp;CD.<br>
391 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Implies&nbsp;burn&nbsp;ISO&nbsp;file&nbsp;(-b)&nbsp;(optional)<br>
392 &nbsp;&nbsp;v&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;print&nbsp;version&nbsp;and&nbsp;exit<br>
393 &nbsp;&nbsp;h&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;print&nbsp;this&nbsp;screen&nbsp;and&nbsp;exit</p>
394
395 <p><b>patch-clonezilla-sysresccd</b> requires you to provide two images, one for the splash screen of your <b>Clonezilla-SysRescCD</b> (parameter -s), and one that will be used by the restore CD/DVD creation procedure (parameter -r).</p>
396
397
398 </div>
399
400
401
402 <div id="footer">
403 <div id="docline-bottom"> <a href="project.html">&lt; PREV</a> <a href="doc.html">UP</a> <a href="usb.html">NEXT &gt;</a> </div>
404 <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/>
405 Hosted by <a href="http://www.hellug.gr" target="_blank" title="Hellenic Linux User Group">HEL.L.U.G.</a></p>
406 </div>
407 </div>
408 </body>
409 </html>

Properties

Name Value
svn:executable *

webmaster@linux.gr
ViewVC Help
Powered by ViewVC 1.1.26