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

Contents of /trunk/www/usb.html

Parent Directory Parent Directory | Revision Log Revision Log


Revision 181 - (show annotations)
Wed Jun 22 16:47:21 2011 UTC (10 years, 1 month ago) by sng
File MIME type: text/html
File size: 32341 byte(s)
- updating usb installation instructions
- updating site

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: Installing on USB</title>
7 <style type="text/css">
8 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
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 #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 #warning a { color: white; font-weight: bold; text-decoration: underline; }
71 </style>
72 <link href="warning.css" rel="stylesheet" type="text/css" />
73 <!--
74 The file waring.css exists only in the root of the site
75 and it hides the UNSTABLE warnings. Its contents are
76 #warning { display: none; }
77 -->
78 <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 <div id="warning" align="center">
85 WARNING<br>
86 This is the UNSTABLE version of Clonezilla-SysRescCD<br>
87 To access our current stable version, please click <a href="../index.html">here</a>
88 </div>
89 <div id="header">
90 <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 <H2>Clonezilla-SysRescCD</H2>
92 <H3>Documentation: Installing on USB</H3>
93 <div style="margin:0; padding: 3px; width: 980; position relative;">
94 <div style="position: absolute; left: 0px;"><H4>30/06/2011 - v 3.2.0</H4></div>
95 <div style="position: absolute; right: 0px;"><H4>Last update: 22/06/2011</H4></div>
96 </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 <a href="download.html">Download</a>
104 <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="">&lt; PREV</a> <a href="doc.html">UP</a> <a href="boot-params.html">NEXT &gt;</a> </div>
113 </div>
114 <div id="contarea">
115 <div id="content">
116 <a name="usb-top"></a>
117
118
119 <!-- Intro -->
120
121 <H2 style="margin-top: 0;"><a name="usb-intro"></a>Installation to USB made easy <span class="hideprint">[<a href="#usb-top" title="go to top of the page">^</a>]</span></H2>
122 <p>Until recently installing <b>Clonezilla-SysRescCD</b> on a USB disk would not be such a great idea, because of its size. But since USB devices become cheaper and cheaper, it is an interesting alternative.<br><br>
123 <!--emty-line-->
124 Starting with <b>version 3.1.0</b>, <b>Clonezilla-SysRescCD</b> provides an iso file that's ISO-Hybrided. This means (as we read at <a href="http://syslinux.zytor.com/wiki/index.php/Doc/isolinux#HYBRID_CD-ROM.2FHARD_DISK_MODE" target="_blank">the isolynux site</a>) that</p>
125 <!--emty-line-->
126 <p class="otherpage">"the iso file can be booted from either CD-ROM or from a device which BIOS considers a hard disk or ZIP disk, e.g. a USB key or similar. This image can then be copied using any raw disk writing tool (on Unix systems, typically "dd" or "cat") to a USB disk, or written to a CD-ROM using standard CD burning tools.<br>
127 <br>
128 The ISO 9660 filesystem is encapsulated in a partition (which starts at offset zero, which may confuse some systems.) This makes it possible for the operating system, once booted, to use the remainder of the device for persistent storage by creating a second partition."</p>
129
130 <!--emty-line-->
131 <div align="center"><table class="note" border="0" cellpadding="20"><tr><td valign="top"><img src="images/important.png"></td><td>
132 Incorrect use of any raw disk writing tool could cause your<br> operating system (GNU/Linux / Windows) <b>not to boot</b>.<br><br> Confirm the command before you run it.<br></td></tr></table></div>
133
134 <p>So, from any linux box, assuming <b>Clonezilla-SysRescCD</b> iso file is in your home directory, and your USB device name is <b><font color="Green">sdc4</font></b>, you just execute the commands:</p>
135
136 <p class="newcode">umount /dev/<font color="Green">sdc4</font><br>
137 dd if=~/clonezilla-sysresccd-full-mod-3.2.0.iso of=/dev/<font color="Green">sdc</font> bs=512</p>
138
139 <p>And that's it. Your usb device is ready to boot!!!</p>
140
141
142 <H2><a name="usb-hard"></a>Installing the "hard" way <span class="hideprint">[<a href="#usb-top" title="go to top of the page">^</a>]</span></H2>
143 <!--emty-line-->
144 <p>If the "easy" way does not work there is an alternative; you will use the <b>Clonezilla-SysRescCD</b> ISO file (or CD) to copy and modify a couple of files on the USB disk, and finally make it bootable, using <a href="http://syslinux.zytor.com" target="_blank">syslinux</a> and its configuration file <b>syslinux.cfg</b>.</p>
145 <!--emty-line-->
146 <div align="center"><table class="note" border="0" cellpadding="20"><tr><td valign="top"><img src="images/important.png"></td><td>
147 Incorrect use of syslinux could cause your operating system<br> (GNU/Linux / Windows) <b>not to boot</b>.<br><br> Confirm the command before you run it.<br></td></tr></table></div>
148 <!--emty-line-->
149 <p>The only thing that's important is that your USB disk must contain a VFAT (Windows 98 or DOS) file system. If this is not the case, refer to the section "<a href="#trouble">Troubleshooting</a>", to find out how you can format it, before copying files to it.<br><br>
150 <!--emty-line-->
151 The bootable USB disk creation procedure can be performed either from Linux or Windows.</p>
152 <!-- note -->
153 <div align="center"><table class="note" border="0" cellpadding="20"><tr><td valign="top"><img src="images/info.png"></td><td>
154 If you want to create a bootable USB flash drive for this version<br>
155 or later, remember to use the syslinux command from <b>syslinux<br>
156 3.71 or later</b>. Otherwise the boot menu won't work.</td></tr></table></div>
157 <!-- Installation from Linux -->
158 <H3><a name="linux"></a>Installation from Linux <span class="hideprint">[<a href="#usb-top" title="go to top of the page">^</a>]</span></H3>
159 <p>There are two ways you can proceed, if you are going to use Linux to perform the USB installation, either using a running linux box, or using <b>Clonezilla-SysRescCD</b>.<br><br>
160 <!--emty-line-->
161 I will assume that you have saved <b>clonezilla-sysresccd-full-mod-3.1.0.iso</b> in your home directory (<b><font color="Green">~</font></b>).</p>
162 <!--emty-line-->
163 <H3><a name="lin-box"></a>Using a linux box [<a href="#usb-top" title="go to top of the page">^</a>]</H3>
164 <p>If you already have a linux box up and running, you can use it to create your <b>Clonezilla-SysRescCD</b> USB, without even having to burn it to CD beforehand. The only thing here is that you have to have <a href="http://syslinux.zytor.com" target="_blank">syslinux</a> installed.<br><br>
165 <!--emty-line-->
166 I will assume that your CD drive is <b>/dev/<font color="Green">sr0</font></b> and that your USB device is <b>/dev/<font color="Green">sdc4</font></b>. You may have to change any of them to reflect your system configuration.<br><br>
167 <!--emty-line-->
168 Boot into linux, connect your USB device and execute the following commands:</p>
169 <p class="newcode">mkdir /mnt/mycd<br>
170 mount <font color="Green">~</font>/clonezilla-sysresccd-full-mod-3.1.0.iso /mnt/mycd -o loop<br>
171 mkdir /mnt/usbdevice<br>
172 mount /dev/<font color="Green">sdc4</font> /mnt/usbdevice<br>
173 cp -r /mnt/mycd/* /mnt/usbdevice<br>
174 umount /mnt/mycd; rmdir /mnt/mycd<br>
175 cd /mnt/usbdevice<br>
176 cp syslinux/*.cfg isolinux<br>
177 cp syslinux/*.png isolinux<br>
178 rm -rf syslinux<br>
179 mv isolinux syslinux</p>
180 <!--emty-line-->
181 <div align="center"><table class="note" border="0" cellpadding="20"><tr><td valign="top"><img src="images/important.png"></td><td>
182 Since you are using any linux box to complete this procedure,<br>you have to use the syslinux installation provided by this linux box.<br><br>Otherwise, you will probably end up with an unbootable device...</td></tr></table></div>
183
184 <p>First thing you have to do is find where syslinux is installed. The best way to do that is look for a file named <b>vesamenu.c32</b>. You can use locate, find, or any other distribution specific tool for that. In Debian (and its derivatives like Ubuntu, LMDE etc.) this file is under <font color="Green"><b>/usr/lib/syslinux</b></font>, so I'll just use that for the following code.</p>
185
186 <p class="newcode">cd syslinux<br>
187 for f in *.c32<br>
188 do<br>
189 cp -v <font color="Green"><b>/usr/lib/syslinux</b></font>/$f .<br>
190 cd ..<br>
191 done</p>
192
193 <p>In either case, unmount the device and delete the mount point (directory).</p>
194
195 <p class="newcode">cd; umount /dev/<font color="Green">sdc4</font><br>
196 rmdir /mnt/usbdevice</p>
197 <!--emty-line-->
198 <p>Finally make your USB device bootable, by executing</p>
199 <p class="newcode">syslinux /dev/<font color="Green">sdc4</font></p>
200 <p>and you are done.</p>
201 <!--emty-line-->
202 <H4><a name="lin-sys"></a>Using Clonezilla-SysRescCD [<a href="#usb-top" title="go to top of the page">^</a>]</H4>
203 <p>If you already burnt <b>Clonezilla-SysRescCD</b> to CD, you can use it to create your <b>Clonezilla-SysRescCD</b> USB.<br><br>
204 <!--emty-line-->
205 I will assume that your CD drive is <b>/dev/<font color="Green">sr0</font></b> and that your USB device is <b>/dev/<font color="Green">sdc4</font></b>. You may have to change any of them to reflect your system configuration.<br><br>
206 <!--emty-line-->
207 Boot <b>SystemRescueCD </b> using the option <b>To RAM</b>, and when it is fully loaded, execute the following commands:</p>
208 <p class="newcode">mkdir /mnt/mycd<br>
209 mount /dev/<font color="Green">sr0</font> /mnt/mycd <br>
210 mkdir /mnt/usbdevice<br>
211 mount /dev/<font color="Green">sdc4</font> /mnt/usbdevice<br>
212 cp -rv /mnt/mycd/* /mnt/usbdevice<br>
213 umount /mnt/mycd<br>
214 cd /mnt/usbdevice<br>
215 cp syslinux/*.cfg isolinux<br>
216 cp syslinux/*.png isolinux<br>
217 rm -rf syslinux<br>
218 mv isolinux syslinux<br>
219 cd; umount /dev/<font color="Green">sdc4</font></p>
220 <!--emty-line-->
221 <p>Finally make your USB device bootable, by executing</p>
222 <p class="newcode">syslinux /dev/<font color="Green">sdc4</font></p>
223 <p>and you are done.</p>
224
225
226 <!-- Installation from Windows -->
227 <H3><a name="windows"></a>Installation from Windows <span class="hideprint">[<a href="#usb-top" title="go to top of the page">^</a>]</span></H3>
228 <p>Installing <b>Clonezilla-SysRescCD</b> from Windows is as easy as it is in Linux. You have to burn <b>Clonezilla-SysRescCD</b> to CD or use a CD/DVD ROM emulator software like <a href="http://www.daemon-tools.cc/dtcc/announcements.php" target="_blank">Daemon Tools</a> to mount the ISO file.<br><br>
229 <!--emty-line-->
230 I will assume that your USB device is drive <b><font color="Green">K:</font></b> and your CD drive or mounted ISO file is drive
231 <b><font color="Green">D:</font></b>. You may have to change any of them, in order to reflect your system configuration.<br><br>
232
233 You will have to</p>
234
235 <ul>
236 <li>Copy all files from drive <b><font color="Green">D:</font></b> (CD or mounted ISO file) to drive <b><font color="Green">K:</font></b> (USB disk)</li>
237 <li>Copy <b><u>all</u> cfg</b> files from <b><font color="Green">K:\</font>syslinux</b> to <b><font color="Green">K:\</font>isolinux</b></li>
238 <li>Copy <b><u>all</u> png</b> files from <b><font color="Green">K:\</font>syslinux</b> to <b><font color="Green">K:\</font>isolinux</b></li>
239 <li>Delete the folder <b><font color="Green">K:\</font>syslinux</b></li>
240 <li>Rename <b><font color="Green">K:\</font>isolinux</b> to <b><font color="Green">K:\</font>syslinux</b></li>
241 </ul>
242 <p>Now all you have to do is make your USB disk bootable. In order to do that you have to open a DOS window (in Windows XP press "<b>Start / Run </b>" and type <b>cmd</b>). Then type at DOS prompt:</p>
243 <p class="newcode"><font color="Green">K:</font><br>
244 cd utils/bootprog<br>
245 syslinux -ma <font color="Green">K:</font></p>
246
247 <!-- Booting from USB -->
248 <H3><a name="booting"></a>Booting from USB <span class="hideprint">[<a href="#usb-top" title="go to top of the page">^</a>]</span></H3>
249 <p>Before trying to boot from your USB device, you have to set your boot device at your BIOS. This means you have to reboot having your USB device connected, get into your BIOS (usually pressing DEL) and make the appropriate settings in the BOOT section.<br><br>
250 <!--emty-line-->
251 Booting <b>Clonezilla Live</b> should not be a problem. Just select the desired option and press ENTER to boot.<br><br>
252 <!--emty-line-->
253 Booting <b>SystemRescueCD</b> has been made equally simple with <b>SystemRescueCD v 1.0.0</b>, so you shouldn't have any problem (option <b>cdroot</b> is not required any more).<br><br>
254 <!--emty-line-->
255 If you have any problems here, you may try adding any of these boot parameters:</p>
256 <p class="newcode">usbstick<br>
257 doscsi</p>
258
259
260
261
262 <!-- Troubleshooting -->
263 <H3><a name="trouble"></a>Troubleshooting <span class="hideprint">[<a href="#usb-top" title="go to top of the page">^</a>]</span></H3>
264 <p>Whether you can successfully boot from a USB disk or not, depends mainly on your BIOS. Chances are that you will not be able to boot on an old computer, with an old (and possibly buggy) BIOS. So I would recommend testing your <b>Clonezilla-SysRescCD USB</b> on a new computer.</p>
265 <ul>
266 <li><p style="margin-left: 0;"><b>I can't boot (I don't even see the splash screen)</b><br>
267 or <b>Clonezilla Live does not boot</b><br>
268 <!--emty-line-->
269 The first thing you should do is double check your BIOS settings. Reboot having your USB device connected, get into your BIOS (usually pressing DEL) and make the appropriate settings in the BOOT section.<br><br>
270 <!--emty-line-->
271 If you are on linux, check that the partition on the USB disk is active (bootable), executing:</p>
272 <p class="newcode" style="margin-left: 0;">fdisk -l /dev/<font color="Green">sdc</font></p>
273 <p style="margin-left: 0;">You should get something similar to this:</p>
274 <!--emty-line-->
275
276 <p class="newcode">
277 Disk <font color="Green">/dev/sdc</font>: 4043 MB, 4043309056 bytes<br>
278 125 heads, 62 sectors/track, 1018 cylinders, total 7897088 sectors<br>
279 Units = sectors of 1 * 512 = 512 bytes<br>
280 Sector size (logical/physical): 512 bytes / 512 bytes<br>
281 I/O size (minimum/optimal): 512 bytes / 512 bytes<br>
282 Disk identifier: 0x596bbd85<br>
283 <br>
284 &nbsp;&nbsp;&nbsp;Device&nbsp;<font color="Red">Boot</font>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Start&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;End&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Blocks&nbsp;&nbsp;&nbsp;Id&nbsp;&nbsp;System<br>
285 /dev/sdc1&nbsp;&nbsp;&nbsp;<font color="Red">*</font>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;63&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;1461914&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;730926&nbsp;&nbsp;&nbsp;&nbsp;b&nbsp;&nbsp;W95&nbsp;FAT32
286 </p>
287 <!--emty-line-->
288 <p style="margin-left: 0;"><br>If the partition is not active (<b>no asterisk</b>), execute:</p>
289 <p class="newcode" style="margin-left: 0;">fdisk /dev/<font color="Green">sdc</font></p>
290 <p style="margin-left: 0;">and issue "Command: " <b>a</b> (toggle a bootable flag) and "Partition number:" <b><font color="Green">4</font></b> (for <b>/dev/<font color="Green">sdc4</font></b>).<br><br>
291 <!--emty-line-->
292 If you are on Windows, this is taken care of by syslinux (parameters -ma).<br><br>
293 <!--emty-line-->
294 If you still have problems booting, you should try to execute</p>
295 <p class="newcode" style="margin-left: 0;">syslinux -s /dev/<font color="Green">sdc4</font></p>
296 <p style="margin-left: 0;">from Linux, or</p>
297 <p class="newcode" style="margin-left: 0;">syslinux -sma <font color="Green">K:</font></p>
298 <p style="margin-left: 0;">from Windows (from folder <b><font color="Green">K:</font>syslinux</b>).<br><br>
299 <!--emty-line-->
300 syslinux man page reads:</p>
301 <!--emty-line-->
302 <p class="otherpage" style="margin-left: 0px;"><b>(Option) -s</b><br>
303 Install a "safe, slow and stupid" version of syslinux. This version may work <br>
304 on some very buggy BIOSes on which syslinux would otherwise fail. If you find <br>
305 a machine on which the -s option is required to make it boot reliably, please <br>
306 send as much info about your machine as you can, and include the failure mode.</p></li>
307 <!--emty-line-->
308 <li><p style="margin-left: 0;"><b>I still can't boot</b><br>
309 In this case you will have to format your USB disk.<br><br>
310 <!--emty-line-->
311 If you are using linux to perform the installation, execute the command:</p>
312 <!--emty-line-->
313 <p class="newcode" style="margin-left: 0;">mkdosfs -F 16 /dev/<font color="Green">sdc4</font></p>
314 <!--emty-line-->
315 <p style="margin-left: 0;">to create a FAT16 file system, or</p>
316 <!--emty-line-->
317 <p class="newcode" style="margin-left: 0;">mkdosfs -F 32 /dev/<font color="Green">sdc4</font></p>
318 <!--emty-line-->
319 <p style="margin-left: 0;">to create a FAT32 file system.<br><br>
320 <!--emty-line-->
321 When you are done go back to section "<a href="#linux">Installation from Linux</a>".<br><br>
322 <!--emty-line-->
323 If you are on Windows, you should download the <a href="http://h50178.www5.hp.com/local_drivers/17550/SP27608.exe" target="_blank">HP-USB Format tool</a>, install it and format your USB drive using the Fat or Fat32 option. This program can be used to format USB devices that won't boot properly when formatted with Windows format tool.<br><br>
324 <!--emty-line-->
325 When you are done go back to section "<a href="#windows">Installation from Windows</a>".</p></li>
326 <!--emty-line-->
327 <li><b>I still can't boot (after formating)</b><br>
328 Things are getting tough!!! Try to format your USB disk using the option you did not use previously. So, if you have created a FAT32 file system, create a FAT16 file system this time, and recreate <b>Clonezilla-SysRescCD</b> on USB.<br><br>
329 <!--emty-line-->
330 If nothing works, you are out of luck; you will not be able to use <b>Clonezilla-SysRescCD USB</b> on this computer... If you do manage to boot it, please <a href="mailto:&#115;&#110;&#103;&#064;&#104;&#101;&#108;&#108;&#117;&#103;&#046;&#103;&#114;?subject=Success booting Clonezilla-SysRescCD v 3.1.0 USB">send me</a> a message.</li>
331 <!--emty-line-->
332 <li><b>SystemRescueCD does not boot</b><br>
333 Ok, you have managed to get to the splash screen and successfully booted <b>Clonezilla Live</b>. But you still can't boot <b>SystemRescueCD</b>.<br><br>
334 <!--emty-line-->
335 Refer to section <a href="#booting">Booting from USB</a> to find out the boot parameters you can use with <b>SystemRescueCD</b>.
336 </li>
337 </ul>
338
339
340 <!-- Customizing sysresc.cfg -->
341 <H3><a name="cfg"></a>Customizing sysresc.cfg <span class="hideprint">[<a href="#usb-top" title="go to top of the page">^</a>]</span></H3>
342 <p>As stated previously, <b>Clonezilla-SysRescCD USB</b> is booted by <b>syslinux</b> through its configuration file <b>syslinux.cfg</b>. This file loads <b>sysresc.cfg</b> in order to boot <b>SystemRescueCD</b>.<br><br>
343 <!--emty-line-->
344 If you have to specify any additional boot parameters for <b>SystemRescueCD</b>, you may want to write these changes to the configuration file, so that you don't have to insert them by hand every time.<br><br>
345 <!--emty-line-->
346 The procedure to do that is the following:<br><br>
347 <!--emty-line-->
348 Boot <b>SystemRescueCD</b> (or if that's not possible yet, boot <b>Clonezilla Live</b> and get to the command line) using the option <b>To RAM</b>, and when it is fully loaded, execute the following commands:</p>
349 <p class="newcode">mkdir /mnt/usbdevice<br>
350 mount /dev/<font color="Green">[device]</font> /mnt/usbdevice <br>
351 cd /mnt/usbdevice<br>
352 cp sysresc.cfg sysresc.bak<br>
353 sed 's|<font color="Red">scandelay=5</font>|<font color="Red">scandelay=<font color="Green">x</font> [additional params]</font>|' \<br>
354 sysresc.cfg &gt; sys.cfg<br>
355 mv sys.cfg sysresc.cfg<br>
356 cd; umount /dev/<font color="Green">[device]</font><br>
357 syslinux /dev/<font color="Green">[device]</font><br>
358 reboot</p>
359 <!--emty-line-->
360 <p>where <b><font color="Green">x</font></b> is a number from 1 to 10.</p>
361 <!--emty-line-->
362 <p>After executing these commands, you will have a new <b>sysresc.cfg</b> file, and a backup file called <b>sysresc.bak</b> (in case things go wrong).<br><br>
363 <!--emty-line-->
364 If, for example, you want to increase the device scan delay to maximum, the above commands would become:</p>
365 <p class="newcode">mkdir /mnt/usbdevice<br>
366 mount /dev/<font color="Green">sdc1</font> /mnt/usbdevice <br>
367 cd /mnt/usbdevice<br>
368 cp sysresc.cfg sysresc.bak<br>
369 sed 's|<font color="Red">scandelay=5</font>|<font color="Red">scandelay=<font color="Green">10</font></font>|' sysresc.cfg &gt; sys.cfg<br>
370 mv sys.cfg sysresc.cfg<br>
371 cd; umount /dev/<font color="Green">sdc1</font><br>
372 syslinux /dev/<font color="Green">sdc1</font><br>
373 reboot</p>
374 <!--emty-line-->
375 <p>If, in addition to that, you had to use the boot parameter <b><font color="Red">usbstick</font></b>, then it would be:</p>
376 <p class="newcode">mkdir /mnt/usbdevice<br>
377 mount /dev/<font color="Green">sdc1</font> /mnt/usbdevice <br>
378 cd /mnt/usbdevice<br>
379 cp sysresc.cfg sysresc.bak<br>
380 sed 's|<font color="Red">scandelay=5</font>|<font color="Red">scandelay=<font color="Green">10</font> usbstick</font>|' sysresc.cfg &gt; sys.cfg<br>
381 mv sys.cfg sysresc.cfg<br>
382 cd; umount /dev/<font color="Green">sdc1</font><br>
383 syslinux /dev/<font color="Green">sdc1</font><br>
384 reboot</p>
385 <!--emty-line-->
386 <p>In case something goes wrong with your new settings, you can always rename <b>sysresc.bak</b> to <b>sysresc.cfg</b>, either from linux or Windows.</p>
387
388
389 <H2><a name="usb-free-space"></a>Using the extra space <span class="hideprint">[<a href="#usb-top" title="go to top of the page">^</a>]</span></H2>
390
391 <p>
392 If your usb device is more than 450MB in size, the above procedure will leave the remaining space unused. To verify it, execute the command:
393 </p>
394 <p class="newcode" style="margin-left: 0;">fdisk -l /dev/<font color="Green">sdc</font></p>
395
396 <p style="margin-left: 0;">You should get something similar to this:</p>
397 <!--emty-line-->
398
399 <p class="newcode">
400 Disk /dev/sdc: 4043 MB, 4043309056 bytes<br>
401 125 heads, 62 sectors/track, 1018 cylinders, total 7897088 sectors<br>
402 Units = sectors of 1 * 512 = 512 bytes<br>
403 Sector size (logical/physical): 512 bytes / 512 bytes<br>
404 I/O size (minimum/optimal): 512 bytes / 512 bytes<br>
405 Disk identifier: 0x596bbd85<br>
406 <br>
407 &nbsp;&nbsp;&nbsp;Device&nbsp;Boot&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Start&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;End&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Blocks&nbsp;&nbsp;&nbsp;Id&nbsp;&nbsp;System<br>
408 /dev/sdc1&nbsp;&nbsp;&nbsp;*&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;63&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;1461914&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;730926&nbsp;&nbsp;&nbsp;&nbsp;b&nbsp;&nbsp;W95&nbsp;FAT32
409
410 </p>
411 <p>
412 As you can see, we are currently using 1461914 out of 7897088 sectors of the disk. The remaining disk space (~3GB) can still be used, to save backups, for example, executing the following commands<!--not-on-txt--> (user input is displayed in <font color="magenta">magenta</font>, comments are in <font color="#990000">brown</font>)<!--end-not-on-txt-->:
413 </p>
414
415 <p class="newcode">
416 # fdisk /dev/<font color="green">sdc</font><br>
417 command (m for help): <font color="magenta">n</font> <font color="#990000">(create new partition)</font><br>
418 command action<br>
419 e extended<br>
420 p primary partition (1-4)<br>
421 <font color="magenta">p</font><br>
422 partition number (1-4): <font color="magenta">4</font> <font color="#990000">(create partition sdc4)</font><br>
423 First sector (1461915-7897087, default 1461915): <br>
424 using default value 1461915<br>
425 Last sector, +sectors or +size{K,M,G} (1461915-7897087, default 7897087): <br>
426 using default value 7897087<br>
427 <br>
428 command (m for help): <font color="magenta">p</font> <font color="#990000">(display partition table)</font><br>
429 <br>
430 Disk /dev/sdd: 4043 MB, 4043309056 bytes<br>
431 125 heads, 62 sectors/track, 1018 cylinders, total 7897088 sectors<br>
432 Units = sectors of 1 * 512 = 512 bytes<br>
433 Sector size (logical/physical): 512 bytes / 512 bytes<br>
434 I/O size (minimum/optimal): 512 bytes / 512 bytes<br>
435 Disk identifier: 0x596bbd85<br>
436 <br>
437 /dev/sdc1&nbsp;&nbsp;&nbsp;*&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;63&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;1461914&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;730926&nbsp;&nbsp;&nbsp;&nbsp;b&nbsp;&nbsp;W95&nbsp;FAT32
438 /dev/sdc4&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;1461915&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;7897087&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;3217586+&nbsp;&nbsp;83&nbsp;&nbsp;Linux
439 <br>
440 <br>
441 command (m for help): <font color="magenta">t</font> <font color="#990000">(change partition type)</font><br>
442 partition number (1-4): <font color="magenta">4</font><br>
443 hex code (type l to list codes): <font color="magenta">b</font><br>
444 changed system type of partition 4 to b (W95 FAT32)<br>
445 <br>
446 command (m for help): <font color="magenta">p</font> <font color="#990000">(display partition table)</font><br>
447 <br>
448 Disk /dev/sdd: 4043 MB, 4043309056 bytes<br>
449 125 heads, 62 sectors/track, 1018 cylinders, total 7897088 sectors<br>
450 Units = sectors of 1 * 512 = 512 bytes<br>
451 Sector size (logical/physical): 512 bytes / 512 bytes<br>
452 I/O size (minimum/optimal): 512 bytes / 512 bytes<br>
453 Disk identifier: 0x596bbd85<br>
454 <br>
455 &nbsp;&nbsp;&nbsp;device&nbsp;boot&nbsp;&nbsp;start&nbsp;&nbsp;&nbsp;end&nbsp;&nbsp;blocks&nbsp;&nbsp;&nbsp;id&nbsp;&nbsp;system<br>
456 /dev/sdc1&nbsp;&nbsp;&nbsp;*&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;63&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;1461914&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;730926&nbsp;&nbsp;&nbsp;&nbsp;b&nbsp;&nbsp;W95&nbsp;FAT32
457 /dev/sdc4&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;1461915&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;7897087&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;3217586+&nbsp;&nbsp;&nbsp;b&nbsp;&nbsp;W95&nbsp;FAT32<br>
458 <br>
459 command (m for help): <font color="magenta">w</font> <font color="#990000">(write partition table to disk and exit)</font><br>
460 The partition table has been altered!<br>
461 <br>
462 Calling ioctl() to re-read partition table.<br>
463 <br>
464 WARNING: Re-reading the partition table failed with error 16: Device or resource busy.<br>
465 The kernel still uses the old table. The new table will be used at<br>
466 the next reboot or after you run partprobe(8) or kpartx(8)<br>
467 Syncing disks.
468 </p>
469 <!--emty-line-->
470 <p>
471 At this point you should disconnect and reconnect your usb device. When it's recognised, you can format the partition you've just created
472 </p>
473 <!--emty-line-->
474 <p class="newcode">
475 mkdosfs -F 32 /dev/<font color="Green">sdc4</font>
476 </p>
477 <!--emty-line-->
478 <p>
479 The partition is now ready for use!!!
480 </p>
481 </div>
482
483
484
485 <!--<a name="template-top"></a>-->
486
487 <div id="footer">
488 <div id="docline-bottom"> <a href="">&lt; PREV</a> <a href="doc.html">UP</a> <a href="boot-params.html">NEXT &gt;</a> </div>
489 <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.2.0" title="About Clonezilla-SysRescCD">Spiros Georgaras</a>, 2007-2011 &amp; <a href="mailto:&#115;&#097;&#110;&#100;&#103;&#116;&#120;&#064;&#103;&#109;&#097;&#105;&#108;&#046;&#099;&#111;&#109;?subject=About Clonezilla-SysRescCD v 3.2.0 documentation" title="About Clonezilla-SysRescCD Documentation">Jyrki Vesterinen</a>, 2010-2011<br /><br/>
490 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>
491 </div>
492 </div>
493 <div id="warning" align="center">
494 WARNING<br>
495 This is the UNSTABLE version of Clonezilla-SysRescCD<br>
496 To access our current stable version, please click <a href="../index.html">here</a>
497 </div>
498 </body>
499 </html>

Properties

Name Value
svn:executable *

webmaster@linux.gr
ViewVC Help
Powered by ViewVC 1.1.26