ViewVC logotype

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

Parent Directory Parent Directory | Revision Log Revision Log

Revision 55 - (hide annotations)
Thu May 20 17:17:28 2010 UTC (10 years, 11 months ago) by sng
File MIME type: text/html
File size: 24527 byte(s)
applying latest offline changes to all files through html2doc
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     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; }
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;}
18     #contarea {display: block; width: 980px; margin: auto; padding: auto; background-color: #FFF2DD; clear:both;}
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;}
26     #lastupdate {float: right; display: block; text-align: right; margin: 0; margin-top: -1.2em; padding: 0; padding-right: 15px;}
28     #rss { float: right; text-align: right; padding-top: 3px;}
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; }
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;}
40     #content { float: left; display: block; width: 950px; margin: auto; padding: 15px;}
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;}
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">
73     </head>
75     <body>
76     <div id="header">
77     <H2>Clonezilla-SysRescCD</H2>
78 sng 52 <H3>Offline Documentation: Installing on USB</H3>
79 sng 49 <div style="margin:0; padding: 3px; width: 980; position relative;">
80     <div style="position: absolute; left: 0px;"><H4>26/03/2010 - v 3.1.0</H4></div>
81     <div style="position: absolute; right: 0px;"><H4>Last update: 18/05/2010</H4></div>
82     </div>
83     </div>
84     <div id="linkline">
87     <!-- <a href="features.html">Features</a>-->
88 sng 52 <a class="here" href="../README.html">Offline Documentation</a>
89 sng 49
94     <!-- docline-top-->
95     <div id="docline-top"> <a href="">&lt; PREV</a> <a href="../README.html">UP</a> <a href="boot-params.html">NEXT &gt;</a> </div>
96     </div>
97     <div id="contarea">
98     <div id="content">
99     <a name="usb-top"></a>
102     <!-- Intro -->
104     <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>
105     <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>
106     <!--emty-line-->
107     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>
108     <!--emty-line-->
109     <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>
110     <br>
111     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>
113     <!--emty-line-->
114     <div align="center"><table class="note" border="0" cellpadding="20"><tr><td valign="top"><img src="images/important.png"></td><td>
115     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>
117     <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>
119     <p class="newcode">umount /dev/<font color="Green">sdc4</font><br>
120     dd if=~/clonezilla-sysresccd-full-mod-3.1.0.iso of=/dev/<font color="Green">sdc4</font> bs=512</p>
122     <p>And that's it. Your usb device is ready to boot!!!</p>
126     <!--emty-line-->
127     <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>
128     <!--emty-line-->
129     <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>
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 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>
133     <!--emty-line-->
134     <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>
135     <!--emty-line-->
136     The bootable USB disk creation procedure can be performed either from Linux or Windows.</p>
137     <!-- note -->
138     <div align="center"><table class="note" border="0" cellpadding="20"><tr><td valign="top"><img src="images/info.png"></td><td>
139     If you want to create a bootable USB flash drive for this version<br>
140     or later, remember to use the syslinux command from <b>syslinux<br>
141     3.71 or later</b>. Otherwise the boot menu won't work.</td></tr></table></div>
142     <!-- Installation from Linux -->
143     <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>
144     <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>
145     <!--emty-line-->
146     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>
147     <!--emty-line-->
148     <H3><a name="lin-box"></a>Using a linux box [<a href="#usb-top" title="go to top of the page">^</a>]</H3>
149     <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>
150     <!--emty-line-->
151     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>
152     <!--emty-line-->
153     Boot into linux, connect your USB device and execute the following commands:</p>
154     <p class="newcode">mkdir /mnt/mycd<br>
155     mount <font color="Green">~</font>/clonezilla-sysresccd-full-mod-3.1.0.iso /mnt/mycd -o loop<br>
156     mkdir /mnt/usbdevice<br>
157     mount /dev/<font color="Green">sdc4</font> /mnt/usbdevice<br>
158     cp -r /mnt/mycd/* /mnt/usbdevice<br>
159     umount /mnt/mycd; rmdir /mnt/mycd<br>
160     cd /mnt/usbdevice<br>
161     rm isolinux/*.cfg<br>
162     mv isolinux/* .<br>
163     rmdir isolinux<br>
164     cd; umount /dev/<font color="Green">sdc4</font><br>
165     rmdir /mnt/usbdevice</p>
166     <!--emty-line-->
167     <p>Finally make your USB device bootable, by executing</p>
168     <p class="newcode">syslinux /dev/<font color="Green">sdc4</font></p>
169     <p>and you are done.</p>
170     <!--emty-line-->
171     <H4><a name="lin-sys"></a>Using Clonezilla-SysRescCD [<a href="#usb-top" title="go to top of the page">^</a>]</H4>
172     <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>
173     <!--emty-line-->
174     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>
175     <!--emty-line-->
176     Boot <b>SystemRescueCD </b> using the option <b>To RAM</b>, and when it is fully loaded, execute the following commands:</p>
177     <p class="newcode">mkdir /mnt/mycd<br>
178     mount /dev/<font color="Green">sr0</font> /mnt/mycd <br>
179     mkdir /mnt/usbdevice<br>
180     mount /dev/<font color="Green">sdc4</font> /mnt/usbdevice<br>
181     cp -r /mnt/mycd/* /mnt/usbdevice<br>
182     umount /mnt/mycd<br>
183     cd /mnt/usbdevice<br>
184     rm isolinux/*.cfg<br>
185     mv isolinux/* .<br>
186     rmdir isolinux<br>
187     cd; umount /dev/<font color="Green">sdc4</font></p>
188     <!--emty-line-->
189     <p>Finally make your USB device bootable, by executing</p>
190     <p class="newcode">syslinux /dev/<font color="Green">sdc4</font></p>
191     <p>and you are done.</p>
194     <!-- Installation from Windows -->
195     <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>
196     <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>
197     <!--emty-line-->
198     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
199     <b><font color="Green">D:</font></b>. You may have to change any of them, in order to reflect your system configuration.<br><br>
201     You will have to</p>
203     <ul>
204     <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>
205     <li>Delete <b><u>all</u> cfg</b> files from <b><font color="Green">K:</font>isolinux</b></li>
206     <li>Move all files from <b><font color="Green">K:</font>isolinux</b> to <b><font color="Green">K:</font></b></li>
207     <li>Delete folder <b><font color="Green">K:</font>isolinux</b> </li>
208     </ul>
209     <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>
210     <p class="newcode"><font color="Green">K:</font><br>
211     cd bootprog<br>
212     syslinux -ma <font color="Green">K:</font></p>
214     <!-- Booting from USB -->
215     <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>
216     <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>
217     <!--emty-line-->
218     Booting <b>Clonezilla Live</b> should not be a problem. Just select the desired option and press ENTER to boot.<br><br>
219     <!--emty-line-->
220     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>
221     <!--emty-line-->
222     If you have any problems here, you may try adding any of these boot parameters:</p>
223     <p class="newcode">usbstick<br>
224     doscsi</p>
229     <!-- Troubleshooting -->
230     <H3><a name="trouble"></a>Troubleshooting <span class="hideprint">[<a href="#usb-top" title="go to top of the page">^</a>]</span></H3>
231     <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>
232     <ul>
233     <li><p style="margin-left: 0;"><b>I can't boot (I don't even see the splash screen)</b><br>
234     or <b>Clonezilla Live does not boot</b><br>
235     <!--emty-line-->
236     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>
237     <!--emty-line-->
238     If you are on linux, check that the partition on the USB disk is active (bootable), executing:</p>
239     <p class="newcode" style="margin-left: 0;">fdisk -l /dev/<font color="Green">sdc</font></p>
240     <p style="margin-left: 0;">You should get something similar to this:</p>
241     <!--emty-line-->
242     <table class="newcode" style="margin-left: 0pt;" border="0" width="100%">
243     <tr><td colspan="7">Disk /dev/<font color="Green">sdc</font>: 1031 MB, 1031798272 bytes</td></tr>
244     <tr><td colspan="7">64 heads, 32 sectors/track, 983 cylinders</td></tr>
245     <tr><td colspan="7">Units = cylinders of 2048 * 512 = 1048576 bytes</td></tr>
246     <tr><td>&nbsp;</td></tr>
247     <tr>
248     <td align="right">Device&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</td><td align="right"><font color="Red">Boot</font>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</td><td align="right">Start&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</td><td align="right">End&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</td><td align="right">Blocks&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</td><td align="right">Id&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</td><td align="right">System&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</td><td width="99%"></td></tr>
249     <tr><td align="right">/dev/<font color="Green">sdc4</font>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</td><td align="right"><font color="Red">*</font>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</td><td align="right">1&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</td><td align="right">983&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</td><td align="right">1006576&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</td><td align="right">6&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</td><td align="right">FAT16&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</td><td width="99%"></td>
250     </tr>
251     </table>
252     <!--emty-line-->
253     <p style="margin-left: 0;"><br>If the partition is not active (no astrisk), execute:</p>
254     <p class="newcode" style="margin-left: 0;">fdisk /dev/<font color="Green">sdc</font></p>
255     <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>
256     <!--emty-line-->
257     If you are on Windows, this is taken care of by syslinux (parameters -ma).<br><br>
258     <!--emty-line-->
259     If you still have problems booting, you should try to execute</p>
260     <p class="newcode" style="margin-left: 0;">syslinux -s /dev/<font color="Green">sdc4</font></p>
261     <p style="margin-left: 0;">from Linux, or</p>
262     <p class="newcode" style="margin-left: 0;">syslinux -sma <font color="Green">K:</font></p>
263     <p style="margin-left: 0;">from Windows (from folder <b><font color="Green">K:</font>syslinux</b>).<br><br>
264     <!--emty-line-->
265     syslinux man page reads:</p>
266     <!--emty-line-->
267     <p class="otherpage" style="margin-left: 0px;"><b>(Option) -s</b><br>
268     Install a "safe, slow and stupid" version of syslinux. This version may work <br>
269     on some very buggy BIOSes on which syslinux would otherwise fail. If you find <br>
270     a machine on which the -s option is required to make it boot reliably, please <br>
271     send as much info about your machine as you can, and include the failure mode.</p></li>
272     <!--emty-line-->
273     <li><p style="margin-left: 0;"><b>I still can't boot</b><br>
274     In this case you will have to format your USB disk.<br><br>
275     <!--emty-line-->
276     If you are using linux to perform the installation, execute the command:</p>
277     <p class="newcode" style="margin-left: 0;">mkdosfs -F 16 /dev/<font color="Green">sdc4</font></p>
278     <p style="margin-left: 0;">to create a FAT16 file system, or</p>
279     <p class="newcode" style="margin-left: 0;">mkdosfs -F 32 /dev/<font color="Green">sdc4</font></p>
280     <p style="margin-left: 0;">to create a FAT32 file system.<br><br>
281     <!--emty-line-->
282     When you are done go back to section "<a href="#linux">Installation from Linux</a>".<br><br>
283     <!--emty-line-->
284     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>
285     <!--emty-line-->
286     When you are done go back to section "<a href="#windows">Installation from Windows</a>".</p></li>
287     <!--emty-line-->
288     <li><b>I still can't boot (after formating)</b><br>
289     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>
290     <!--emty-line-->
291     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>
292     <!--emty-line-->
293     <li><b>SystemRescueCD does not boot</b><br>
294     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>
295     <!--emty-line-->
296     Refer to section <a href="#booting">Booting from USB</a> to find out the boot parameters you can use with <b>SystemRescueCD</b>.
297     </li>
298     </ul>
301     <!-- Customizing sysresc.cfg -->
302     <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>
303     <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>
304     <!--emty-line-->
305     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>
306     <!--emty-line-->
307     The procedure to do that is the following:<br><br>
308     <!--emty-line-->
309     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>
310     <p class="newcode">mkdir /mnt/usbdevice<br>
311     mount /dev/<font color="Green">[device]</font> /mnt/usbdevice <br>
312     cd /mnt/usbdevice<br>
313     cp sysresc.cfg sysresc.bak<br>
314     sed 's|<font color="Red">scandelay=5</font>|<font color="Red">scandelay=<font color="Green">x</font> [additional params]</font>|' <br>
315     sysresc.cfg &gt; sys.cfg<br>
316     mv sys.cfg sysresc.cfg<br>
317     cd; umount /dev/<font color="Green">[device]</font><br>
318     syslinux /dev/<font color="Green">[device]</font><br>
319     reboot</p>
320     <!--emty-line-->
321     <p>where <b><font color="Green">x</font></b> is a number from 1 to 10.</p>
322     <!--emty-line-->
323     <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>
324     <!--emty-line-->
325     If, for example, you want to increase the device scan delay to maximum, the above commands would become:</p>
326     <p class="newcode">mkdir /mnt/usbdevice<br>
327     mount /dev/<font color="Green">sdc4</font> /mnt/usbdevice <br>
328     cd /mnt/usbdevice<br>
329     cp sysresc.cfg sysresc.bak<br>
330     sed 's|<font color="Red">scandelay=5</font>|<font color="Red">scandelay=<font color="Green">10</font></font>|' sysresc.cfg &gt; sys.cfg<br>
331     mv sys.cfg sysresc.cfg<br>
332     cd; umount /dev/<font color="Green">sdc4</font><br>
333     syslinux /dev/<font color="Green">sdc4</font><br>
334     reboot</p>
335     <!--emty-line-->
336     <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>
337     <p class="newcode">mkdir /mnt/usbdevice<br>
338     mount /dev/<font color="Green">sdc4</font> /mnt/usbdevice <br>
339     cd /mnt/usbdevice<br>
340     cp sysresc.cfg sysresc.bak<br>
341     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>
342     mv sys.cfg sysresc.cfg<br>
343     cd; umount /dev/<font color="Green">sdc4</font><br>
344     syslinux /dev/<font color="Green">sdc4</font><br>
345     reboot</p>
346     <!--emty-line-->
347     <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>
350     </div>
354     <!--<a name="template-top"></a>-->
356     <div id="footer">
357     <div id="docline-bottom"> <a href="">&lt; PREV</a> <a href="../README.html">UP</a> <a href="boot-params.html">NEXT &gt;</a> </div>
358     <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/>
359     Hosted by <a href="http://www.hellug.gr" target="_blank" title="Hellenic Linux User Group">HEL.L.U.G.</a></p>
360     </div>
361     </div>
362     </body>
363     </html>

ViewVC Help
Powered by ViewVC 1.1.26