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

Contents of /trunk/www/clonezilla.html

Parent Directory Parent Directory | Revision Log Revision Log


Revision 56 - (show annotations)
Fri May 21 14:49:03 2010 UTC (13 years, 10 months ago) by sng
File MIME type: text/html
File size: 38916 byte(s)
adding missing icons, fixing icons paths

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 Clonezilla Live</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.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: About Clonezilla Live</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: 21/05/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="boot-params.html">&lt; PREV</a> <a href="doc.html">UP</a> <a href="backup.html">NEXT &gt;</a> </div>
100 </div>
101 <div id="contarea">
102 <div id="content">
103 <a name="clonezilla-top"></a>
104
105
106
107
108 <!-- Intro -->
109 <H2 style="margin-top: 0;"><a name="clonezilla-intro"></a>Intro <span class="hideprint">[<a href="#clonezilla-top" title="go to top of the page">^</a>]</span></H2>
110 <p>The DRBL-based PXEBoot Clonezilla is used to clone many computers simultaneously. It is an extremely useful tool, however, it does have several limitations. In order to use it, you must first prepare a DRBL server AND the machine to be cloned must boot from a network (e.g. PXE/Etherboot).<br><br>
111 <!--empty line-->
112 To address these limitations, the Free Software Lab at the NCHC has combined <a href="http://debian-live.alioth.debian.org/" target=_blank>Debian Live</a> with Clonezilla to produce "<b>Clonezilla Live</b>", a new software that can be used to easily clone individual machines.</p>
113
114
115 <p>
116 <b>Clonezilla Live</b> provides two modes of operation:
117 </p>
118
119 <ul>
120 <li><b>device-image</b><br>
121 In this mode of operation, a disk/partition can be saved to an image file. This image file can be used to restore the original disk/partition. With Clonezilla-SysRescCD, it can also be used to create an automated restore CD/DVD. This is the mode of operation we will discuss here.
122 </li>
123 <li><b>device-device (cloning)</b><br>
124 This mode of operation creates an exact copy of the original disk/partition on the fly.</li>
125 </ul>
126 <p>When working in <b>device-image</b> mode, you will always have to specify three things:</p>
127 <ul>
128 <li>The location of the image file</li>
129 <li>The working parameters for the operation</li>
130 <li>The disk/partition that will be saved/restored</li>
131 </ul>
132
133 <p><b>Clonezilla Live</b> provides a user friendly interface in order to insert this data.<br><br>
134 <!--empty line-->
135 When <b>Clonezilla Live</b> is booted up, either normally or copied to RAM, the contents of the whole CD/DVD can be found in folder <b>/live/image</b>. This is where you will find any extra files, such as the <b>restorecd</b> and the <b>doc</b> folders.
136 </p>
137
138
139 <!-- Start - Stop -->
140 <H2><a name="start-stop"></a>Starting and stopping Clonezilla Live <span class="hideprint">[<a href="#clonezilla-top" title="go to top of the page">^</a>]</span></H2>
141 <p>When you boot into <b>Clonezilla Live</b>, the program (actually a script) starts automatically. There are many places where you can stop it, by selecting <b>Cancel</b> or answering <b>N(o)</b> to a question. When you do that you will probably get the following:</p>
142 <p class="newcode">Now you can choose to:<br>
143 (0) Poweroff<br>
144 (1) Reboot<br>
145 (2) Enter command line prompt<br>
146 (3) Start over<br>
147 [2]</p>
148 <!--empty line-->
149 <p>Select Poweroff or Reboot, <b>only</b> if you haven't already mounted a disk partition. I found out by experience, it is not always safe to let any live CD automatically unmount my partitions. So if you have already specified the image partition and/or the partition to save/restore, you should enter command line prompt and type:</p>
150 <p class="newcode"><a name="umount"></a>sudo su -<br>
151 mount | grep /dev/[sh]d</p>
152 <p>and then unmount the partitions shown by the last command. So if the results of this command is for example:</p>
153 <p class="newcode"><font color="Green">/dev/hda1</font> on /home/partimag type vfat (rw)</p>
154 <p>just type the command:</p>
155 <p class="newcode">umount <font color="Green">/dev/hda1</font></p>
156 <p>and it's now safe to Poweroff of Reboot.<br><br>
157 <!--empty line-->
158 If, on the other hand, you just want to restart the program, type:</p>
159 <p class="newcode">ocs-live</p>
160
161
162
163 <!-- About -->
164 <H2><a name="about"></a>About the Image file <span class="hideprint">[<a href="#clonezilla-top" title="go to top of the page">^</a>]</span></H2>
165 <p>One thing should be made clear about the image file: it is not a file, it is a <b>folder</b>, containing the actual image file and some data about the disk/partition it is associated with. So when you insert the image file name, you actually insert the folder name where the image will be saved/restored.<br><br>
166 <!--empty line-->
167 Before you are able to insert the image file name, a list of partitions will be presented to you, so that you can choose where it should be saved/found. When you select one of them, it will be mounted under <b>/home/partimag</b>.<br><br>
168 <!--empty line-->
169 This folder is very important for <b>Clonezilla Live</b>; the image file <b>must</b> be located under this directory, which means that the image file <b>must</b> be on the root directory of the mounted partition. So you can not, for example, create a folder called <b>all_my_images</b> and move all your image files in there; <b>Clonezilla Live</b> will not be able to find them!!!<br><br>
170 <!--empty line-->
171 Another thing that should be pointed out is that <b>only unmounted</b> partitions will be included in the above list. This means that if you have stopped the program at some point after specifying the partition where the image file resides, and it has been mounted, it will not be present in the list the next time it is presented to you, and you will not be able to use it.<br><br>
172 <!--empty line-->
173 There are two things you can do in this case; either unmount the partition, as stated <a href="#umount">above</a>, or select</p>
174 <p class="newcode"><font color="Red">skip&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Use existing /home/partimag</font></p>
175 <!--empty line-->
176 <p>instead of any other option, when you restart the program. The later of course means that you still want to use the previously specified partition as the image file location.<br><br>
177 <!--empty line-->
178 Fianlly I should say that <b>Clonezilla Live</b> is able to use a remote disk/partition as the location of the image file, mounted through <b>ssh</b>, <b>samba</b> or <b>nfs</b>. Using any of these options is a more advanced topic, way beyond the scope of this presentation.</p>
179
180
181
182 <!-- Options -->
183 <H2><a name="options"></a>Scripts' options <span class="hideprint">[<a href="#clonezilla-top" title="go to top of the page">^</a>]</span></H2>
184 <p>This section presents the options which are available at the "<i><b>Clonezilla advanced extra parameters</b></i>" screens, if the "Expert" mode is selected. For other options, see <a href="backup.html">Getting backups</a> and <a href="restoration.html">Restoring data</a>.</p>
185 <!-- Yes, the latter page doesn't exist yet (as of 17 Dec 2009). I think it's not a good idea to keep advanced parameters and a generic restoration guide on the same page. -->
186 <!--empty line-->
187 <H3><a name="backup-options"></a>Backup options [<a href="#clonezilla-top" title="go to top of the page">^</a>]</H3>
188 <!--empty line-->
189 <H4><a name="imaging-program-priority"></a>Imaging program priority [<a href="#clonezilla-top" title="go to top of the page">^</a>]</H4>
190 <!--empty line-->
191 <p class="newcode"><a name="q_option"></a><font color="Red">-q2&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Priority: partclone > partimage > dd<br>
192 -q1&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Priority: Only dd (supports all filesystem, but inefficient)<br>
193 -q&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Priority: ntfsclone > partimage > dd<br>
194 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Priority: partimage > dd (no ntfsclone)</font></p>
195 <!--empty-line-->
196 <p>This option chooses which imaging programs are preferred. By default, <b>Clonezilla Live</b> uses <b>partclone</b> for nearly all filesystems, including ext2/3/4, NTFS and FAT32. If a filesystem isn't supported by <b>partclone</b>, but is supported by <b>partimage</b> (spesifically: if the filesystem is HFS, HPFS or JFS), it is cloned by <b>partimage</b>. If it isn't supported by either (for example Linux swap, though it doesn't make any sense to clone swap partitions), it is cloned by <b>dd</b>. Unlike <b>partclone</b> or <b>partimage</b>, <b>dd</b> copies all blocks of the partition instead of only used, resulting in slower imaging process and bigger images.</p>
197 <!--empty line-->
198 <p>Normally the default option <font color="Red"><b>-q2</b></font> should be preferred. Try another option if you have problems and believe they are caused by the imaging program used.</p>
199 <!--empty line-->
200 <H4><a name="various-backup-parameters"></a>Various parameters [<a href="#clonezilla-top" title="go to top of the page">^</a>]</H4>
201 <!--empty line-->
202 <p>These options are available at the second "<i><b>Clonezilla advanced extra parameters</b></i>" screen.</p>
203 <p class="newcode"><a name="backup-confirmation"></a><font color="Red">-c&nbsp;Client waits for confirmation before cloning</font></p>
204 <p>This option causes <b>Clonezilla Live</b> to ask if you really want to clone the disk/partition just before it starts cloning. It is enabled by default.</p>
205 <!--empty line-->
206 <p class="newcode"><a name="backup-hidden-data"></a><font color="Red">-j2&nbsp;Clone the hidden data between MBR and 1st partition</font></p>
207 <p>If this option is set, the 15 hidden sectors between Master Boot Record and the first partition are copied. This area usually contains some data necessary for booting. The option is enabled by default and should be kept enabled if you are cloning a bootable disk.</p>
208 <!--empty line-->
209 <p class="newcode"><a name="backup-nogui"></a><font color="Red">-nogui&nbsp;Use text output only, no TUI/GUI output</font></p>
210 <p>Causes <b>Clonezilla Live</b> to force the used programs to use only command-line interface even if text-based or graphical user interface is available.</p>
211 <!--empty line-->
212 <p class="newcode"><a name="backup-no-dma"></a><font color="Red">-a&nbsp;Do NOT force to turn on HD DMA</font></p>
213 <p>Prevents <b>Clonezilla Live</b> from using DMA for communicating with hard drives. Slows cloning down but in some conditions cloning without this option can be impossible.</p>
214 <!--empty line-->
215 <p class="newcode"><a name="rm-win-swap-hib"></a><font color="Red">-rm-win-swap-hib&nbsp;Remove page and hibernation files in Win if exists</font></p>
216 <p>This option prevents <b>Clonezilla Live</b> from cloning your page file if you are cloning a partition containing Windows. Often the page file is big and unneeded, and skipping it may speed cloning up without causing any harm. Mind you, this option is disabled by default because sometimes the page file may be necessary.</p>
217 <!--empty line-->
218 <p class="newcode"><a name="ntfs-ok"></a><font color="Red">-ntfs-ok&nbsp;Skip checking NTFS integrity, even bad sectors (ntfsclone only)</font></p>
219 <p>This option works only if you selected the <font color="Red"><b>-q</b></font> option and you're cloning a NTFS partition. It prevents the integrity check of NTFS partitions and speeds the cloning process up a little. However, if the check is disabled, there is a risk that the filesystem is damaged and the image created from it is useless.</p>
220 <!--empty line-->
221 <p class="newcode"><a name="gen-md5"></a><font color="Red">-gm&nbsp;Generate image MD5 checksums</font></p>
222 <p>Causes <b>Clonezilla Live</b> to calculate MD5 checksum(s) of image(s) created. If the image cets corrupted afterwards, the checksum allows to notice the corruption before the image is restored. Mind you, calculating the checksum takes some time and slows the process down a little.</p>
223 <!--empty line-->
224 <p class="newcode"><a name="gen-sha1"></a><font color="Red">-gs&nbsp;Generate image SHA1 checksums</font></p>
225 <p>This option is identical to the above, but creates SHA1 checksum(s) instead of MD5. SHA1 is considered to be more accurate checksum algorithm than MD5, but MD5 is more popular.</p>
226 <!--empty line-->
227 <H4><a name="compression-method"></a>Compression method [<a href="#clonezilla-top" title="go to top of the page">^</a>]</H4>
228 <!--empty line-->
229 <p class="newcode"><a name="z_option"></a><font color="Red">-z1&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;gzip compression (fast with a smaller image)<br>
230 -z2&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;bzip2 compression (slowest but smallest image)<br>
231 -z3&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;lzo compression (faster with image size approx. to that of gzip)(NOTE!!)<br>
232 -z4&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;lzma compression (slowest but also small image, faster decompression than bzip2)<br>
233 -z0&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;No compression (fastest but largest image size)</font></p>
234 <!--empty-line-->
235 <p>This option chooses the method which is used to compress the image while creating it.</p>
236
237 <p>If no compression is used at all, there won't be any negative speed impact caused by compression. However, the image file size is the size of all the data backed up - for example, if you clone a 160 GB hard drive containing 60 gigabytes of data, the resulting disk image will be 60 gigabytes in size.</p>
238
239 <p><b>Gzip</b> and <b>lzop</b> are fast compression methods. <b>Lzop</b> is many times faster than <b>gzip</b>, but creates slightly larger images. <b>Clonezilla Live</b> warns that <b>lzop</b> requires good-quality RAM, but I (the contributor who wrote this chapter) think other compression methods require good RAM too.</p>
240
241 <p><b>Bzip2</b> and <b>lzma</b> are powerful compression methods. <b>Lzma</b> creates a little smaller images than <b>bzip2</b>, and decompressing lzma-compressed images is faster than decompressing <b>bzip2</b> images. But there is no free lunch: <b>lzma</b> compression method is very slow compared even to <b>bzip2</b>, which isn't fast method either.</p>
242 <!--empty line-->
243 <H4><a name="splitting"></a>Splitting [<a href="#clonezilla-top" title="go to top of the page">^</a>]</H4>
244 <!--empty line-->
245 <p>This option (command line: <b>-i <font color="Red">[number]</font></b>) decides if the created image files are splitted into smaller pieces, and if yes, how large the pieces are. This setting doesn't usually matter, but some filesystems (most importantly FAT32) don't allow files larger than four gigabytes. If you're saving the disk image to a FAT32 partition, enter 4000 or less. (Value 0 disables splitting, so don't use it in that case.) If the filesystem allows files big enough, enter any value which isn't too small (you don't want to split the image into too many pieces, do you?)</p>
246 <!--empty line-->
247 <H4><a name="backup-postaction"></a>Postaction [<a href="#clonezilla-top" title="go to top of the page">^</a>]</H4>
248 <!--empty line-->
249 <p class="newcode"><a name="backup_p_option"></a><font color="Red">-p true&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Do nothing when the clone finishes<br>
250 -p reboot&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Reboot client when the clone finishes<br>
251 -p poweroff&nbsp;&nbsp;&nbsp;&nbsp;Shutdown client when the clone finishes</font></p>
252 <!--empty line-->
253 <p>In this screen you can decide what <b>Clonezilla Live</b> does when the disk/partition is cloned.</p>
254
255 <p>Spiros told <a href="#start-stop">above</a> that he has found out that it's not always safe to allow Live CDs automatically unmount partitions, and I have lost data when trying auto-unmount with a script. So, avoid <font color="Red"><b>-p reboot</b></font> and <font color="Red"><b>-p poweroff</b></font> options if possible. You have been warned.</p>
256
257
258
259 <H3><a name="restore-options"></a>Restore options (script ocs-sr) [<a href="#clonezilla-top" title="go to top of the page">^</a>]</H3>
260 <!--empty line-->
261 <H4><a name="various-restore-parameters"></a>Various parameters [<a href="#clonezilla-top" title="go to top of the page">^</a>]</H4>
262 <!--empty line-->
263 <p>These options are available at the first "<i><b>Clonezilla advanced extra parameters</b></i>" screen.</p>
264 <p class="newcode"><a name="reinstall-grub"></a><font color="Red">-g auto&nbsp;Reinstall grub in client disk MBR (only if grub config exists)</font></p>
265 <p>Causes <b>Clonezilla Live</b> to reinstall GRUB into the Master Boot Record of the disk if at least one partition contains GRUB config file (/boot/grub/menu.lst). The option is enabled by default and shouldn't cause any harm. However, it should be disabled if you for example have another bootloader in MBR and chainload GRUB with it.</p>
266 <!--empty line-->
267 <p class="newcode"><a name="ntfs-geometry"></a><font color="Red">-e1 auto&nbsp;Automatically adjust filesystem geometry for a NTFS boot partition if exists</font></p>
268 <p>The NTLDR bootloader used by Windows isn't able to determine automatically where the files it needs are stored. It only knows their physical locations, which sometimes change when the disk or partition is copied. If the locations are changed and this option is selected, the location information of the files is changed accordingly. This option is enabled by default and if it's disabled, the cloned Windows will fail to boot.</p>
269 <!--empty line-->
270 <p class="newcode"><a name="chs-from-edd"></a><font color="Red">-e2&nbsp;sfdisk uses CHS of hard drive from EDD(for non-grub boot loader)</font></p>
271 <p>This option requires that the <font color="Red"><b>-e1 auto</b></font> option is selected. It causes <b>Clonezilla Live</b> to use disk read interface named EDD for determining the physical locations of the files when updating the location information used by NTLDR. The option is enabled by default because it reduces the risk that Windows doesn't boot.</p>
272 <!--empty line-->
273 <p class="newcode"><a name="change-win-ip-based-host"></a><font color="Red">-hn0 PC&nbsp;Change MS Win hostname (based on IP address) after clone</font></p>
274 <p>If this option is selected and a partition containing Microsoft Windows is cloned, its IP address -based hostname is changed after cloning. Computers which are on any network simultaneously need to have different hostnames, so this option is needed if a Windows system is cloned to another computer and the original computer is still used in addition to the one where the image was restored to.</p>
275 <!--empty line-->
276 <p class="newcode"><a name="change-win-mac-based-host"></a><font color="Red">-hn1 PC&nbsp;Change MS Win hostname (based on MAC address) after clone</font></p>
277 <p>This option causes the MAC address -based hostname of Windows to change. This option needs also be enabled in the above condition.</p>
278 <!--empty line-->
279 <p class="newcode"><a name="verbose"></a><font color="Red">-v&nbsp;Prints verbose messages (especially for udpcast)</font></p>
280 <p>Causes <b>Clonezilla Live</b> to tell more information of what it does.</p>
281 <!--empty line-->
282 <p class="newcode"><a name="restore-nogui"></a><font color="Red">-nogui&nbsp;Use text output only, no TUI/GUI output</font></p>
283 <p>Causes <b>Clonezilla Live</b> to force the used programs to use only command-line interface even if text-based or graphical user interface is available.</p>
284 <!--empty line-->
285 <p class="newcode"><a name="batch"></a><font color="Red">-b&nbsp;Run clone in batch mode (DANGEROUS!)</font></p>
286 <p>Causes <b>Clonezilla Live</b> to run in batch mode. According to Clonezilla Live reference card, this option is dangerous, though I (the contributor) don't know why.</p>
287 <!--empty line-->
288 <p class="newcode"><a name="restore-confirmation"></a><font color="Red">-c&nbsp;Client waits for confirmation before cloning</font></p>
289 <p>This option causes <b>Clonezilla Live</b> to ask if you really want to clone the disk/partition just before it starts cloning. It is enabled by default.</p>
290 <!--empty line-->
291 <p class="newcode"><a name="no-mbr"></a><font color="Red">-t&nbsp;Client does not restore the MBR (Mater Boot Record)</font></p>
292 <p>Do NOT restore the MBR (Mater Boot Record) when restoring image. If this option is set, you must make sure there is an existing MBR in the current restored harddisk. Default is Yes.</p>
293 <!--empty line-->
294 <p class="newcode"><a name="restore-syslinux-mbr"></a><font color="Red">-t1&nbsp;Client restores the prebuilt MBR from syslinux (For Windows only)</font></p>
295 <p>If this option is set, the MBR is overwritten by prebuilt one which chainloads Windows. Use this option if you have to restore Windows and make it bootable, but don't have the original MBR or backup of it.</p>
296 <!--empty line-->
297 <p class="newcode"><a name="resize-fs"></a><font color="Red">-r&nbsp;Try to resize the filesystem to fit partition size</font></p>
298 <p>This option is useful if you are cloning a small disk to larger one. It tries to resize the restored filesystem to the size of the partition where it was restored to. It allows you to use the whole size of your new disk without resizing the partition afterwards. The option requires that the disk where the image is copied already contains a partition where the image is restored or that the option <font color="Red"><b>-k1</b></font> is enabled.</p>
299 <!--empty line-->
300 <p class="newcode"><a name="load-geometry"></a><font color="Red">-e&nbsp;sfdisk uses the CHS value of hard drive from the saved image</font></p>
301 <p>Force to use the saved CHS (cylinders, heads, sectors) when using sfdisk. Of cource, there is no use of it when using any of <b><font color="Red">-j0</font></b>, <b><font color="Red">-k</font></b> or <b><font color="Red">-k2</font></b> options.</p>
302 <!--empty line-->
303 <p class="newcode"><a name="mbr-again"></a><font color="Red">-j1&nbsp;Write MBR (512 B) again after image is restored. Not OK for partition table diffe</font></p>
304 <p>When a disk image is restored, the partition table must be updated to reflect the actual partitions in the disk. If you don't want it to happen, enable this option. Then the Master Boot Record (including the partition table) is restored again after restoring the image. Note that using this option can destroy all the data in the target drive.</p>
305 <!--empty line-->
306 <p class="newcode"><a name="restore-hidden-data"></a><font color="Red">-j2&nbsp;Clone the hidden data between MBR and 1st partition</font></p>
307 <p>If this option is set, the 15 hidden sectors between Master Boot Record and the first partition are restored. This area usually contains some data necessary for booting. The option is enabled by default and should be kept enabled if you are cloning a bootable disk.</p>
308 <!--empty line-->
309 <p class="newcode"><a name="check-md5"></a><font color="Red">-cm&nbsp;Check image by MD5 checksums</font></p>
310 <p>If the image folder contains MD5 checksum(s), this option causes <b>Clonezilla Live</b> to check if the image has corrupted by calculating its checksum and comparing it to the precalculated one. Mind you, calculating the checksum takes some time and slows the process down a little.</p>
311 <!--empty line-->
312 <p class="newcode"><a name="check-sha1"></a><font color="Red">-cs&nbsp;Check image by SHA1 checksums</font></p>
313 <p><p>This option is identical to the above, but checks SHA1 checksum(s) instead of MD5.</p>
314 <!--empty line-->
315 <p class="newcode"><a name="restore-no-dma"></a><font color="Red">-a&nbsp;Do NOT force to turn on HD DMA</font></p>
316 <p>Prevents <b>Clonezilla Live</b> from using DMA for communicating with hard drives. Slows cloning down but in some conditions cloning without this option can be impossible.</p>
317 <!--empty line-->
318 <p class="newcode"><a name="run-prerun-dir"></a><font color="Red">-o0&nbsp;Run script in $OCS_PRERUN_DIR before clone starts</font></p>
319 <p>Run the scripts in the directory $OCS_PRERUN_DIR before clone is started. The location of the directory can be determined by editing the file drbl-ocs.conf. By default it is /opt/drbl/share/ocs/prerun.</p>
320 <!--empty line-->
321 <p class="newcode"><a name="run-postrun-dir"></a><font color="Red">-o1&nbsp;Run script in $OCS_POSTRUN_DIR as clone finishes</font></p>
322 <p>Run the scripts in the directory $OCS_POSTRUN_DIR when clone is finished. The location of the directory can be determined by editing the file drbl-ocs.conf. By default it is /opt/drbl/share/ocs/postrun. The command will be run before that assigned in <font color="Red"><b>-p</b></font>.</p>
323 <!--empty line-->
324 <p>The scripts will be executed by the program "run-parts". run-parts only accepts that the name of the scripts must consist entirely of upper and lower case letters, digits and underscores. So if your file name has an illegal character ".", run-parts won't run it. You can test which files will be executed by entering the command:</p>
325 <p class="newcode">run-parts --test /opt/drbl/share/ocs/postrun</p>
326 <!--empty line-->
327 <H4><a name="partition-table"></a>Partition table [<a href="#clonezilla-top" title="go to top of the page">^</a>]</H4>
328 <!--empty line-->
329 <p>This option decides what is done to the partition table of the target drive.</p>
330 <p class="newcode"><a name="image-partition-table"></a><font color="Red">&nbsp;Use the partition table from the image</font></p>
331 <p>This option causes <b>Clonezilla Live</b> to copy the partition table from the image. Use this option if you are cloning a whole disk or somehow know that the partition tables are identical (for example, if you are restoring a partition to the same disk where it was copied from and haven't repartitioned the drive after creating the backup). This is the default option.</p>
332 <!--empty-line-->
333 <p class="newcode"><a name="no-fdisk"></a><font color="Red">-k&nbsp;Do NOT create a partition table on the target disk</font></p>
334 <p>Do NOT create partition in target harddisk. If this option is set, you must make sure there is an existing partition table in the current restored harddisk.</p>
335 <!--empty-line-->
336 <p class="newcode"><a name="sfdisk"></a><font color="Red">-k1&nbsp;Create partition table proportionally (OK for MRB format, not GPT)</font></p>
337 <p>Causes <b>Clonezilla Live</b> to create the partition table automatically using sfdisk after restoring the images. This option works nearly always, but sometimes cloned Windows don't boot. Note that this option doesn't work if you have GUID Partition Table on your disk. (Most likely you don't have one.)</p>
338 <!--empty-line-->
339 <p class="newcode"><a name="enter-cmd"></a><font color="Red">-k2&nbsp;Enter command line prompt to create partition manually later</font></p>
340 <p>Like the <font color="Red"><b>-k</b></font> option, this option doesn't create the partition table automatically. However, after restoring the image you are led to command line prompt where you can create the partition table manually. Don't use this option if you don't know how the partition table can be created.</p>
341 <!--empty-line-->
342 <p class="newcode"><a name="dd"></a><font color="Red">-j0&nbsp;Use dd to create partition (NOT OK if logical drives exist)</font></p>
343 <p>Use dd to dump the partition table from saved image instead of sfdisk.<br><br>
344 <!--empty line-->
345 We read in <a href="http://drbl.sourceforge.net/faq/fine-print.php?path=./2_System/23_Missing_OS.faq#23_Missing_OS.faq" target="_blank">DRBL FAQ/Q&#038;A</a>:</p>
346
347 <p style="margin-left: 40pt; margin-right: 40pt;">When I use clonezilla to clone M$ windows, there is no any problem when saving an image from template machine. However, after the image is restored to another machine, it fails to boot, the error message is "<b>Missing Operating System</b>". What's going on ?<br><br>
348 <!--empty line-->
349 Usually this is because GNU/Linux and M$ windows interpret the CHS (cylinder, head, sector) value of harddrive differently. Some possible solutions:<br>
350 &nbsp;&nbsp;1. Maybe you can change the IDE harddrive setting in BIOS, try to use LBA instead of auto mode.<br>
351 &nbsp;&nbsp;2. Try to choose<br>
352 &nbsp;&nbsp;&nbsp;&nbsp;<b>[ ] -j0 Use dd to create partition table instead of sfdisk</b><br>
353 &nbsp;&nbsp;and<br>
354 &nbsp;&nbsp;&nbsp;&nbsp;<b>[ ] -t1 Client restores the prebuilt MBR from syslinux (For Windows only)</b><br>
355 &nbsp;&nbsp;when you restore the image.<br>
356 &nbsp;&nbsp;3. You can try to boot the machine with MS Windows 9x bootable floppy, and in the DOS command prompt, run: "fdisk /mbr".
357 &nbsp;&nbsp;4. You can try to boot the machine with MS Windows XP installation CD, enter recovery mode (by pressing F10 key in MS XP, for example), then in the console, run "fixmbr" to fix it. Maybe another command "fixboot" will help, too. For more info, refer to <a href="http://support.microsoft.com/?scid=kb%3Ben-us%3B314058&x=7&y=14" target="_blank">this doc</a><br>
358 &nbsp;&nbsp;5. Use ntfsreloc to adjust FS geometry on NTFS partitions. For more info, refer to <a href="http://www.linux-ntfs.org/doku.php?id=contrib:ntfsreloc" target="_blank">http://www.linux-ntfs.org/doku.php?id=contrib:ntfsreloc</a></p>
359 <!--empty line-->
360 <p>It has been confirmed that activating the <font color="Red"><b>-j0</b></font> option, fixes the problem.</p>
361 <!--empty line-->
362 <p>This option doesn't work if you use LVM (Logical Volume Manager).</p>
363 <!--empty line-->
364 <p class="newcode"><a name="exit"></a><font color="Red">exit&nbsp;Exit</font></p>
365 <p>This option ends the restore process and enters command line prompt.</p>
366 <!--empty line-->
367 <H4><a name="restore-postaction"></a>Postaction [<a href="#clonezilla-top" title="go to top of the page">^</a>]</H4>
368 <!--empty line-->
369 <p class="newcode"><a name="restore_p_option"></a><font color="Red">-p true&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Do nothing when the clone finishes<br>
370 -p reboot&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Reboot client when the clone finishes<br>
371 -p poweroff&nbsp;&nbsp;&nbsp;&nbsp;Shutdown client when the clone finishes</font></p>
372 <!--empty line-->
373 <p>When image restoration finishes, do one of the following: choose action (default), poweroff or reboot.</p>
374
375
376
377 <!-- Saving -->
378 <H2><a name="ntfs"></a>Saving image files in NTFS partitions <span class="hideprint">[<a href="#clonezilla-top" title="go to top of the page">^</a>]</span></H2>
379 <p>Although not recomended, you may find yourself having to save your image file in a NTFS (Windows XP) partition. You may never have a problem doing this, but you may get a message like the following one, when the partition gets mounted:</p>
380 <p class="newcode">Volume is scheduled for check<br>
381 Please boot into Windows TWICE, or use 'force' mount option"</p>
382 <p>and the backup procedure fails. There are two things you can do here:</p>
383
384 <ul>
385 <li><p style="margin-left: 0pt;">Exit the program, reboot and use <b>Windows XP Recovery Console</b> to fix the NTFS file system. From Recovery Console
386 prompt, execute the command:</p>
387 <p class="newcode" style="margin-left: 0pt;"><font color="Red">chkdsk /f X:</font></p>
388 <!--empty line-->
389 <p style="margin-left: 0pt;">where <font color="Red"><b>X:</b></font> is the drive letter of the disk. When done, boot back into <b>Clonezilla Live</b> and repeat the backup procedure.</p>
390 <!--empty line-->
391 If the Windows version you use is not XP, boot into <b>SystemRescueCD</b> (graphical mode is not needed) and run the following command:
392 <p class="newcode" style="margin-left: 0pt;"><font color="Red">ntfsfix /dev/hda1</font></p>
393 <!--empty line-->
394 <p style="margin-left: 0pt;">where <b>/dev/<font color="Red">hda1</font></b> is the partition name in GNU/Linux. When done, boot back into <b>Clonezilla Live</b> and repeat the backup procedure.</p>
395 <!--empty line-->
396 If the disk/partition you are trying to backup is not the Windows System disk (usually <b>C:</b>), you can boot Windows, and execute the command in a DOS window. To open a DOS window click <b>Start / Run... </b> and at the prompt <b>Open:</b> type <b><font color="Red">cmd</font>.</b></li>
397 <!--empty line-->
398 <li><p style="margin-left: 0pt;">If <b>Windows XP Recovery Console</b> is not available, you don't have the time to execute the procedure described above, or even if you have executed it but you still get the same message, and you are <b><u>absolutely sure</u></b> that you get this message because the NTFS partition is really scheduled for check, and it's not because Windows crushed or have become corrupt, you can mount the patririon by hand and tell <b>Clonezilla Live</b> to use it. Assuming the partition is <b>/dev/<font color="Red">hda1</font></b>, exit the program and execute the commands:</p>
399 <p class="newcode" style="margin-left: 0pt;">sudo su -<br>
400 ntfs-3g -o force /dev/<font color="Red">hda1</font> /home/partimag<br>
401 ocs-live</p>
402 <!--empty line-->
403 <p style="margin-left: 0pt;">and when you get to the screen "<b><i>Mount clonezilla image directory</i></b>", select</p>
404 <p class="newcode" style="margin-left: 0pt;"><font color="Red">skip&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Use existing /home/partimag</font></p>
405 </li>
406 </ul>
407
408
409 </div>
410
411
412
413 <!--<a name="template-top"></a>-->
414
415 <div id="footer">
416 <div id="docline-bottom"> <a href="boot-params.html">&lt; PREV</a> <a href="doc.html">UP</a> <a href="backup.html">NEXT &gt;</a> </div>
417 <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/>
418 Hosted by <a href="http://www.hellug.gr" target="_blank" title="Hellenic Linux User Group">HEL.L.U.G.</a></p>
419 </div>
420 </div>
421 </body>
422 </html>

Properties

Name Value
svn:executable *

webmaster@linux.gr
ViewVC Help
Powered by ViewVC 1.1.26