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 - Clonezilla-SysRescCD own scripts</title> |
7 |
<style type="text/css"> |
8 |
body { font-family: 'sans serif'; background : url(null) fixed no-repeat; background-color: White; } |
9 |
H1,H2,H3,H4{color: #990000; text-align: left;} |
10 |
H2{margin-top: 2em;} |
11 |
H3{margin-top: 1.5em} |
12 |
H4{margin-top: 1em} |
13 |
li { font-family: 'sans serif'; margin-top: 1em;} |
14 |
a{text-decoration: none;} |
15 |
a:hover{text-decoration: underline;} |
16 |
.hidden{ display:none; } |
17 |
p,td,table,tr,li { font-family: 'sans serif'; margin-left: 15pt;} |
18 |
.nav{margin-left: 0pt;} |
19 |
.newcode{font-family : "Courier New", Courier, monospace; font-weight: bold; background-color: #F2F2F2; border: solid 1px #DEDEDE;padding: 20pt;} |
20 |
.note{margin-top: 30pt; margin-bottom: 30pt; text-align: left; background-color: #FFEFEF; border: double 3px; border-color: #FFD5D5;} |
21 |
hr{color: Black; background-color: Black; height: 1px; border: none;} |
22 |
.otherpage{margin-left: 15pt;border: solid 1px darkgoldenrod; padding: 20pt; background-color: lemonchiffon;} |
23 |
IMG {display: block; margin-left: auto; margin-right: auto } |
24 |
</style> |
25 |
<META NAME="Keywords" CONTENT="multiboot Multi Boot bootable cd rescue clonezilla sysresccd backup restore samba"> |
26 |
<meta http-equiv="Content-Type" content="text/html; charset=utf-8"> |
27 |
|
28 |
</head> |
29 |
<body style="margin-left: 40pt; margin-right: 40pt;"> |
30 |
<a name="scripts-top"></a> |
31 |
<H1> Clonezilla-SysRescCD<br>Clonezilla-SysRescCD own scripts<br>08/02/2009 - v 3.1.0</H1> |
32 |
<!--site-only--><table border="0" width="95%" style="margin-left: auto;margin-right: auto;"><tr><td><font size="-1">Copyright: © 2007-2009, <a href="mailto:sng@hellug.gr?subject=About Clonezilla-SysRescCD v 3.1.0">Spiros Georgaras <sng@hellug.gr></a></font></td><td align="right"><font size="-1"><a href="onepage.php" target="_blank" title="View the whole site in one big page">Single page</a></font></td></tr><tr><td><font size="-1">Last update: 23/12/2009</font></td><td align="right"><font size="-1"><a href="printable.php" target="_blank" title="View a printable version of this page">Printable version</a></font></td></tr><tr><td><font size="-1"></font></td><td align="right"><font size="-1"></font></td></tr><tr><td><font size="-1"> </font></td><td align="right"><font size="-1"></font></td></tr><tr><td><!-- <font size="-1">Select language: <img src="en.png" border="0" width="21" height="14" alt="English"> <a href=""><img src="el.png" border="0" width="21" height="14" alt="Greek"></a></font> --></td><td align="right"><font size="-1"><a href="http://clonezilla-sysresccd.hellug.gr/clonezilla-sysresccd.rss" title="RSS news feed"><img src="rss-orange-11.png" border="0" width="30" height="14" alt="RSS news feed"></a></font></td></tr><tr><td><font size="-1"> </font></td><td align="right"><font size="-1"></font></td></tr></table><table border="0" width="100%" class="nav"><tr> <td width="33%"><a href="recover.html">Previous</a></td> <td width="34%" align="center"><a href="index.html">Contents</a></td> <td width="33%" align="right"><a href="oldboot.html">Next</a></td> </tr></table><hr style="margin: 0;"><!--end-site-only--> |
33 |
|
34 |
<p>In this page I will present the scripts I have written for <b>Clonezilla-SysRescCD</b></p> |
35 |
<!-- On the CD --> |
36 |
|
37 |
<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> |
38 |
<p>Included in: <b>SystemRescueCD</b><br><br> |
39 |
|
40 |
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> |
41 |
|
42 |
<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> |
43 |
<p>Included in: <b>SystemRescueCD</b><br><br> |
44 |
|
45 |
This script determines the device names for your CDs/DVDs, and whether they can read/write CD/DVD-ROMs<br><br> |
46 |
|
47 |
Its help screen is the following:</p> |
48 |
|
49 |
<p class="newcode"># <font color="Green">what-cd -h</font><br> |
50 |
what-cd - v 1.0.0 - S. Georgaras <sng@hellug.gr><br> |
51 |
<br> |
52 |
what-cd will try to identify your CD/DVDs<br> |
53 |
You can use it to identify the device name of your CD-Reader (default),<br> |
54 |
CD-Writer, DVD-Reader, and DVD-Writer.<br> |
55 |
<br> |
56 |
Usage: what-cd [options]<br> |
57 |
Availabe options are:<br> |
58 |
d Print info about DVDs<br> |
59 |
w Print info about writers<br> |
60 |
b Batch mode. Only print one device name.<br> |
61 |
If more than one device is found, print<br> |
62 |
nothing. For use with scripts<br> |
63 |
e deviceID Eject device deviceID<br> |
64 |
Accecpable values: -1...num of devices<br> |
65 |
Use -1 when in batch mode<br> |
66 |
v Print version info and exit<br> |
67 |
h Print this screen and exit</p> |
68 |
|
69 |
<p>Its typical usage would be to identify the DVD writer:</p> |
70 |
|
71 |
<p class="newcode"># <font color="Green">what-cd -dw</font><br> |
72 |
Device /dev/hdd (id=0) can not write DVDs<br> |
73 |
Device <font color="Magenta">/dev/hdc</font> (id=1) can write DVDs</p> |
74 |
|
75 |
<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> |
76 |
|
77 |
<p class="newcode"># <font color="Green">what-cd -dwb</font><br> |
78 |
/dev/hdc</p> |
79 |
|
80 |
<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> |
81 |
<p>Included in: <b>SystemRescueCD</b><br><br> |
82 |
|
83 |
<b>continue-multi-cd</b> will help you continue a multi session CD; that is will help you prepare ans burn any consecutive sessions to it. It may lack some of the functionality you would have had if you used the command line tools by themselves (mksiofs and cdrecord), but because of it, it keeps you away from writing a lot of parameters.<br><br> |
84 |
|
85 |
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> |
86 |
|
87 |
<p>Its help screen is the following:</p> |
88 |
|
89 |
<p class="newcode"># <font color="Green">continue-multi-cd -h</font><br> |
90 |
continue-multi-cd - v 2.0.0 - S. Georgaras <sng@hellug.gr><br> |
91 |
<br> |
92 |
Usage: continue-multi-cd [options] <path to be added to CD><br> |
93 |
<br> |
94 |
Available options are:<br> |
95 |
d Specify write device (in case auto detection does not work)<br> |
96 |
c Close the CD. No more burning will be possible<br> |
97 |
Default is to leave it open<br> |
98 |
l Don't burn the CD after image creation<br> |
99 |
o <image name> Save the image file as <image name><br> |
100 |
r Remove the image file after burning<br> |
101 |
f On the fly burning of the CD. No image file will be created<br> |
102 |
v Print version info and exit<br> |
103 |
h Print this screen and exit</p> |
104 |
|
105 |
<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> |
106 |
|
107 |
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> |
108 |
|
109 |
<p class="newcode"><font color="Green">continue-multi-cd -mwr /home/user/extra-doc</font></p> |
110 |
|
111 |
<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> |
112 |
|
113 |
<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> |
114 |
|
115 |
<p class="newcode">mkdir -p /tmp/for-the-cd<br> |
116 |
cp -r /home/user/extra-doc /tmp/for-the-cd<br> |
117 |
<font color="Green">continue-multi-cd -r /tmp/for-the-cd</font><br> |
118 |
rm -rf /tmp/for-the-cd</p> |
119 |
|
120 |
<!--site-only--><hr style="margin: 0;"><table border="0" width="100%" class="nav"><tr> <td width="33%"><a href="recover.html">Previous</a></td> <td width="34%" align="center"><a href="index.html">Contents</a></td> <td width="33%" align="right"><a href="oldboot.html">Next</a></td> </tr></table><!--end-site-only--> |
121 |
<!--site-only--><p align="right" style="margin-bottom: 2em;"> <a href="http://feedvalidator.org/check.cgi?url=http%3A//clonezilla-sysresccd.hellug.gr/clonezilla-sysresccd.rss" target="_blank"><img src="valid-rss.png" alt="[Valid RSS]" title="Validate my RSS feed" border="0" align="right"></a> <a href="http://jigsaw.w3.org/css-validator/validator?uri=http://clonezilla-sysresccd.hellug.gr/own-scripts.html" target="_blank"> <img style="border:0;width:88px;height:31px" src="valid-css.png" alt="Valid CSS!" border="0" align="right"></a> <a href="http://validator.w3.org/check?uri=http://clonezilla-sysresccd.hellug.gr/own-scripts.html" target="_blank"><img src="valid-html401.png" alt="Valid HTML 4.01 Transitional" height="31" width="88" border="0" align="right"></a></p><!--end-site-only--> |
122 |
</body> |
123 |
</html> |