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; background-image: url('images/line.png'); background-repeat:repeat-y;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: 750px; 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.html"><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>26/03/2010 - v 3.1.0</H4></div> |
82 |
<div style="position: absolute; right: 0px;"><H4>Last update: 26/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 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> |
100 |
<div id="contarea"> |
101 |
<div id="content"> |
102 |
<a name="custom-top"></a> |
103 |
|
104 |
|
105 |
<!-- Intro --> |
106 |
<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> |
107 |
<p> |
108 |
Customizing the original CDs has to do with adding some features they miss. These are: |
109 |
<ul> |
110 |
|
111 |
<li><b>SystemRescueCD - Adding a script to start the X server</b><br> |
112 |
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. |
113 |
</li> |
114 |
<li> |
115 |
<b>Clonezilla Live</b><br> |
116 |
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. |
117 |
</li> |
118 |
</ul> |
119 |
<p> |
120 |
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. |
121 |
</p> |
122 |
|
123 |
<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> |
124 |
|
125 |
<!-- Creating Custom SystemRescueCD --> |
126 |
<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> |
127 |
<p>You need to have:</p> |
128 |
|
129 |
<ul> |
130 |
<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> |
131 |
<li>The latest stable SystemRescueCD ISO. Download it from here: <a href="http://www.sysresccd.org/Download" target="_blank">latest-sysresccd</a>.</li> |
132 |
<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> |
133 |
</ul> |
134 |
|
135 |
|
136 |
<H3><a name="proc-sys"></a>Procedure [<a href="#custom-top" title="go to top of the page">^</a>]</H3> |
137 |
|
138 |
<p> |
139 |
|
140 |
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. |
141 |
</p> |
142 |
|
143 |
|
144 |
<ol> |
145 |
<li><p style="margin-left: 0pt;">Boot into SystemRescueCD<br><br> |
146 |
If you already have the current <b>Clonezilla-SysRescCD</b> on CD, just put it in the CD drive and reboot.<br><br> |
147 |
|
148 |
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> |
149 |
<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> |
150 |
|
151 |
<p style="margin-left: 0pt;">If you have to erase the CD first, execute the command</p> |
152 |
<p class="newcode" style="margin-left: 0pt;">cdrecord dev=/dev/<font color="green">hdc</font> blank=fast</p> |
153 |
|
154 |
<p style="margin-left: 0pt;">When the system is fully up</p> |
155 |
</li> |
156 |
<li><p style="margin-left: 0pt;"> |
157 |
Mount the working partition</p> |
158 |
<p class="newcode" style="margin-left: 0pt;">mount /dev/<font color="green">hdb4</font> /mnt/custom</p> |
159 |
</li> |
160 |
<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> |
161 |
<p class="newcode" style="margin-left: 0pt;">mkdir /mnt/r<br> |
162 |
mount /dev/<font color="magenta">hdb1</font> /mnt/r</p> |
163 |
<p style="margin-left: 0pt;">otherwise execute the command:</p> |
164 |
<p class="newcode" style="margin-left: 0pt;">ln -s /mnt/custom /mnt/r</p> |
165 |
|
166 |
</li> |
167 |
<li><p style="margin-left: 0pt;"> |
168 |
Extract the current files from the sysrcd.dat image</p> |
169 |
<p class="newcode" style="margin-left: 0pt;">cd /mnt/custom<br> |
170 |
/usr/sbin/sysresccd-custom extract</p> |
171 |
|
172 |
<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> |
173 |
<li><p style="margin-left: 0pt;"> |
174 |
Install the new files</p> |
175 |
<p class="newcode" style="margin-left: 0pt;">cp /mnt/r/root/.clonezilla-sysresccd/files/startx-ati-tft /mnt/custom/customcd/files/usr/bin<br> |
176 |
chmod +x /mnt/custom/customcd/files/usr/bin/startx-ati-tft<br> |
177 |
cp /mnt/r/root/.clonezilla-sysresccd/files/what-cd /mnt/custom/customcd/files/usr/bin<br> |
178 |
chmod +x /mnt/custom/customcd/files/usr/bin/what-cd<br> |
179 |
cp /mnt/r/root/.clonezilla-sysresccd/files/continue-multi-cd /mnt/custom/customcd/files/usr/bin<br> |
180 |
chmod +x /mnt/custom/customcd/files/usr/bin/continue-multi-cd<br> |
181 |
tar -C /mnt/custom/customcd/isoroot -xzf /mnt/r/root/.clonezilla-sysresccd/files/doc.tar.gz<br> |
182 |
tar -C /mnt/custom/customcd/files -xzf /mnt/r/root/.clonezilla-sysresccd/files/doc.tar.gz</p> |
183 |
</li> |
184 |
<li><p style="margin-left: 0pt;"> |
185 |
Create the new squashfs image</p> |
186 |
<p class="newcode" style="margin-left: 0pt;">/usr/sbin/sysresccd-custom squashfs</p> |
187 |
</li> |
188 |
<li><p style="margin-left: 0pt;"> |
189 |
Set the default keymap (optional)<br> |
190 |
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 <your-keymap></i>. The second parameter is the name or the number of your keymap in the menu.<br><br> |
191 |
Set english keymap as default:</p> |
192 |
<p class="newcode" style="margin-left: 0pt;">/usr/sbin/sysresccd-custom setkmap en</p> |
193 |
</li> |
194 |
<li><p style="margin-left: 0pt;"> |
195 |
Create the new ISO image<br> |
196 |
Just type the following commands. The second parameter of the first command the volume name for the CDRom.</p> |
197 |
<p class="newcode" style="margin-left: 0pt;">/usr/sbin/sysresccd-custom isogen my_srcd<br> |
198 |
mv /mnt/custom/customcd/isofile/sysresccd-new.iso /mnt/custom<br> |
199 |
rm -fr /mnt/custom/customcd</p> |
200 |
</li> |
201 |
<li><p style="margin-left: 0pt;"> |
202 |
Synchronize your disks</p> |
203 |
<p class="newcode" style="margin-left: 0pt;">cd /<br> |
204 |
umount /mnt/custom<br> |
205 |
umount /mnt/r<br> |
206 |
sync</p></li> |
207 |
<li> |
208 |
Test the ISO image<br> |
209 |
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>. |
210 |
</li> |
211 |
</ol> |
212 |
|
213 |
|
214 |
|
215 |
|
216 |
|
217 |
|
218 |
|
219 |
|
220 |
|
221 |
|
222 |
|
223 |
|
224 |
|
225 |
|
226 |
|
227 |
<div class="hidden"> |
228 |
<!-- Clonezilla Custom CD --> |
229 |
<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> |
230 |
<p>You need to have:</p> |
231 |
<ul> |
232 |
<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> |
233 |
<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> |
234 |
<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> |
235 |
<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> |
236 |
</ul> |
237 |
|
238 |
|
239 |
<p>Saving files in <b>/dev/<font color="green">hdb4</font></b> means you have to mount the partition first. For example:</p> |
240 |
<p class="newcode">mount /dev/<font color="green">hdb4</font> <font color="red">/mnt/my-save-dir</font></p> |
241 |
<p>and save the files in <b><font color="red">/mnt/my-save-dir</font></b>.</p> |
242 |
|
243 |
<H3><a name="proc-clone"></a>Procedure [<a href="#custom-top" title="go to top of the page">^</a>]</H3> |
244 |
|
245 |
<p> |
246 |
<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. |
247 |
</p> |
248 |
|
249 |
|
250 |
<ol> |
251 |
<li><p style="margin-left: 0pt;">Boot into Clonezilla Live<br><br> |
252 |
If you already have the current <b>Clonezilla-SysRescCD</b> on CD, just put it in the CD drive and reboot.<br><br> |
253 |
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> |
254 |
<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> |
255 |
<p style="margin-left: 0pt;">If you have to erase the CD first, execute the command</p> |
256 |
<p class="newcode" style="margin-left: 0pt;">cdrecord dev=/dev/<font color="green">hdc</font> blank=fast</p> |
257 |
<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> |
258 |
</li> |
259 |
<li><p style="margin-left: 0pt;"> |
260 |
Mount the working partition</p> |
261 |
<p class="newcode" style="margin-left: 0pt;">sudo su -<br> |
262 |
mkdir /part<br> |
263 |
mount /dev/<font color="green">hdb4</font> /part</p> |
264 |
</li><p style="margin-left: 0pt;"> |
265 |
<li><a name="jens-fix"></a>Install new scripts<br><br> |
266 |
|
267 |
<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> |
268 |
<p class="newcode" style="margin-left: 0pt;">mkdir /mnt/r<br> |
269 |
mount /dev/<font color="magenta">hdb1</font> /mnt/r<br> |
270 |
cp /mnt/r/root/.clonezilla-sysresccd/files/ocs-iso /opt/drbl/sbin<br> |
271 |
cp /mnt/r/root/.clonezilla-sysresccd/files/*-cd /usr/bin<br> |
272 |
cp /mnt/r/root/.clonezilla-sysresccd/files/reloc-img /usr/bin<br> |
273 |
chmod +x /usr/bin/*-cd<br> |
274 |
chmod +x /usr/bin/reloc-img<br> |
275 |
umount /mnt/r<br> |
276 |
rmdir /mnt/r</p> |
277 |
<p style="margin-left: 0pt;">otherwise execute the commands:</p> |
278 |
<p class="newcode" style="margin-left: 0pt;">cp /part/root/.clonezilla-sysresccd/files/ocs-iso /opt/drbl/sbin<br> |
279 |
cp /part/root/.clonezilla-sysresccd/files/*-cd /usr/bin<br> |
280 |
cp /part/root/.clonezilla-sysresccd/files/reloc-img /usr/bin<br> |
281 |
chmod +x /usr/bin/*-cd<br> |
282 |
chmod +x /usr/bin/reloc-img</p> |
283 |
</li> |
284 |
<li><p style="margin-left: 0pt;">Create the customized ISO file</p> |
285 |
<p class="newcode" style="margin-left: 0pt;">cd /part<br> |
286 |
/opt/drbl/sbin/ocs-iso -s</p> |
287 |
|
288 |
<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 |
289 |
</b><br><br> |
290 |
Do <b>NOT</b> delete any of the files present in <b>/part</b>, as they may be needed later on.</p> |
291 |
</li> |
292 |
<li><p style="margin-left: 0pt;"> |
293 |
Synchronize your disks</p> |
294 |
<p class="newcode" style="margin-left: 0pt;">cd /<br> |
295 |
umount /part<br> |
296 |
sync</p> |
297 |
</li> |
298 |
<li> |
299 |
Test the ISO image<br> |
300 |
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> |
301 |
</li> |
302 |
</ol> |
303 |
</div> |
304 |
|
305 |
<!-- Multi Boot Custom CD --> |
306 |
<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> |
307 |
<p>You need to have:</p> |
308 |
|
309 |
<ul> |
310 |
|
311 |
<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> |
312 |
<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> |
313 |
<p class="newcode" style="margin-left: 0pt;"><font color="green">/data</font>/sysresccd-new.iso and<br> |
314 |
<font color="green">/data</font>/clonezilla-live-<font color="Maroon">1.2.1-39</font>.iso</p> |
315 |
</li> |
316 |
</ul> |
317 |
|
318 |
<H3><a name="proc-multi"></a>Procedure [<a href="#custom-top" title="go to top of the page">^</a>]</H3> |
319 |
<ol> |
320 |
<li>Boot into your normal Linux system, as root |
321 |
</li> |
322 |
|
323 |
|
324 |
<li><p style="margin-left: 0pt;">Create a new profile<br> |
325 |
Open <b>/root/.clonezilla-sysresccd/profiles.conf</b> in a text editor and add the lines:</p> |
326 |
<p class="newcode" style="margin-left: 0pt;">profile[<font color="magenta">3</font>]=Multi-boot-modified<br> |
327 |
sysCDP[<font color="magenta">3</font>]=<font color="green">/data</font>/sysresccd-new.iso<br> |
328 |
cloneCDP[<font color="magenta">3</font>]=<font color="green">/data</font>/clonezilla-live-<font color="Maroon">1.2.1-39</font>.iso<br> |
329 |
cfgFileP[<font color="magenta">3</font>]=/root/.clonezilla-sysresccd/files/menu-iso.tar.gz<br> |
330 |
<span class="hidden">DebianLiveFolderP[<font color="magenta">3</font>]=<font color="green">/data</font><br></span> |
331 |
exScriptP[<font color="magenta">3</font>]=/root/.clonezilla-sysresccd/files/extra-code<br> |
332 |
outNameP[<font color="magenta">3</font>]='full-mod'</p> |
333 |
|
334 |
<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> |
335 |
<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> |
336 |
|
337 |
<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> |
338 |
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> |
339 |
</li> |
340 |
|
341 |
<li><p style="margin-left: 0pt;">Create the final CD using the new profile<br> |
342 |
Execute the command:</p> |
343 |
<p class="newcode" style="margin-left: 0pt;">create-clonezilla-sysresccd -p <font color="magenta">3</font></p> |
344 |
<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> |
345 |
<li><p style="margin-left: 0pt;">Cleaning up</p> |
346 |
<p class="newcode" style="margin-left: 0pt;">cd <font color="green">/data</font><br> |
347 |
rm clonezilla-live-<font color="Maroon">1.2.1-39</font>.iso sysresccd-new.iso <br><span class="hidden"><br> |
348 |
debian-live-for-ocs.iso unifont.bgf<br></span> |
349 |
cd<br> |
350 |
umount <font color="green">/data</font> |
351 |
</p> |
352 |
</li> |
353 |
<li>Test the ISO image<br> |
354 |
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. |
355 |
</li> |
356 |
</ol> |
357 |
|
358 |
|
359 |
<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> |
360 |
|
361 |
<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> |
362 |
|
363 |
<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> |
364 |
|
365 |
<p>Its help screen is the following:</p> |
366 |
|
367 |
<p class="newcode"># <font color="Green">patch-clonezilla-sysresccd -h</font><br> |
368 |
patch-clonezilla-sysresccd - v 2.2.0<br> |
369 |
(C) 2008, Spiros Georgaras <sng@hellug.gr><br> |
370 |
<br> |
371 |
A utility to personalize Clonezilla-SysRescCD<br> |
372 |
<br> |
373 |
Usage: patch-clonezilla-sysresccd [options]<br> |
374 |
<br> |
375 |
Available options are:<br> |
376 |
i [file or device] input file or cdrom device<br> |
377 |
o [iso file] outpup ISO file. If not specified, implies burn ISO file (-b)<br> |
378 |
and delete ISO file (-d)<br> |
379 |
s [png image] boot splash screen<br> |
380 |
r [png image] restore splash screen<br> |
381 |
t [title] boot screen title<br> |
382 |
p [partition] partition to be used as temporary storage location and/or final<br> |
383 |
ISO file creation location (e.g -p hda)<br> |
384 |
k Do not create/burn the ISO file. Just make the modified files <br> |
385 |
available for further customization (optional)<br> |
386 |
b burn ISO file to CD (optional)<br> |
387 |
f burn ISO file to CD on the fly (optional)<br> |
388 |
w writter device to use (optional)<br> |
389 |
d delete ISO file after burning to CD.<br> |
390 |
Implies burn ISO file (-b) (optional)<br> |
391 |
v print version and exit<br> |
392 |
h print this screen and exit</p> |
393 |
|
394 |
<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> |
395 |
|
396 |
|
397 |
</div> |
398 |
|
399 |
|
400 |
|
401 |
<!--<a name="template-top"></a>--> |
402 |
|
403 |
<div id="menu"> |
404 |
<H1 style="margin-top: 0;">What's New</H1> |
405 |
<p><a href="news.php#Windows USB installation problem">08/07/2008 - Windows USB installation problem</a></p> |
406 |
<p><a href="news.php#USB installation problem">05/07/2008 - USB installation problem</a></p> |
407 |
<p><a href="news.php#Clonezilla-SysRescCD 2.6.0 ISO direct link available!!!">03/07/2008 - Clonezilla-SysRescCD 2.6.0 ISO direct link available!!!</a></p> |
408 |
<p><a href="news.php#Clonezilla-SysRescCD 2.6.0 is out!!!">02/07/2008 - Clonezilla-SysRescCD 2.6.0 is out!!!</a></p> |
409 |
<p><a href="news.php#Fixing Clonezilla Live modified CD creation instructions">12/04/2008 - Fixing Clonezilla Live modified CD creation instructions</a></p> |
410 |
<p><a href="news.php#Clonezilla-SysRescCD 2.5.0 is out!!!">11/04/2008 - Clonezilla-SysRescCD 2.5.0 is out!!!</a></p> |
411 |
<p><a href="news.php#Clonezilla-SysRescCD 2.5.0 ISO direct link available!!!">11/04/2008 - Clonezilla-SysRescCD 2.5.0 ISO direct link available!!!</a></p> |
412 |
<p><a href="news.php#Fixing Custom Clonezilla Live CD creation instructions">29/03/2008 - Fixing Custom Clonezilla Live CD creation instructions</a></p> |
413 |
<p><a href="news.php#Clonezilla-SysRescCD 2.4.1 bug fix tarball">24/03/2008 - Clonezilla-SysRescCD 2.4.1 bug fix tarball</a></p> |
414 |
<p><a href="news.php#Clonezilla-SysRescCD 2.4.0 is out!!!">24/03/2008 - Clonezilla-SysRescCD 2.4.0 is out!!!</a></p> |
415 |
<p><a href="news.php#Clonezilla-SysRescCD 2.4.0 ISO direct link available!!!">24/03/2008 - Clonezilla-SysRescCD 2.4.0 ISO direct link available!!!</a></p> |
416 |
<p><a href="news.php#Fixing USB installation instructions">10/03/2008 - Fixing USB installation instructions</a></p> |
417 |
<p><a href="news.php#Clonezilla Live v 1.0.9-10 backup session flash presentation">10/03/2008 - Clonezilla Live v 1.0.9-10 backup session flash presentation</a></p> |
418 |
<p><a href="news.php#Clonezilla-SysRescCD 2.3.0 is out!!!">08/03/2008 - Clonezilla-SysRescCD 2.3.0 is out!!!</a></p> |
419 |
<p><a href="news.php#Clonezilla-SysRescCD 2.3.0 ISO direct link available!!!">08/03/2008 - Clonezilla-SysRescCD 2.3.0 ISO direct link available!!!</a></p> |
420 |
<p><a href="news.php#Fixing "Tools > Network boot via etherboot" problem">23/02/2008 - Fixing "Tools > Network boot via etherboot" problem</a></p> |
421 |
<p><a href="news.php#Clonezilla-SysRescCD 2.2.0 ISO direct link available!!!">23/02/2008 - Clonezilla-SysRescCD 2.2.0 ISO direct link available!!!</a></p> |
422 |
<p><a href="news.php#Clonezilla-SysRescCD 2.2.0 is out!!!">22/02/2008 - Clonezilla-SysRescCD 2.2.0 is out!!!</a></p> |
423 |
<p><a href="news.php#Documentation update">28/11/2007 - Documentation update</a></p> |
424 |
<p><a href="news.php#Clonezilla-SysRescCD News">04/11/2007 - Clonezilla-SysRescCD News</a></p> |
425 |
<p><a href="news.php#Clonezilla-SysRescCD 1.3.0 ISO direct link available!!!">04/11/2007 - Clonezilla-SysRescCD 1.3.0 ISO direct link available!!!</a></p> |
426 |
<p><a href="news.php#Clonezilla-SysRescCD 1.3.0 is out!!!">03/11/2007 - Clonezilla-SysRescCD 1.3.0 is out!!!</a></p> |
427 |
<p><a href="news.php#Clonezilla-SysRescCD 1.3.0 is out!!!">03/11/2007 - Clonezilla-SysRescCD 1.3.0 is out!!!</a></p> |
428 |
<p><a href="news.php#Clonezilla-SysRescCD mailing lists up and running!!!">20/10/2007 - Clonezilla-SysRescCD mailing lists up and running!!!</a></p> |
429 |
<p><a href="news.php#Clonezilla-SysRescCD beeing removed from SourceForge">19/10/2007 - Clonezilla-SysRescCD beeing removed from SourceForge</a></p> |
430 |
<p><a href="news.php#Clonezilla-SysRescCD 1.2.0 ISO direct link available!!!">15/10/2007 - Clonezilla-SysRescCD 1.2.0 ISO direct link available!!!</a></p> |
431 |
<p><a href="news.php#v 1.2.0 Bug: script continue-multi-cd v 1.0.0">11/10/2007 - v 1.2.0 Bug: script continue-multi-cd v 1.0.0</a></p> |
432 |
<p><a href="news.php#Clonezilla-SysRescCD gets its own site!!!">11/10/2007 - Clonezilla-SysRescCD gets its own site!!!</a></p> |
433 |
|
434 |
</div> |
435 |
<div id="footer"> |
436 |
<p>Copyright: © <a href="mailto:sng@hellug.gr?subject=About Clonezilla-SysRescCD v 3.1.0">Spiros Georgaras</a>, 2007-2010<br /><br/> |
437 |
Hosted by <a href="http://www.hellug.gr" target="_blank" title="Hellenic Linux User Group">HEL.L.U.G.</a></p> |
438 |
</div> |
439 |
</div> |
440 |
</body> |
441 |
</html> |