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

Annotation of /trunk/www/usb.html

Parent Directory Parent Directory | Revision Log Revision Log


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

Properties

Name Value
svn:executable *

webmaster@linux.gr
ViewVC Help
Powered by ViewVC 1.1.26