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

Contents of /trunk/www/usb.html

Parent Directory Parent Directory | Revision Log Revision Log


Revision 124 - (show annotations)
Thu Sep 16 14:46:36 2010 UTC (13 years, 6 months ago) by sng
File MIME type: text/html
File size: 29256 byte(s)
- Adding title tags to utility icons
- Removing obsolete intro.html

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 : 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" 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>
78 <H2>Clonezilla-SysRescCD</H2>
79 <H3>Documentation: Installing on USB</H3>
80 <div style="margin:0; padding: 3px; width: 980; position relative;">
81 <div style="position: absolute; left: 0px;"><H4>15/09/2010 - v 3.1.0</H4></div>
82 <div style="position: absolute; right: 0px;"><H4>Last update: 16/09/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="download.html">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="">&lt; PREV</a> <a href="doc.html">UP</a> <a href="boot-params.html">NEXT &gt;</a> </div>
100 </div>
101 <div id="contarea">
102 <div id="content">
103 <a name="usb-top"></a>
104
105
106 <!-- Intro -->
107
108 <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>
109 <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>
110 <!--emty-line-->
111 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>
112 <!--emty-line-->
113 <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>
114 <br>
115 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>
116
117 <!--emty-line-->
118 <div align="center"><table class="note" border="0" cellpadding="20"><tr><td valign="top"><img src="images/important.png"></td><td>
119 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>
120
121 <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>
122
123 <p class="newcode">umount /dev/<font color="Green">sdc4</font><br>
124 dd if=~/clonezilla-sysresccd-full-mod-3.1.0.iso of=/dev/<font color="Green">sdc</font> bs=512</p>
125
126 <p>And that's it. Your usb device is ready to boot!!!</p>
127
128
129 <H3><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></H3>
130
131 <p>
132 If your usb device is more than 400MB in size, the above command will leave the remaining space unused. To verify it, execute the command:
133 </p>
134 <p class="newcode" style="margin-left: 0;">fdisk -l /dev/<font color="Green">sdc</font></p>
135
136 <p style="margin-left: 0;">You should get something similar to this:</p>
137 <!--emty-line-->
138
139 <p class="newcode">
140 Disk /dev/sdc: 1048 MB, 1048576000 bytes<br>
141 64 heads, 32 sectors/track, 1000 cylinders, total 2048000 sectors<br>
142 Units = sectors of 1 * 512 = 512 bytes<br>
143 Sector size (logical/physical): 512 bytes / 512 bytes<br>
144 I/O size (minimum/optimal): 512 bytes / 512 bytes<br>
145 Disk identifier: 0x77a5188f<br>
146 <br>
147 &nbsp;&nbsp;&nbsp;Device&nbsp;Boot&nbsp;&nbsp;Start&nbsp;&nbsp;End&nbsp;&nbsp;Blocks&nbsp;&nbsp;Id&nbsp;&nbsp;System
148 /dev/sdc1&nbsp;&nbsp;&nbsp;&nbsp;*&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;1&nbsp;&nbsp;384&nbsp;&nbsp;393216&nbsp;&nbsp;17&nbsp;&nbsp;Hidden&nbsp;HPFS/NTFS
149 </p>
150 <p>
151 As you can see, we are currently using 348 out of 1000 cylinders of the disk. The remaining disk space (~600MB) can still be used, 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-->:
152 </p>
153
154 <p class="newcode">
155 fdisk /dev/<font color="green">sdc</font><br>
156 command (m for help): <font color="magenta">n</font> <font color="#990000">(create new partition)</font><br>
157 command action<br>
158 e extended<br>
159 p primary partition (1-4)<br>
160 <font color="magenta">p</font><br>
161 partition number (1-4): <font color="magenta">4</font> <font color="#990000">(create partition sdc4)</font><br>
162 first cylinder (385-1000, default 385): <br>
163 using default value 385<br>
164 last cylinder, +cylinders or +size{k,m,g} (385-1000, default 1000): <br>
165 using default value 1000<br>
166 <br>
167 command (m for help): <font color="magenta">p</font> <font color="#990000">(display partition table)</font><br>
168 <br>
169 disk /dev/sdc: 1048 mb, 1048576000 bytes<br>
170 64 heads, 32 sectors/track, 1000 cylinders<br>
171 units = cylinders of 2048 * 512 = 1048576 bytes<br>
172 sector size (logical/physical): 512 bytes / 512 bytes<br>
173 i/o size (minimum/optimal): 512 bytes / 512 bytes<br>
174 disk identifier: 0x77a5188f<br>
175 <br>
176 &nbsp;&nbsp;&nbsp;device&nbsp;boot&nbsp;&nbsp;start&nbsp;&nbsp;&nbsp;end&nbsp;&nbsp;blocks&nbsp;&nbsp;&nbsp;id&nbsp;&nbsp;system<br>
177 /dev/sdc1&nbsp;&nbsp;&nbsp;*&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;1&nbsp;&nbsp;&nbsp;384&nbsp;&nbsp;393216&nbsp;&nbsp;&nbsp;17&nbsp;&nbsp;hidden&nbsp;hpfs/ntfs<br>
178 /dev/sdc4&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;385&nbsp;&nbsp;1000&nbsp;&nbsp;630784&nbsp;&nbsp;&nbsp;83&nbsp;&nbsp;linux<br>
179 <br>
180 <br>
181 command (m for help): <font color="magenta">t</font> <font color="#990000">(change partition type)</font><br>
182 partition number (1-4): <font color="magenta">4</font><br>
183 hex code (type l to list codes): <font color="magenta">b</font><br>
184 changed system type of partition 4 to b (w95 fat32)<br>
185 <br>
186 command (m for help): <font color="magenta">p</font> <font color="#990000">(display partition table)</font><br>
187 <br>
188 disk /dev/sdc: 1048 mb, 1048576000 bytes<br>
189 64 heads, 32 sectors/track, 1000 cylinders<br>
190 units = cylinders of 2048 * 512 = 1048576 bytes<br>
191 sector size (logical/physical): 512 bytes / 512 bytes<br>
192 i/o size (minimum/optimal): 512 bytes / 512 bytes<br>
193 disk identifier: 0x77a5188f<br>
194 <br>
195 &nbsp;&nbsp;&nbsp;device&nbsp;boot&nbsp;&nbsp;start&nbsp;&nbsp;&nbsp;end&nbsp;&nbsp;blocks&nbsp;&nbsp;&nbsp;id&nbsp;&nbsp;system<br>
196 /dev/sdc1&nbsp;&nbsp;&nbsp;*&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;1&nbsp;&nbsp;&nbsp;384&nbsp;&nbsp;393216&nbsp;&nbsp;&nbsp;17&nbsp;&nbsp;hidden&nbsp;hpfs/ntfs<br>
197 /dev/sdc4&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;385&nbsp;&nbsp;1000&nbsp;&nbsp;630784&nbsp;&nbsp;&nbsp;&nbsp;b&nbsp;&nbsp;w95&nbsp;fat32<br>
198 <br>
199 command (m for help): <font color="magenta">w</font> <font color="#990000">(write partition table to disk and exit)</font><br>
200 The partition table has been altered!<br>
201 <br>
202 Calling ioctl() to re-read partition table.<br>
203 <br>
204 WARNING: Re-reading the partition table failed with error 16: Device or resource busy.<br>
205 The kernel still uses the old table. The new table will be used at<br>
206 the next reboot or after you run partprobe(8) or kpartx(8)<br>
207 Syncing disks.
208 </p>
209 <!--emty-line-->
210 <p>
211 At this point you should disconnect and reconnect your usb device. When it's recognised, you can format the partition you've just created
212 </p>
213 <!--emty-line-->
214 <p class="newcode">
215 mkdosfs -F 32 /dev/<font color="Green">sdc4</font>
216 </p>
217 <!--emty-line-->
218 <p>
219 The partition is now ready for use!!!
220 </p>
221 <!--emty-line-->
222 <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>
223 <!--emty-line-->
224 <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>
225 <!--emty-line-->
226 <div align="center"><table class="note" border="0" cellpadding="20"><tr><td valign="top"><img src="images/important.png"></td><td>
227 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>
228 <!--emty-line-->
229 <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>
230 <!--emty-line-->
231 The bootable USB disk creation procedure can be performed either from Linux or Windows.</p>
232 <!-- note -->
233 <div align="center"><table class="note" border="0" cellpadding="20"><tr><td valign="top"><img src="images/info.png"></td><td>
234 If you want to create a bootable USB flash drive for this version<br>
235 or later, remember to use the syslinux command from <b>syslinux<br>
236 3.71 or later</b>. Otherwise the boot menu won't work.</td></tr></table></div>
237 <!-- Installation from Linux -->
238 <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>
239 <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>
240 <!--emty-line-->
241 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>
242 <!--emty-line-->
243 <H3><a name="lin-box"></a>Using a linux box [<a href="#usb-top" title="go to top of the page">^</a>]</H3>
244 <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>
245 <!--emty-line-->
246 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>
247 <!--emty-line-->
248 Boot into linux, connect your USB device and execute the following commands:</p>
249 <p class="newcode">mkdir /mnt/mycd<br>
250 mount <font color="Green">~</font>/clonezilla-sysresccd-full-mod-3.1.0.iso /mnt/mycd -o loop<br>
251 mkdir /mnt/usbdevice<br>
252 mount /dev/<font color="Green">sdc4</font> /mnt/usbdevice<br>
253 cp -r /mnt/mycd/* /mnt/usbdevice<br>
254 umount /mnt/mycd; rmdir /mnt/mycd<br>
255 cd /mnt/usbdevice<br>
256 rm isolinux/*.cfg<br>
257 mv isolinux/* .<br>
258 rmdir isolinux<br>
259 cd; umount /dev/<font color="Green">sdc4</font><br>
260 rmdir /mnt/usbdevice</p>
261 <!--emty-line-->
262 <p>Finally make your USB device bootable, by executing</p>
263 <p class="newcode">syslinux /dev/<font color="Green">sdc4</font></p>
264 <p>and you are done.</p>
265 <!--emty-line-->
266 <H4><a name="lin-sys"></a>Using Clonezilla-SysRescCD [<a href="#usb-top" title="go to top of the page">^</a>]</H4>
267 <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>
268 <!--emty-line-->
269 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>
270 <!--emty-line-->
271 Boot <b>SystemRescueCD </b> using the option <b>To RAM</b>, and when it is fully loaded, execute the following commands:</p>
272 <p class="newcode">mkdir /mnt/mycd<br>
273 mount /dev/<font color="Green">sr0</font> /mnt/mycd <br>
274 mkdir /mnt/usbdevice<br>
275 mount /dev/<font color="Green">sdc4</font> /mnt/usbdevice<br>
276 cp -r /mnt/mycd/* /mnt/usbdevice<br>
277 umount /mnt/mycd<br>
278 cd /mnt/usbdevice<br>
279 rm isolinux/*.cfg<br>
280 mv isolinux/* .<br>
281 rmdir isolinux<br>
282 cd; umount /dev/<font color="Green">sdc4</font></p>
283 <!--emty-line-->
284 <p>Finally make your USB device bootable, by executing</p>
285 <p class="newcode">syslinux /dev/<font color="Green">sdc4</font></p>
286 <p>and you are done.</p>
287
288
289 <!-- Installation from Windows -->
290 <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>
291 <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>
292 <!--emty-line-->
293 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
294 <b><font color="Green">D:</font></b>. You may have to change any of them, in order to reflect your system configuration.<br><br>
295
296 You will have to</p>
297
298 <ul>
299 <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>
300 <li>Delete <b><u>all</u> cfg</b> files from <b><font color="Green">K:</font>isolinux</b></li>
301 <li>Move all files from <b><font color="Green">K:</font>isolinux</b> to <b><font color="Green">K:</font></b></li>
302 <li>Delete folder <b><font color="Green">K:</font>isolinux</b> </li>
303 </ul>
304 <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>
305 <p class="newcode"><font color="Green">K:</font><br>
306 cd bootprog<br>
307 syslinux -ma <font color="Green">K:</font></p>
308
309 <!-- Booting from USB -->
310 <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>
311 <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>
312 <!--emty-line-->
313 Booting <b>Clonezilla Live</b> should not be a problem. Just select the desired option and press ENTER to boot.<br><br>
314 <!--emty-line-->
315 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>
316 <!--emty-line-->
317 If you have any problems here, you may try adding any of these boot parameters:</p>
318 <p class="newcode">usbstick<br>
319 doscsi</p>
320
321
322
323
324 <!-- Troubleshooting -->
325 <H3><a name="trouble"></a>Troubleshooting <span class="hideprint">[<a href="#usb-top" title="go to top of the page">^</a>]</span></H3>
326 <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>
327 <ul>
328 <li><p style="margin-left: 0;"><b>I can't boot (I don't even see the splash screen)</b><br>
329 or <b>Clonezilla Live does not boot</b><br>
330 <!--emty-line-->
331 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>
332 <!--emty-line-->
333 If you are on linux, check that the partition on the USB disk is active (bootable), executing:</p>
334 <p class="newcode" style="margin-left: 0;">fdisk -l /dev/<font color="Green">sdc</font></p>
335 <p style="margin-left: 0;">You should get something similar to this:</p>
336 <!--emty-line-->
337
338 <p class="newcode">
339 Disk /dev/<font color="Green">sdc</font>: 1031 MB, 1031798272 bytes<br>
340 64 heads, 32 sectors/track, 983 cylinders<br>
341 Units = cylinders of 2048 * 512 = 1048576 bytes<br>
342 <br>
343 &nbsp;&nbsp;&nbsp;Device&nbsp;&nbsp;<font color="Red">Boot</font>&nbsp;&nbsp;Start&nbsp;&nbsp;End&nbsp;&nbsp;&nbsp;Blocks&nbsp;&nbsp;Id&nbsp;&nbsp;System<br>
344 /dev/<font color="Green">sdc4</font>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<font color="Red">*</font>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;1&nbsp;&nbsp;983&nbsp;&nbsp;1006576&nbsp;&nbsp;&nbsp;6&nbsp;&nbsp;FAT16<br>
345 </p>
346 <!--emty-line-->
347 <p style="margin-left: 0;"><br>If the partition is not active (no astrisk), execute:</p>
348 <p class="newcode" style="margin-left: 0;">fdisk /dev/<font color="Green">sdc</font></p>
349 <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>
350 <!--emty-line-->
351 If you are on Windows, this is taken care of by syslinux (parameters -ma).<br><br>
352 <!--emty-line-->
353 If you still have problems booting, you should try to execute</p>
354 <p class="newcode" style="margin-left: 0;">syslinux -s /dev/<font color="Green">sdc4</font></p>
355 <p style="margin-left: 0;">from Linux, or</p>
356 <p class="newcode" style="margin-left: 0;">syslinux -sma <font color="Green">K:</font></p>
357 <p style="margin-left: 0;">from Windows (from folder <b><font color="Green">K:</font>syslinux</b>).<br><br>
358 <!--emty-line-->
359 syslinux man page reads:</p>
360 <!--emty-line-->
361 <p class="otherpage" style="margin-left: 0px;"><b>(Option) -s</b><br>
362 Install a "safe, slow and stupid" version of syslinux. This version may work <br>
363 on some very buggy BIOSes on which syslinux would otherwise fail. If you find <br>
364 a machine on which the -s option is required to make it boot reliably, please <br>
365 send as much info about your machine as you can, and include the failure mode.</p></li>
366 <!--emty-line-->
367 <li><p style="margin-left: 0;"><b>I still can't boot</b><br>
368 In this case you will have to format your USB disk.<br><br>
369 <!--emty-line-->
370 If you are using linux to perform the installation, execute the command:</p>
371 <!--emty-line-->
372 <p class="newcode" style="margin-left: 0;">mkdosfs -F 16 /dev/<font color="Green">sdc4</font></p>
373 <!--emty-line-->
374 <p style="margin-left: 0;">to create a FAT16 file system, or</p>
375 <!--emty-line-->
376 <p class="newcode" style="margin-left: 0;">mkdosfs -F 32 /dev/<font color="Green">sdc4</font></p>
377 <!--emty-line-->
378 <p style="margin-left: 0;">to create a FAT32 file system.<br><br>
379 <!--emty-line-->
380 When you are done go back to section "<a href="#linux">Installation from Linux</a>".<br><br>
381 <!--emty-line-->
382 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>
383 <!--emty-line-->
384 When you are done go back to section "<a href="#windows">Installation from Windows</a>".</p></li>
385 <!--emty-line-->
386 <li><b>I still can't boot (after formating)</b><br>
387 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>
388 <!--emty-line-->
389 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>
390 <!--emty-line-->
391 <li><b>SystemRescueCD does not boot</b><br>
392 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>
393 <!--emty-line-->
394 Refer to section <a href="#booting">Booting from USB</a> to find out the boot parameters you can use with <b>SystemRescueCD</b>.
395 </li>
396 </ul>
397
398
399 <!-- Customizing sysresc.cfg -->
400 <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>
401 <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>
402 <!--emty-line-->
403 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>
404 <!--emty-line-->
405 The procedure to do that is the following:<br><br>
406 <!--emty-line-->
407 Boot <b>SystemRescueCD</b> (or if that's not possible yet, bot <b>Clonezilla Linux</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>
408 <p class="newcode">mkdir /mnt/usbdevice<br>
409 mount /dev/<font color="Green">[device]</font> /mnt/usbdevice <br>
410 cd /mnt/usbdevice<br>
411 cp sysresc.cfg sysresc.bak<br>
412 sed 's|<font color="Red">scandelay=5</font>|<font color="Red">scandelay=<font color="Green">x</font> [additional params]</font>|' <br>
413 sysresc.cfg &gt; sys.cfg<br>
414 mv sys.cfg sysresc.cfg<br>
415 cd; umount /dev/<font color="Green">[device]</font><br>
416 syslinux /dev/<font color="Green">[device]</font><br>
417 reboot</p>
418 <!--emty-line-->
419 <p>where <b><font color="Green">x</font></b> is a number from 1 to 10.</p>
420 <!--emty-line-->
421 <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>
422 <!--emty-line-->
423 If, for example, you want to increase the device scan delay to maximum, the above commands would become:</p>
424 <p class="newcode">mkdir /mnt/usbdevice<br>
425 mount /dev/<font color="Green">sdc4</font> /mnt/usbdevice <br>
426 cd /mnt/usbdevice<br>
427 cp sysresc.cfg sysresc.bak<br>
428 sed 's|<font color="Red">scandelay=5</font>|<font color="Red">scandelay=<font color="Green">10</font></font>|' sysresc.cfg &gt; sys.cfg<br>
429 mv sys.cfg sysresc.cfg<br>
430 cd; umount /dev/<font color="Green">sdc4</font><br>
431 syslinux /dev/<font color="Green">sdc4</font><br>
432 reboot</p>
433 <!--emty-line-->
434 <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>
435 <p class="newcode">mkdir /mnt/usbdevice<br>
436 mount /dev/<font color="Green">sdc4</font> /mnt/usbdevice <br>
437 cd /mnt/usbdevice<br>
438 cp sysresc.cfg sysresc.bak<br>
439 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>
440 mv sys.cfg sysresc.cfg<br>
441 cd; umount /dev/<font color="Green">sdc4</font><br>
442 syslinux /dev/<font color="Green">sdc4</font><br>
443 reboot</p>
444 <!--emty-line-->
445 <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>
446
447
448 </div>
449
450
451
452 <!--<a name="template-top"></a>-->
453
454 <div id="footer">
455 <div id="docline-bottom"> <a href="">&lt; PREV</a> <a href="doc.html">UP</a> <a href="boot-params.html">NEXT &gt;</a> </div>
456 <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/>
457 Hosted by <a href="http://www.hellug.gr" target="_blank" title="Hellenic Linux User Group">HEL.L.U.G.</a></p>
458 </div>
459 </div>
460 </body>
461 </html>

Properties

Name Value
svn:executable *

webmaster@linux.gr
ViewVC Help
Powered by ViewVC 1.1.26