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: Clonezilla-SysRescCD own scripts</title> |
7 |
|
|
<style type="text/css"> |
8 |
sng |
125 |
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 |
sng |
28 |
|
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 |
sng |
145 |
#warning { margin: 5px; padding: .4em; background-color: Red; color: White; align: center; font-weight: bold; border-width: 2px; border-color: white; border-style: solid; } |
70 |
sng |
144 |
#warning a { color: white; font-weight: bold; text-decoration: underline; } |
71 |
sng |
28 |
</style> |
72 |
sng |
144 |
<link href="warning.css" rel="stylesheet" type="text/css" /> |
73 |
|
|
<!-- |
74 |
|
|
The file waring.css exists only in the root of the site |
75 |
sng |
146 |
and it hides the UNSTABLE warnings. Its contents are |
76 |
sng |
144 |
#warning { display: none; } |
77 |
|
|
--> |
78 |
sng |
28 |
<META NAME="Keywords" CONTENT="multiboot Multi Boot bootable cd rescue clonezilla sysresccd backup restore samba"> |
79 |
|
|
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8"> |
80 |
|
|
|
81 |
|
|
</head> |
82 |
|
|
|
83 |
|
|
<body> |
84 |
sng |
144 |
<div id="warning" align="center"> |
85 |
|
|
WARNING<br> |
86 |
sng |
146 |
This is the UNSTABLE version of Clonezilla-SysRescCD<br> |
87 |
sng |
145 |
To acces our current stable version, please click <a href="../index.html">here</a> |
88 |
sng |
144 |
</div> |
89 |
sng |
28 |
<div id="header"> |
90 |
sng |
124 |
<div id="lphp" style=""><a target="_blank" title="Display all in one long page" href="onepage.html"><img src="images/chain.png" border="0" /></a><a target="_blank" title="Display printable page" href="printable.php"><img src="images/print_it.png" border="0" /></a></div> |
91 |
sng |
28 |
<H2>Clonezilla-SysRescCD</H2> |
92 |
|
|
<H3>Documentation: Clonezilla-SysRescCD own scripts</H3> |
93 |
|
|
<div style="margin:0; padding: 3px; width: 980; position relative;"> |
94 |
sng |
141 |
<div style="position: absolute; left: 0px;"><H4>30/09/2010 - v 3.2.0</H4></div> |
95 |
sng |
144 |
<div style="position: absolute; right: 0px;"><H4>Last update: 07/10/2010</H4></div> |
96 |
sng |
28 |
</div> |
97 |
|
|
</div> |
98 |
|
|
<div id="linkline"> |
99 |
|
|
<a href="index.html">Home</a> |
100 |
|
|
<a href="news.php">News</a> |
101 |
|
|
<!-- <a href="features.html">Features</a>--> |
102 |
|
|
<a class="here" href="doc.html">Documentation</a> |
103 |
sng |
95 |
<a href="download.html">Download</a> |
104 |
sng |
28 |
<a href="screenshots.html">Screenshots</a> |
105 |
|
|
<a href="index.html#credits">Credits</a> |
106 |
|
|
<a href="help.html">Help</a> |
107 |
|
|
|
108 |
|
|
<div id="rss"> |
109 |
|
|
<a href="clonezilla-sysresccd.rss"><img src="images/rss-orange-11.png" width="30" height="14" border="0"/></a> |
110 |
|
|
</div> |
111 |
|
|
<!-- docline-top--> |
112 |
|
|
<div id="docline-top"> <a href="recover.html">< PREV</a> <a href="doc.html">UP</a> <a href="annex-a-devices.html">NEXT ></a> </div> |
113 |
|
|
</div> |
114 |
|
|
<div id="contarea"> |
115 |
|
|
<div id="content"> |
116 |
|
|
<a name="scripts-top"></a> |
117 |
|
|
|
118 |
|
|
<H2 style="margin-top: 0;"><a name="scripts-intro"></a>Intro <span class="hideprint">[<a href="#scripts-top" title="go to top of the page">^</a>]</span></H2> |
119 |
|
|
|
120 |
|
|
<p>In this page I will present the scripts I have ever written for <b>Clonezilla-SysRescCD</b></p> |
121 |
|
|
<!-- On the CD --> |
122 |
|
|
|
123 |
|
|
<H2><a name="scripts-what-cd"></a>what-cd <span class="hideprint">[<a href="#scripts-top" title="go to top of the page">^</a>]</span></H2> |
124 |
|
|
<p>Included in: <b>SystemRescueCD</b><br><br> |
125 |
|
|
|
126 |
|
|
This script determines the device names for your CDs/DVDs, and whether they can read/write CD/DVD-ROMs<br><br> |
127 |
|
|
|
128 |
|
|
Its help screen is the following:</p> |
129 |
|
|
|
130 |
|
|
<p class="newcode"># <font color="Green">what-cd -h</font><br> |
131 |
|
|
what-cd - v 1.0.0 - S. Georgaras <sng@hellug.gr><br> |
132 |
|
|
<br> |
133 |
|
|
what-cd will try to identify your CD/DVDs<br> |
134 |
|
|
You can use it to identify the device name of your CD-Reader (default),<br> |
135 |
|
|
CD-Writer, DVD-Reader, and DVD-Writer.<br> |
136 |
|
|
<br> |
137 |
|
|
Usage: what-cd [options]<br> |
138 |
|
|
Availabe options are:<br> |
139 |
|
|
d Print info about DVDs<br> |
140 |
|
|
w Print info about writers<br> |
141 |
|
|
b Batch mode. Only print one device name.<br> |
142 |
|
|
If more than one device is found, print<br> |
143 |
|
|
nothing. For use with scripts<br> |
144 |
|
|
e deviceID Eject device deviceID<br> |
145 |
|
|
Accecpable values: -1...num of devices<br> |
146 |
|
|
Use -1 when in batch mode<br> |
147 |
|
|
v Print version info and exit<br> |
148 |
|
|
h Print this screen and exit</p> |
149 |
|
|
|
150 |
|
|
<p>Its typical usage would be to identify the DVD writer:</p> |
151 |
|
|
|
152 |
|
|
<p class="newcode"># <font color="Green">what-cd -dw</font><br> |
153 |
|
|
Device /dev/hdd (id=0) can not write DVDs<br> |
154 |
|
|
Device <font color="Magenta">/dev/hdc</font> (id=1) can write DVDs</p> |
155 |
|
|
|
156 |
|
|
<p>When used in batch mode, it will only print a device name. This is especially useful in scripts, but also in the command line, as shown in section "<a href="restore.html#burn">Burning the DVD</a>".</p> |
157 |
|
|
|
158 |
|
|
<p class="newcode"># <font color="Green">what-cd -dwb</font><br> |
159 |
|
|
/dev/hdc</p> |
160 |
|
|
|
161 |
|
|
<H2><a name="scripts-cont-cd"></a>continue-multi-cd <span class="hideprint">[<a href="#scripts-top" title="go to top of the page">^</a>]</span></H2> |
162 |
|
|
<p>Included in: <b>SystemRescueCD</b><br><br> |
163 |
|
|
|
164 |
|
|
<b>continue-multi-cd</b> helps you append data to a multi session CD; that is it helps you prepare and burn any consecutive sessions to it. It may lack some of the functionality you would have had if you used the command line tools themselves (mksiofs and cdrecord), but because of it, it keeps you away from writing a lot of parameters.<br><br> |
165 |
|
|
|
166 |
|
|
You could use it for example, to burn some extra documentation to <b>Clonezilla-SysRescCD</b> CD, but you cannot use it to change the configuration files of <b>isolinux</b>, as it just reads the first session when booting.<br><br> |
167 |
|
|
|
168 |
|
|
<p>Its help screen is the following:</p> |
169 |
|
|
|
170 |
|
|
<p class="newcode"># <font color="Green">continue-multi-cd -h</font><br> |
171 |
|
|
continue-multi-cd - v 2.0.0 - S. Georgaras <sng@hellug.gr><br> |
172 |
|
|
<br> |
173 |
|
|
Usage: continue-multi-cd [options] <path to be added to CD><br> |
174 |
|
|
<br> |
175 |
|
|
Available options are:<br> |
176 |
|
|
d Specify write device (in case auto detection does not work)<br> |
177 |
|
|
c Close the CD. No more burning will be possible<br> |
178 |
|
|
Default is to leave it open<br> |
179 |
|
|
l Don't burn the CD after image creation<br> |
180 |
|
|
o <image name> Save the image file as <image name><br> |
181 |
|
|
r Remove the image file after burning<br> |
182 |
|
|
f On the fly burning of the CD. No image file will be created<br> |
183 |
|
|
v Print version info and exit<br> |
184 |
|
|
h Print this screen and exit</p> |
185 |
|
|
|
186 |
|
|
<p>You have to note one thing though: the folder <b><path to be added to CD></b> will not be present on the CD; only its contents will.<br><br> |
187 |
|
|
|
188 |
|
|
Let's suppose that you want to add to the CD the folder <b>extra-doc</b>, which contains <b>q-a.html</b> and <b>faq.html</b>, and that its full path is <b>/home/user/extra-doc</b>. If you issue the command</p> |
189 |
|
|
|
190 |
|
|
<p class="newcode"><font color="Green">continue-multi-cd -mwr /home/user/extra-doc</font></p> |
191 |
|
|
|
192 |
|
|
<p>you will not have a <b>extra-doc</b> folder on the root of your CD, but the files <b>q-a.html</b> and <b>faq.html</b> will be present there.</p> |
193 |
|
|
|
194 |
|
|
<p>In order to have <b>extra-doc</b> on the CD, you have to copy it to a temporary location and pass that path to <b>continue-multi-cd</b>. Let's see how it's done:</p> |
195 |
|
|
|
196 |
|
|
<p class="newcode">mkdir -p /tmp/for-the-cd<br> |
197 |
|
|
cp -r /home/user/extra-doc /tmp/for-the-cd<br> |
198 |
|
|
<font color="Green">continue-multi-cd -r /tmp/for-the-cd</font><br> |
199 |
|
|
rm -rf /tmp/for-the-cd</p> |
200 |
|
|
|
201 |
|
|
<!--not-on-txt--> |
202 |
|
|
<H2><a name="scripts-startx"></a>startx-ttf-ati <span class="hideprint">[<a href="#scripts-top" title="go to top of the page">^</a>]</span></H2> |
203 |
|
|
<p>Included in: <b>SystemRescueCD</b><br><br> |
204 |
|
|
|
205 |
|
|
This script will help you start the X server (graphical environment), if you have a ATI video card and a TTF monitor. The normal <b>startx</b> command will not work in this case; you will end up with a blank screen.</p> |
206 |
|
|
|
207 |
|
|
<p><span class="red"> Update: </span> <b>startx-ttf-ati</b> has been removed in version 3.1.0, since the "ATI video card vs. TTF monitor" problem has been resolved. |
208 |
|
|
|
209 |
|
|
<!--end-not-on-txt--> |
210 |
|
|
</div> |
211 |
|
|
|
212 |
|
|
|
213 |
|
|
|
214 |
|
|
<!--<a name="template-top"></a>--> |
215 |
|
|
|
216 |
|
|
<div id="footer"> |
217 |
|
|
<div id="docline-bottom"> <a href="recover.html">< PREV</a> <a href="doc.html">UP</a> <a href="annex-a-devices.html">NEXT ></a> </div> |
218 |
sng |
141 |
<p>Copyright: © <a href="mailto:sng@hellug.gr?subject=About Clonezilla-SysRescCD v 3.2.0">Spiros Georgaras</a>, 2007-2010<br /><br/> |
219 |
sng |
129 |
Hosted by <a href="http://hellug.gr/index.php/OSullogos/Tautothta?from=Main.HELLUG" target="_blank" title="Hellenic Linux User Group">HEL.L.U.G.</a></p> |
220 |
sng |
28 |
</div> |
221 |
|
|
</div> |
222 |
sng |
144 |
<div id="warning" align="center"> |
223 |
|
|
WARNING<br> |
224 |
sng |
146 |
This is the UNSTABLE version of Clonezilla-SysRescCD<br> |
225 |
sng |
145 |
To acces our current stable version, please click <a href="../index.html">here</a> |
226 |
sng |
144 |
</div> |
227 |
sng |
28 |
</body> |
228 |
|
|
</html> |