ViewVC logotype

Annotation of /trunk/www/usb.html

Parent Directory Parent Directory | Revision Log Revision Log

Revision 28 - (hide annotations)
Wed Mar 17 23:46:34 2010 UTC (11 years, 8 months ago) by sng
File MIME type: text/html
File size: 25074 byte(s)
adding www directory
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     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     <div id="lphp" style=""><a target="_blank" href="onepage.php"><img src="images/chain.png" border="0" /></a><a target="_blank" href="printable.php"><img src="images/print_it.png" border="0" /></a></div>
78     <H2>Clonezilla-SysRescCD</H2>
79     <H3>Documentation: Installing on USB</H3>
80     <div style="margin:0; padding: 3px; width: 980; position relative;">
81     <div style="position: absolute; left: 0px;"><H4>25/02/2010 - v 3.1.0</H4></div>
82     <div style="position: absolute; right: 0px;"><H4>Last update: 16/03/2010</H4></div>
83     </div>
84     </div>
85     <div id="linkline">
86     <a href="index.html">Home</a>
87     <a href="news.php">News</a>
88     <!-- <a href="features.html">Features</a>-->
89     <a class="here" href="doc.html">Documentation</a>
90     <a href="index.html#download">Download</a>
91     <a href="screenshots.html">Screenshots</a>
92     <a href="index.html#credits">Credits</a>
93     <a href="help.html">Help</a>
95     <div id="rss">
96     <a href="clonezilla-sysresccd.rss"><img src="images/rss-orange-11.png" width="30" height="14" border="0"/></a>
97     </div>
98     <!-- docline-top-->
99     <div id="docline-top"> <a href="custom-cd.html">&lt; PREV</a> <a href="doc.html">UP</a> <a href="boot-params.html">NEXT &gt;</a> </div>
100     </div>
101     <div id="contarea">
102     <div id="content">
103     <a name="usb-top"></a>
106     <!-- Intro -->
108     <H2 style="margin-top: 0;"><a name="usb-intro"></a>Installation to USB made easy <span class="hideprint">[<a href="#usb-top" title="go to top of the page">^</a>]</span></H2>
109     <p>Until recently installing <b>Clonezilla-SysRescCD</b> on a USB disk would not be such a great idea, because of its size. But since USB devices become cheaper and cheaper, it is an interesting alternative.<br><br>
110     <!--emty-line-->
111     Starting with <b>version 3.1.0</b>, <b>Clonezilla-SysRescCD</b> provides an iso file that's ISO-Hybrided. This means (as we read at <a href="http://syslinux.zytor.com/wiki/index.php/Doc/isolinux#HYBRID_CD-ROM.2FHARD_DISK_MODE" target="_blank">the isolynux site</a>) that</p>
112     <!--emty-line-->
113     <p class="otherpage">"the iso file can be booted from either CD-ROM or from a device which BIOS considers a hard disk or ZIP disk, e.g. a USB key or similar. This image can then be copied using any raw disk writing tool (on Unix systems, typically "dd" or "cat") to a USB disk, or written to a CD-ROM using standard CD burning tools.<br>
114     <br>
115     The ISO 9660 filesystem is encapsulated in a partition (which starts at offset zero, which may confuse some systems.) This makes it possible for the operating system, once booted, to use the remainder of the device for persistent storage by creating a second partition."</p>
117     <!--emty-line-->
118     <div align="center"><table class="note" border="0" cellpadding="20"><tr><td valign="top"><img src="images/important.png"></td><td>
119     Incorrect use of any raw disk writing tool could cause your<br> operating system (GNU/Linux / Windows) <b>not to boot</b>.<br><br> Confirm the command before you run it.<br></td></tr></table></div>
121     <p>So, from any linux box, assuming <b>Clonezilla-SysRescCD</b> iso file is in your home directory, and your USB device name is <b><font color="Green">sdc4</font></b>, you just execute the commands:</p>
123     <p class="newcode">umount /dev/<font color="Green">sdc4</font><br>
124     dd if=~/clonezilla-sysresccd-full-mod-3.1.0.iso of=/dev/<font color="Green">sdc4</font> bs=512</p>
126     <p>And that's it. Your usb device is ready to boot!!!</p>
130     <!--emty-line-->
131     <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>
132     <!--emty-line-->
133     <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>
134     <!--emty-line-->
135     <div align="center"><table class="note" border="0" cellpadding="20"><tr><td valign="top"><img src="images/important.png"></td><td>
136     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>
137     <!--emty-line-->
138     <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>
139     <!--emty-line-->
140     The bootable USB disk creation procedure can be performed either from Linux or Windows.</p>
141     <!-- note -->
142     <div align="center"><table class="note" border="0" cellpadding="20"><tr><td valign="top"><img src="images/info.png"></td><td>
143     If you want to create a bootable USB flash drive for this version<br>
144     or later, remember to use the syslinux command from <b>syslinux<br>
145     3.71 or later</b>. Otherwise the boot menu won't work.</td></tr></table></div>
146     <!-- Installation from Linux -->
147     <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>
148     <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>
149     <!--emty-line-->
150     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>
151     <!--emty-line-->
152     <H3><a name="lin-box"></a>Using a linux box [<a href="#usb-top" title="go to top of the page">^</a>]</H3>
153     <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>
154     <!--emty-line-->
155     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>
156     <!--emty-line-->
157     Boot into linux, connect your USB device and execute the following commands:</p>
158     <p class="newcode">mkdir /mnt/mycd<br>
159     mount <font color="Green">~</font>/clonezilla-sysresccd-full-mod-3.1.0.iso /mnt/mycd -o loop<br>
160     mkdir /mnt/usbdevice<br>
161     mount /dev/<font color="Green">sdc4</font> /mnt/usbdevice<br>
162     cp -r /mnt/mycd/* /mnt/usbdevice<br>
163     umount /mnt/mycd; rmdir /mnt/mycd<br>
164     cd /mnt/usbdevice<br>
165     rm isolinux/*.cfg<br>
166     mv isolinux/* .<br>
167     rmdir isolinux<br>
168     cd; umount /dev/<font color="Green">sdc4</font><br>
169     rmdir /mnt/usbdevice</p>
170     <!--emty-line-->
171     <p>Finally make your USB device bootable, by executing</p>
172     <p class="newcode">syslinux /dev/<font color="Green">sdc4</font></p>
173     <p>and you are done.</p>
174     <!--emty-line-->
175     <H4><a name="lin-sys"></a>Using Clonezilla-SysRescCD [<a href="#usb-top" title="go to top of the page">^</a>]</H4>
176     <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>
177     <!--emty-line-->
178     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>
179     <!--emty-line-->
180     Boot <b>SystemRescueCD </b> using the option <b>To RAM</b>, and when it is fully loaded, execute the following commands:</p>
181     <p class="newcode">mkdir /mnt/mycd<br>
182     mount /dev/<font color="Green">sr0</font> /mnt/mycd <br>
183     mkdir /mnt/usbdevice<br>
184     mount /dev/<font color="Green">sdc4</font> /mnt/usbdevice<br>
185     cp -r /mnt/mycd/* /mnt/usbdevice<br>
186     umount /mnt/mycd<br>
187     cd /mnt/usbdevice<br>
188     rm isolinux/*.cfg<br>
189     mv isolinux/* .<br>
190     rmdir isolinux<br>
191     cd; umount /dev/<font color="Green">sdc4</font></p>
192     <!--emty-line-->
193     <p>Finally make your USB device bootable, by executing</p>
194     <p class="newcode">syslinux /dev/<font color="Green">sdc4</font></p>
195     <p>and you are done.</p>
198     <!-- Installation from Windows -->
199     <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>
200     <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>
201     <!--emty-line-->
202     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
203     <b><font color="Green">D:</font></b>. You may have to change any of them, in order to reflect your system configuration.<br><br>
205     You will have to</p>
207     <ul>
208     <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>
209     <li>Delete <b><u>all</u> cfg</b> files from <b><font color="Green">K:</font>isolinux</b></li>
210     <li>Move all files from <b><font color="Green">K:</font>isolinux</b> to <b><font color="Green">K:</font></b></li>
211     <li>Delete folder <b><font color="Green">K:</font>isolinux</b> </li>
212     </ul>
213     <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>
214     <p class="newcode"><font color="Green">K:</font><br>
215     cd bootprog<br>
216     syslinux -ma <font color="Green">K:</font></p>
218     <!-- Booting from USB -->
219     <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>
220     <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>
221     <!--emty-line-->
222     Booting <b>Clonezilla Live</b> should not be a problem. Just select the desired option and press ENTER to boot.<br><br>
223     <!--emty-line-->
224     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>
225     <!--emty-line-->
226     If you have any problems here, you may try adding any of these boot parameters:</p>
227     <p class="newcode">usbstick<br>
228     doscsi</p>
233     <!-- Troubleshooting -->
234     <H3><a name="trouble"></a>Troubleshooting <span class="hideprint">[<a href="#usb-top" title="go to top of the page">^</a>]</span></H3>
235     <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>
236     <ul>
237     <li><p style="margin-left: 0;"><b>I can't boot (I don't even see the splash screen)</b><br>
238     or <b>Clonezilla Live does not boot</b><br>
239     <!--emty-line-->
240     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>
241     <!--emty-line-->
242     If you are on linux, check that the partition on the USB disk is active (bootable), executing:</p>
243     <p class="newcode" style="margin-left: 0;">fdisk -l /dev/<font color="Green">sdc</font></p>
244     <p style="margin-left: 0;">You should get something similar to this:</p>
245     <!--emty-line-->
246     <table class="newcode" style="margin-left: 0pt;" border="0" width="100%">
247     <tr><td colspan="7">Disk /dev/<font color="Green">sdc</font>: 1031 MB, 1031798272 bytes</td></tr>
248     <tr><td colspan="7">64 heads, 32 sectors/track, 983 cylinders</td></tr>
249     <tr><td colspan="7">Units = cylinders of 2048 * 512 = 1048576 bytes</td></tr>
250     <tr><td>&nbsp;</td></tr>
251     <tr>
252     <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>
253     <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>
254     </tr>
255     </table>
256     <!--emty-line-->
257     <p style="margin-left: 0;"><br>If the partition is not active (no astrisk), execute:</p>
258     <p class="newcode" style="margin-left: 0;">fdisk /dev/<font color="Green">sdc</font></p>
259     <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>
260     <!--emty-line-->
261     If you are on Windows, this is taken care of by syslinux (parameters -ma).<br><br>
262     <!--emty-line-->
263     If you still have problems booting, you should try to execute</p>
264     <p class="newcode" style="margin-left: 0;">syslinux -s /dev/<font color="Green">sdc4</font></p>
265     <p style="margin-left: 0;">from Linux, or</p>
266     <p class="newcode" style="margin-left: 0;">syslinux -sma <font color="Green">K:</font></p>
267     <p style="margin-left: 0;">from Windows (from folder <b><font color="Green">K:</font>syslinux</b>).<br><br>
268     <!--emty-line-->
269     syslinux man page reads:</p>
270     <!--emty-line-->
271     <p class="otherpage" style="margin-left: 0px;"><b>(Option) -s</b><br>
272     Install a "safe, slow and stupid" version of syslinux. This version may work <br>
273     on some very buggy BIOSes on which syslinux would otherwise fail. If you find <br>
274     a machine on which the -s option is required to make it boot reliably, please <br>
275     send as much info about your machine as you can, and include the failure mode.</p></li>
276     <!--emty-line-->
277     <li><p style="margin-left: 0;"><b>I still can't boot</b><br>
278     In this case you will have to format your USB disk.<br><br>
279     <!--emty-line-->
280     If you are using linux to perform the installation, execute the command:</p>
281     <p class="newcode" style="margin-left: 0;">mkdosfs -F 16 /dev/<font color="Green">sdc4</font></p>
282     <p style="margin-left: 0;">to create a FAT16 file system, or</p>
283     <p class="newcode" style="margin-left: 0;">mkdosfs -F 32 /dev/<font color="Green">sdc4</font></p>
284     <p style="margin-left: 0;">to create a FAT32 file system.<br><br>
285     <!--emty-line-->
286     When you are done go back to section "<a href="#linux">Installation from Linux</a>".<br><br>
287     <!--emty-line-->
288     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>
289     <!--emty-line-->
290     When you are done go back to section "<a href="#windows">Installation from Windows</a>".</p></li>
291     <!--emty-line-->
292     <li><b>I still can't boot (after formating)</b><br>
293     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>
294     <!--emty-line-->
295     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>
296     <!--emty-line-->
297     <li><b>SystemRescueCD does not boot</b><br>
298     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>
299     <!--emty-line-->
300     Refer to section <a href="#booting">Booting from USB</a> to find out the boot parameters you can use with <b>SystemRescueCD</b>.
301     </li>
302     </ul>
305     <!-- Customizing sysresc.cfg -->
306     <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>
307     <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>
308     <!--emty-line-->
309     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>
310     <!--emty-line-->
311     The procedure to do that is the following:<br><br>
312     <!--emty-line-->
313     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>
314     <p class="newcode">mkdir /mnt/usbdevice<br>
315     mount /dev/<font color="Green">[device]</font> /mnt/usbdevice <br>
316     cd /mnt/usbdevice<br>
317     cp sysresc.cfg sysresc.bak<br>
318     sed 's|<font color="Red">scandelay=5</font>|<font color="Red">scandelay=<font color="Green">x</font> [additional params]</font>|' <br>
319     sysresc.cfg &gt; sys.cfg<br>
320     mv sys.cfg sysresc.cfg<br>
321     cd; umount /dev/<font color="Green">[device]</font><br>
322     syslinux /dev/<font color="Green">[device]</font><br>
323     reboot</p>
324     <!--emty-line-->
325     <p>where <b><font color="Green">x</font></b> is a number from 1 to 10.</p>
326     <!--emty-line-->
327     <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>
328     <!--emty-line-->
329     If, for example, you want to increase the device scan delay to maximum, the above commands would become:</p>
330     <p class="newcode">mkdir /mnt/usbdevice<br>
331     mount /dev/<font color="Green">sdc4</font> /mnt/usbdevice <br>
332     cd /mnt/usbdevice<br>
333     cp sysresc.cfg sysresc.bak<br>
334     sed 's|<font color="Red">scandelay=5</font>|<font color="Red">scandelay=<font color="Green">10</font></font>|' sysresc.cfg &gt; sys.cfg<br>
335     mv sys.cfg sysresc.cfg<br>
336     cd; umount /dev/<font color="Green">sdc4</font><br>
337     syslinux /dev/<font color="Green">sdc4</font><br>
338     reboot</p>
339     <!--emty-line-->
340     <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>
341     <p class="newcode">mkdir /mnt/usbdevice<br>
342     mount /dev/<font color="Green">sdc4</font> /mnt/usbdevice <br>
343     cd /mnt/usbdevice<br>
344     cp sysresc.cfg sysresc.bak<br>
345     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>
346     mv sys.cfg sysresc.cfg<br>
347     cd; umount /dev/<font color="Green">sdc4</font><br>
348     syslinux /dev/<font color="Green">sdc4</font><br>
349     reboot</p>
350     <!--emty-line-->
351     <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>
354     </div>
358     <!--<a name="template-top"></a>-->
360     <div id="footer">
361     <div id="docline-bottom"> <a href="custom-cd.html">&lt; PREV</a> <a href="doc.html">UP</a> <a href="boot-params.html">NEXT &gt;</a> </div>
362     <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/>
363     Hosted by <a href="http://www.hellug.gr" target="_blank" title="Hellenic Linux User Group">HEL.L.U.G.</a></p>
364     </div>
365     </div>
366     </body>
367     </html>


Name Value
svn:executable *

ViewVC Help
Powered by ViewVC 1.1.26