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

Annotation of /trunk/www/2doc/doc/usb.html

Parent Directory Parent Directory | Revision Log Revision Log


Revision 180 - (hide annotations)
Mon Jun 6 18:57:10 2011 UTC (9 years, 5 months ago) by sng
File MIME type: text/html
File size: 29901 byte(s)
- updating email addresses (bottom of page and "Contact me" in index.html
- updating site
  Please do not commit anything in trunk/www
  This folder is updated by script 2site and any manual changes are
  overwritten. Escpecially, doc.html is an index file which exists
  only in trunk/www (its contents are the H1,H2,H3 headers existing
  in html files under trunk/www/working

1 sng 49 <!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 sng 52 <title>Clonezilla-SysRescCD - Offline Documentation: Installing on USB</title>
7 sng 49 <style type="text/css">
8 sng 149 body { font-family: Arial, 'sans serif'; color: black; font-size: 12pt; background : fixed no-repeat; background-color: #333333; padding: 0; margin: 0; margin-top: 5px; margin-bottom: 5px; }
9 sng 49
10    
11    
12     #header {position:relative; display: block; width: 980px; height: 121px;margin: auto; padding: auto; background-color: #D37624; background-image: url('images/header.png');clear:both;}
13     #header h2{ color: #FFE6BC; font-weight: bold; font-size: 2.2em; margin:0; padding:0; padding-left: 10px; padding-top: 7px; text-shadow: #333333 2px 2px 4px;}
14     #header h3{ color: #FFE6BC; font-weight: bold; font-size: 1.8em; margin:0; padding: 0; padding-left: 10px; text-shadow: #333333 2px 2px 4px;}
15     #header h4{ color: #FFE6BC; font-weight: bold; font-size: 1.2em; margin:0; padding: 0; padding-left: 10px; padding-right: 10px; text-shadow: #333333 2px 2px 4px;}
16     #header a {text-decoration:none;}
17    
18     #contarea {display: block; width: 980px; margin: auto; padding: auto; background-color: #FFF2DD; clear:both;}
19    
20     #linkline { width: 980px; height: 29px;margin: auto; padding: auto; background-color: #D37624; background-image: url('images/linkline.png');clear:both; }
21     #linkline a{float: left; color: #FFE6BC; font-weight: bold; font-size: 0.8em; text-decoration: none; text-shadow: #333333 2px 2px 4px; padding-left: 10px; padding-right: 10px; padding-top: 5px;}
22     #linkline a:visited{color: #FFE6BC;}
23     #linkline a:hover{color: #333333;}
24     #linkline a.here {color: #333333; text-decoration: none;}
25    
26     #lastupdate {float: right; display: block; text-align: right; margin: 0; margin-top: -1.2em; padding: 0; padding-right: 15px;}
27    
28     #rss { float: right; text-align: right; padding-top: 3px;}
29    
30     #docline-top { float: right; padding-right: 40px; text-align: right; }
31     #docline-bottom { float: right; padding-right: 40px; text-align: right; font-size: 0.8em; padding-top: 15px; }
32     #docline-bottom a{ padding-left: 10px; padding-right: 10px; }
33    
34     #menu { float: right; display: block; width: 170px; margin: auto; padding: 15px; font-size: 0.8em; font-weight: bold; background-color: #FFE6BC;}
35     #menu h1 {color: #990000; font-size: 1.8em;text-shadow: gray 2px 2px 4px;}
36     #menu a,a:visited{ color: black; text-decoration: none; font-weight: normal;}
37     #menu a:hover{ text-decoration: underline;}
38     #menu p{ margin-bottom: 10px;}
39    
40     #content { float: left; display: block; width: 950px; margin: auto; padding: 15px;}
41    
42    
43     #footer {display: block; width: 980px; height: 100px;margin: auto; padding: auto; background-color: #D37624; background-image: url('images/footer.png');clear:both;text-shadow: #333333 2px 2px 4px;}
44     #footer p{color: #FFE6BC; font-weight: bold; padding:15px; padding-left: 10px;}
45     #footer a,a:visited{color: #FFE6BC; font-weight: bold; text-decoration:none;}
46     #footer a:hover{ color: #333333; text-decoration: none;}
47    
48    
49     #content H1,H2,H3,H4{color: #990000; text-align: left;}
50     #content H2{margin-top: 2em;}
51     #content H3{margin-top: 1.5em}
52     #content H4{margin-top: 1em}
53     #content li { margin-top: 1em;}
54     #content a,a:active,a:visited{text-decoration: none; color: #4075CA; font-weight: normal;}
55     #content a:hover{text-decoration: underline; font-weight: normal;}
56     #content .hidden{ display:none; }
57     #content p,td,table,tr,li { font-family: Arial, 'sans serif'; }
58     #content .nav{margin-left: 0pt;}
59     #content .newcode{font-family : "Courier New", Courier, monospace; font-weight: bold; background-color: #F2F2F2; border: solid 1px #DEDEDE;padding: 20pt;}
60     #content .note{margin-top: 30pt; margin-bottom: 30pt; text-align: left; background-color: #FFEFEF; border: double 3px; border-color: #FFD5D5;}
61     #content hr{color: Black; background-color: Black; height: 1px; border: none;}
62     #content .header-news{margin-top: 2em; margin-left: 25pt; font-weight: bold; color: #990000;}
63     #content .item-news{margin-left: 45pt; margin-right: 45pt;}
64     #content .otherpage{border: solid 1px darkgoldenrod; padding: 20pt; background-color: lemonchiffon;}
65     #content IMG {display: block; margin-left: auto; margin-right: auto; }
66     #content .red{color: white; background-color: Red; font-weight: bold;}
67     #lphp{text-align: right; padding-left: 10px; padding-right: 10px; padding-top: 50px; float: right;}
68     #lphp a{padding-left: 5px;}
69 sng 149 #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     #warning { display: none; }
72 sng 49 </style>
73 sng 149 <link href="warning.css" rel="stylesheet" type="text/css" />
74     <!--
75     The file waring.css exists only in the root of the site
76     and it hides the UNSTABLE warnings. Its contents are
77     #warning { display: none; }
78     -->
79 sng 49 <META NAME="Keywords" CONTENT="multiboot Multi Boot bootable cd rescue clonezilla sysresccd backup restore samba">
80     <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
81    
82     </head>
83    
84     <body>
85 sng 149 <div id="warning" align="center">
86     WARNING<br>
87     This is the UNSTABLE version of Clonezilla-SysRescCD<br>
88     To access our current stable version, please click <a href="../index.html">here</a>
89     </div>
90 sng 49 <div id="header">
91     <H2>Clonezilla-SysRescCD</H2>
92 sng 52 <H3>Offline Documentation: Installing on USB</H3>
93 sng 49 <div style="margin:0; padding: 3px; width: 980; position relative;">
94 sng 180 <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: 06/06/2011</H4></div>
96 sng 49 </div>
97     </div>
98     <div id="linkline">
99    
100    
101     <!-- <a href="features.html">Features</a>-->
102 sng 52 <a class="here" href="../README.html">Offline Documentation</a>
103 sng 49
104    
105    
106    
107 sng 113
108 sng 49 <!-- docline-top-->
109     <div id="docline-top"> <a href="">&lt; PREV</a> <a href="../README.html">UP</a> <a href="boot-params.html">NEXT &gt;</a> </div>
110     </div>
111     <div id="contarea">
112     <div id="content">
113     <a name="usb-top"></a>
114    
115    
116     <!-- Intro -->
117    
118     <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>
119     <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>
120     <!--emty-line-->
121     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>
122     <!--emty-line-->
123     <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>
124     <br>
125     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>
126    
127     <!--emty-line-->
128     <div align="center"><table class="note" border="0" cellpadding="20"><tr><td valign="top"><img src="images/important.png"></td><td>
129     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>
130    
131     <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>
132    
133     <p class="newcode">umount /dev/<font color="Green">sdc4</font><br>
134 sng 149 dd if=~/clonezilla-sysresccd-full-mod-3.2.0.iso of=/dev/<font color="Green">sdc</font> bs=512</p>
135 sng 49
136     <p>And that's it. Your usb device is ready to boot!!!</p>
137    
138    
139 sng 77 <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>
140 sng 49
141 sng 77 <p>
142     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:
143     </p>
144     <p class="newcode" style="margin-left: 0;">fdisk -l /dev/<font color="Green">sdc</font></p>
145    
146     <p style="margin-left: 0;">You should get something similar to this:</p>
147 sng 49 <!--emty-line-->
148 sng 77
149     <p class="newcode">
150     Disk /dev/sdc: 1048 MB, 1048576000 bytes<br>
151     64 heads, 32 sectors/track, 1000 cylinders, total 2048000 sectors<br>
152     Units = sectors of 1 * 512 = 512 bytes<br>
153     Sector size (logical/physical): 512 bytes / 512 bytes<br>
154     I/O size (minimum/optimal): 512 bytes / 512 bytes<br>
155     Disk identifier: 0x77a5188f<br>
156     <br>
157     &nbsp;&nbsp;&nbsp;Device&nbsp;Boot&nbsp;&nbsp;Start&nbsp;&nbsp;End&nbsp;&nbsp;Blocks&nbsp;&nbsp;Id&nbsp;&nbsp;System
158     /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
159     </p>
160     <p>
161 sng 112 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-->:
162 sng 77 </p>
163    
164     <p class="newcode">
165     fdisk /dev/<font color="green">sdc</font><br>
166     command (m for help): <font color="magenta">n</font> <font color="#990000">(create new partition)</font><br>
167     command action<br>
168     e extended<br>
169     p primary partition (1-4)<br>
170     <font color="magenta">p</font><br>
171     partition number (1-4): <font color="magenta">4</font> <font color="#990000">(create partition sdc4)</font><br>
172     first cylinder (385-1000, default 385): <br>
173     using default value 385<br>
174     last cylinder, +cylinders or +size{k,m,g} (385-1000, default 1000): <br>
175     using default value 1000<br>
176     <br>
177     command (m for help): <font color="magenta">p</font> <font color="#990000">(display partition table)</font><br>
178     <br>
179     disk /dev/sdc: 1048 mb, 1048576000 bytes<br>
180     64 heads, 32 sectors/track, 1000 cylinders<br>
181     units = cylinders of 2048 * 512 = 1048576 bytes<br>
182     sector size (logical/physical): 512 bytes / 512 bytes<br>
183     i/o size (minimum/optimal): 512 bytes / 512 bytes<br>
184     disk identifier: 0x77a5188f<br>
185     <br>
186     &nbsp;&nbsp;&nbsp;device&nbsp;boot&nbsp;&nbsp;start&nbsp;&nbsp;&nbsp;end&nbsp;&nbsp;blocks&nbsp;&nbsp;&nbsp;id&nbsp;&nbsp;system<br>
187     /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>
188     /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>
189     <br>
190     <br>
191     command (m for help): <font color="magenta">t</font> <font color="#990000">(change partition type)</font><br>
192     partition number (1-4): <font color="magenta">4</font><br>
193     hex code (type l to list codes): <font color="magenta">b</font><br>
194     changed system type of partition 4 to b (w95 fat32)<br>
195     <br>
196     command (m for help): <font color="magenta">p</font> <font color="#990000">(display partition table)</font><br>
197     <br>
198     disk /dev/sdc: 1048 mb, 1048576000 bytes<br>
199     64 heads, 32 sectors/track, 1000 cylinders<br>
200     units = cylinders of 2048 * 512 = 1048576 bytes<br>
201     sector size (logical/physical): 512 bytes / 512 bytes<br>
202     i/o size (minimum/optimal): 512 bytes / 512 bytes<br>
203     disk identifier: 0x77a5188f<br>
204     <br>
205     &nbsp;&nbsp;&nbsp;device&nbsp;boot&nbsp;&nbsp;start&nbsp;&nbsp;&nbsp;end&nbsp;&nbsp;blocks&nbsp;&nbsp;&nbsp;id&nbsp;&nbsp;system<br>
206     /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>
207     /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>
208     <br>
209     command (m for help): <font color="magenta">w</font> <font color="#990000">(write partition table to disk and exit)</font><br>
210     The partition table has been altered!<br>
211     <br>
212     Calling ioctl() to re-read partition table.<br>
213     <br>
214     WARNING: Re-reading the partition table failed with error 16: Device or resource busy.<br>
215     The kernel still uses the old table. The new table will be used at<br>
216     the next reboot or after you run partprobe(8) or kpartx(8)<br>
217     Syncing disks.
218     </p>
219     <!--emty-line-->
220     <p>
221     At this point you should disconnect and reconnect your usb device. When it's recognised, you can format the partition you've just created
222     </p>
223     <!--emty-line-->
224     <p class="newcode">
225     mkdosfs -F 32 /dev/<font color="Green">sdc4</font>
226     </p>
227     <!--emty-line-->
228     <p>
229     The partition is now ready for use!!!
230     </p>
231     <!--emty-line-->
232 sng 49 <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>
233     <!--emty-line-->
234     <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>
235     <!--emty-line-->
236     <div align="center"><table class="note" border="0" cellpadding="20"><tr><td valign="top"><img src="images/important.png"></td><td>
237     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>
238     <!--emty-line-->
239     <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>
240     <!--emty-line-->
241     The bootable USB disk creation procedure can be performed either from Linux or Windows.</p>
242     <!-- note -->
243     <div align="center"><table class="note" border="0" cellpadding="20"><tr><td valign="top"><img src="images/info.png"></td><td>
244     If you want to create a bootable USB flash drive for this version<br>
245     or later, remember to use the syslinux command from <b>syslinux<br>
246     3.71 or later</b>. Otherwise the boot menu won't work.</td></tr></table></div>
247     <!-- Installation from Linux -->
248     <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>
249     <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>
250     <!--emty-line-->
251     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>
252     <!--emty-line-->
253     <H3><a name="lin-box"></a>Using a linux box [<a href="#usb-top" title="go to top of the page">^</a>]</H3>
254     <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>
255     <!--emty-line-->
256     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>
257     <!--emty-line-->
258     Boot into linux, connect your USB device and execute the following commands:</p>
259     <p class="newcode">mkdir /mnt/mycd<br>
260     mount <font color="Green">~</font>/clonezilla-sysresccd-full-mod-3.1.0.iso /mnt/mycd -o loop<br>
261     mkdir /mnt/usbdevice<br>
262     mount /dev/<font color="Green">sdc4</font> /mnt/usbdevice<br>
263     cp -r /mnt/mycd/* /mnt/usbdevice<br>
264     umount /mnt/mycd; rmdir /mnt/mycd<br>
265     cd /mnt/usbdevice<br>
266     rm isolinux/*.cfg<br>
267     mv isolinux/* .<br>
268     rmdir isolinux<br>
269     cd; umount /dev/<font color="Green">sdc4</font><br>
270     rmdir /mnt/usbdevice</p>
271     <!--emty-line-->
272     <p>Finally make your USB device bootable, by executing</p>
273     <p class="newcode">syslinux /dev/<font color="Green">sdc4</font></p>
274     <p>and you are done.</p>
275     <!--emty-line-->
276     <H4><a name="lin-sys"></a>Using Clonezilla-SysRescCD [<a href="#usb-top" title="go to top of the page">^</a>]</H4>
277     <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>
278     <!--emty-line-->
279     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>
280     <!--emty-line-->
281     Boot <b>SystemRescueCD </b> using the option <b>To RAM</b>, and when it is fully loaded, execute the following commands:</p>
282     <p class="newcode">mkdir /mnt/mycd<br>
283     mount /dev/<font color="Green">sr0</font> /mnt/mycd <br>
284     mkdir /mnt/usbdevice<br>
285     mount /dev/<font color="Green">sdc4</font> /mnt/usbdevice<br>
286     cp -r /mnt/mycd/* /mnt/usbdevice<br>
287     umount /mnt/mycd<br>
288     cd /mnt/usbdevice<br>
289     rm isolinux/*.cfg<br>
290     mv isolinux/* .<br>
291     rmdir isolinux<br>
292     cd; umount /dev/<font color="Green">sdc4</font></p>
293     <!--emty-line-->
294     <p>Finally make your USB device bootable, by executing</p>
295     <p class="newcode">syslinux /dev/<font color="Green">sdc4</font></p>
296     <p>and you are done.</p>
297    
298    
299     <!-- Installation from Windows -->
300     <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>
301     <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>
302     <!--emty-line-->
303     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
304     <b><font color="Green">D:</font></b>. You may have to change any of them, in order to reflect your system configuration.<br><br>
305    
306     You will have to</p>
307    
308     <ul>
309     <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>
310     <li>Delete <b><u>all</u> cfg</b> files from <b><font color="Green">K:</font>isolinux</b></li>
311     <li>Move all files from <b><font color="Green">K:</font>isolinux</b> to <b><font color="Green">K:</font></b></li>
312     <li>Delete folder <b><font color="Green">K:</font>isolinux</b> </li>
313     </ul>
314     <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>
315     <p class="newcode"><font color="Green">K:</font><br>
316 sng 180 cd utils/bootprog<br>
317 sng 49 syslinux -ma <font color="Green">K:</font></p>
318    
319     <!-- Booting from USB -->
320     <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>
321     <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>
322     <!--emty-line-->
323     Booting <b>Clonezilla Live</b> should not be a problem. Just select the desired option and press ENTER to boot.<br><br>
324     <!--emty-line-->
325     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>
326     <!--emty-line-->
327     If you have any problems here, you may try adding any of these boot parameters:</p>
328     <p class="newcode">usbstick<br>
329     doscsi</p>
330    
331    
332    
333    
334     <!-- Troubleshooting -->
335     <H3><a name="trouble"></a>Troubleshooting <span class="hideprint">[<a href="#usb-top" title="go to top of the page">^</a>]</span></H3>
336     <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>
337     <ul>
338     <li><p style="margin-left: 0;"><b>I can't boot (I don't even see the splash screen)</b><br>
339     or <b>Clonezilla Live does not boot</b><br>
340     <!--emty-line-->
341     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>
342     <!--emty-line-->
343     If you are on linux, check that the partition on the USB disk is active (bootable), executing:</p>
344     <p class="newcode" style="margin-left: 0;">fdisk -l /dev/<font color="Green">sdc</font></p>
345     <p style="margin-left: 0;">You should get something similar to this:</p>
346     <!--emty-line-->
347 sng 77
348     <p class="newcode">
349     Disk /dev/<font color="Green">sdc</font>: 1031 MB, 1031798272 bytes<br>
350     64 heads, 32 sectors/track, 983 cylinders<br>
351     Units = cylinders of 2048 * 512 = 1048576 bytes<br>
352     <br>
353     &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>
354     /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>
355     </p>
356 sng 49 <!--emty-line-->
357     <p style="margin-left: 0;"><br>If the partition is not active (no astrisk), execute:</p>
358     <p class="newcode" style="margin-left: 0;">fdisk /dev/<font color="Green">sdc</font></p>
359     <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>
360     <!--emty-line-->
361     If you are on Windows, this is taken care of by syslinux (parameters -ma).<br><br>
362     <!--emty-line-->
363     If you still have problems booting, you should try to execute</p>
364     <p class="newcode" style="margin-left: 0;">syslinux -s /dev/<font color="Green">sdc4</font></p>
365     <p style="margin-left: 0;">from Linux, or</p>
366     <p class="newcode" style="margin-left: 0;">syslinux -sma <font color="Green">K:</font></p>
367     <p style="margin-left: 0;">from Windows (from folder <b><font color="Green">K:</font>syslinux</b>).<br><br>
368     <!--emty-line-->
369     syslinux man page reads:</p>
370     <!--emty-line-->
371     <p class="otherpage" style="margin-left: 0px;"><b>(Option) -s</b><br>
372     Install a "safe, slow and stupid" version of syslinux. This version may work <br>
373     on some very buggy BIOSes on which syslinux would otherwise fail. If you find <br>
374     a machine on which the -s option is required to make it boot reliably, please <br>
375     send as much info about your machine as you can, and include the failure mode.</p></li>
376     <!--emty-line-->
377     <li><p style="margin-left: 0;"><b>I still can't boot</b><br>
378     In this case you will have to format your USB disk.<br><br>
379     <!--emty-line-->
380     If you are using linux to perform the installation, execute the command:</p>
381 sng 77 <!--emty-line-->
382 sng 49 <p class="newcode" style="margin-left: 0;">mkdosfs -F 16 /dev/<font color="Green">sdc4</font></p>
383 sng 77 <!--emty-line-->
384 sng 49 <p style="margin-left: 0;">to create a FAT16 file system, or</p>
385 sng 77 <!--emty-line-->
386 sng 49 <p class="newcode" style="margin-left: 0;">mkdosfs -F 32 /dev/<font color="Green">sdc4</font></p>
387 sng 77 <!--emty-line-->
388 sng 49 <p style="margin-left: 0;">to create a FAT32 file system.<br><br>
389     <!--emty-line-->
390     When you are done go back to section "<a href="#linux">Installation from Linux</a>".<br><br>
391     <!--emty-line-->
392     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>
393     <!--emty-line-->
394     When you are done go back to section "<a href="#windows">Installation from Windows</a>".</p></li>
395     <!--emty-line-->
396     <li><b>I still can't boot (after formating)</b><br>
397     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>
398     <!--emty-line-->
399     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>
400     <!--emty-line-->
401     <li><b>SystemRescueCD does not boot</b><br>
402     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>
403     <!--emty-line-->
404     Refer to section <a href="#booting">Booting from USB</a> to find out the boot parameters you can use with <b>SystemRescueCD</b>.
405     </li>
406     </ul>
407    
408    
409     <!-- Customizing sysresc.cfg -->
410     <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>
411     <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>
412     <!--emty-line-->
413     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>
414     <!--emty-line-->
415     The procedure to do that is the following:<br><br>
416     <!--emty-line-->
417     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>
418     <p class="newcode">mkdir /mnt/usbdevice<br>
419     mount /dev/<font color="Green">[device]</font> /mnt/usbdevice <br>
420     cd /mnt/usbdevice<br>
421     cp sysresc.cfg sysresc.bak<br>
422     sed 's|<font color="Red">scandelay=5</font>|<font color="Red">scandelay=<font color="Green">x</font> [additional params]</font>|' <br>
423     sysresc.cfg &gt; sys.cfg<br>
424     mv sys.cfg sysresc.cfg<br>
425     cd; umount /dev/<font color="Green">[device]</font><br>
426     syslinux /dev/<font color="Green">[device]</font><br>
427     reboot</p>
428     <!--emty-line-->
429     <p>where <b><font color="Green">x</font></b> is a number from 1 to 10.</p>
430     <!--emty-line-->
431     <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>
432     <!--emty-line-->
433     If, for example, you want to increase the device scan delay to maximum, the above commands would become:</p>
434     <p class="newcode">mkdir /mnt/usbdevice<br>
435     mount /dev/<font color="Green">sdc4</font> /mnt/usbdevice <br>
436     cd /mnt/usbdevice<br>
437     cp sysresc.cfg sysresc.bak<br>
438     sed 's|<font color="Red">scandelay=5</font>|<font color="Red">scandelay=<font color="Green">10</font></font>|' sysresc.cfg &gt; sys.cfg<br>
439     mv sys.cfg sysresc.cfg<br>
440     cd; umount /dev/<font color="Green">sdc4</font><br>
441     syslinux /dev/<font color="Green">sdc4</font><br>
442     reboot</p>
443     <!--emty-line-->
444     <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>
445     <p class="newcode">mkdir /mnt/usbdevice<br>
446     mount /dev/<font color="Green">sdc4</font> /mnt/usbdevice <br>
447     cd /mnt/usbdevice<br>
448     cp sysresc.cfg sysresc.bak<br>
449     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>
450     mv sys.cfg sysresc.cfg<br>
451     cd; umount /dev/<font color="Green">sdc4</font><br>
452     syslinux /dev/<font color="Green">sdc4</font><br>
453     reboot</p>
454     <!--emty-line-->
455     <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>
456    
457    
458     </div>
459    
460    
461    
462     <!--<a name="template-top"></a>-->
463    
464     <div id="footer">
465     <div id="docline-bottom"> <a href="">&lt; PREV</a> <a href="../README.html">UP</a> <a href="boot-params.html">NEXT &gt;</a> </div>
466 sng 180 <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/>
467 sng 149 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>
468 sng 49 </div>
469     </div>
470 sng 149 <div id="warning" align="center">
471     WARNING<br>
472     This is the UNSTABLE version of Clonezilla-SysRescCD<br>
473     To access our current stable version, please click <a href="../index.html">here</a>
474     </div>
475 sng 49 </body>
476     </html>

webmaster@linux.gr
ViewVC Help
Powered by ViewVC 1.1.26