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

Diff of /trunk/www/usb.html

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 75 by sng, Tue Jun 1 13:23:50 2010 UTC revision 95 by sng, Fri Aug 13 14:09:29 2010 UTC
# Line 78  Line 78 
78  <H2>Clonezilla-SysRescCD</H2>  <H2>Clonezilla-SysRescCD</H2>
79  <H3>Documentation: Installing on USB</H3>  <H3>Documentation: Installing on USB</H3>
80    <div style="margin:0; padding: 3px; width: 980; position relative;">    <div style="margin:0; padding: 3px; width: 980; position relative;">
81      <div style="position: absolute; left: 0px;"><H4>25/05/2010 - v 3.1.0</H4></div>      <div style="position: absolute; left: 0px;"><H4>10/08/2010 - v 3.1.0</H4></div>
82      <div style="position: absolute; right: 0px;"><H4>Last update: 01/06/2010</H4></div>      <div style="position: absolute; right: 0px;"><H4>Last update: 13/08/2010</H4></div>
83    </div>    </div>
84  </div>  </div>
85  <div id="linkline">  <div id="linkline">
# Line 87  Line 87 
87    <a href="news.php">News</a>    <a href="news.php">News</a>
88  <!--  <a href="features.html">Features</a>-->  <!--  <a href="features.html">Features</a>-->
89    <a class="here" href="doc.html">Documentation</a>    <a class="here" href="doc.html">Documentation</a>
90    <a href="index.html#download">Download</a>    <a href="download.html">Download</a>
91    <a href="screenshots.html">Screenshots</a>    <a href="screenshots.html">Screenshots</a>
92    <a href="index.html#credits">Credits</a>    <a href="index.html#credits">Credits</a>
93    <a href="help.html">Help</a>    <a href="help.html">Help</a>
# Line 121  Incorrect use of any raw disk writing to Line 121  Incorrect use of any raw disk writing to
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>  <p>So, from any linux box, assuming <b>Clonezilla-SysRescCD</b> iso file is in your home directory, and your USB device name is <b><font color="Green">sdc4</font></b>, you just execute the commands:</p>
122    
123  <p class="newcode">umount /dev/<font color="Green">sdc4</font><br>  <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>  dd if=~/clonezilla-sysresccd-full-mod-3.1.0.iso of=/dev/<font color="Green">sdc</font> bs=512</p>
125    
126  <p>And that's it. Your usb device is ready to boot!!!</p>  <p>And that's it. Your usb device is ready to boot!!!</p>
127    
128    
129    <H3><a name="usb-free-space"></a>Using the extra space <span class="hideprint">[<a href="#usb-top" title="go to top of the page">^</a>]</span></H3>
130    
131    <p>
132    If your usb device is more than 400MB in size, the above command will leave the remaining space unused. To verify it, execute the command:
133    </p>
134    <p class="newcode" style="margin-left: 0;">fdisk -l /dev/<font color="Green">sdc</font></p>
135    
136    <p style="margin-left: 0;">You should get something similar to this:</p>
137    <!--emty-line-->
138    
139    <p class="newcode">
140    Disk /dev/sdc: 1048 MB, 1048576000 bytes<br>
141    64 heads, 32 sectors/track, 1000 cylinders, total 2048000 sectors<br>
142    Units = sectors of 1 * 512 = 512 bytes<br>
143    Sector size (logical/physical): 512 bytes / 512 bytes<br>
144    I/O size (minimum/optimal): 512 bytes / 512 bytes<br>
145    Disk identifier: 0x77a5188f<br>
146    <br>
147    &nbsp;&nbsp;&nbsp;Device&nbsp;Boot&nbsp;&nbsp;Start&nbsp;&nbsp;End&nbsp;&nbsp;Blocks&nbsp;&nbsp;Id&nbsp;&nbsp;System
148    /dev/sdc1&nbsp;&nbsp;&nbsp;&nbsp;*&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;1&nbsp;&nbsp;384&nbsp;&nbsp;393216&nbsp;&nbsp;17&nbsp;&nbsp;Hidden&nbsp;HPFS/NTFS
149    </p>
150    <p>
151    As you can see, we are currently using 348 out of 1000 cylinders of the disk. The remaining disk space (~600MB) can still be used, executing the following commands<!--not-on-txt--> (user input is displayed in <font color="magenta">magenta</font>, comments are in <font color="#990000">brown</font>)<!--end-not-on-txt-->:
152    </p>
153    
154    <p class="newcode">
155    fdisk /dev/<font color="green">sdc</font><br>
156    command (m for help): <font color="magenta">n</font> <font color="#990000">(create new partition)</font><br>
157    command action<br>
158       e   extended<br>
159       p   primary partition (1-4)<br>
160    <font color="magenta">p</font><br>
161    partition number (1-4): <font color="magenta">4</font> <font color="#990000">(create partition sdc4)</font><br>
162    first cylinder (385-1000, default 385): <br>
163    using default value 385<br>
164    last cylinder, +cylinders or +size{k,m,g} (385-1000, default 1000): <br>
165    using default value 1000<br>
166    <br>
167    command (m for help): <font color="magenta">p</font> <font color="#990000">(display partition table)</font><br>
168    <br>
169    disk /dev/sdc: 1048 mb, 1048576000 bytes<br>
170    64 heads, 32 sectors/track, 1000 cylinders<br>
171    units = cylinders of 2048 * 512 = 1048576 bytes<br>
172    sector size (logical/physical): 512 bytes / 512 bytes<br>
173    i/o size (minimum/optimal): 512 bytes / 512 bytes<br>
174    disk identifier: 0x77a5188f<br>
175    <br>
176    &nbsp;&nbsp;&nbsp;device&nbsp;boot&nbsp;&nbsp;start&nbsp;&nbsp;&nbsp;end&nbsp;&nbsp;blocks&nbsp;&nbsp;&nbsp;id&nbsp;&nbsp;system<br>
177    /dev/sdc1&nbsp;&nbsp;&nbsp;*&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;1&nbsp;&nbsp;&nbsp;384&nbsp;&nbsp;393216&nbsp;&nbsp;&nbsp;17&nbsp;&nbsp;hidden&nbsp;hpfs/ntfs<br>
178    /dev/sdc4&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;385&nbsp;&nbsp;1000&nbsp;&nbsp;630784&nbsp;&nbsp;&nbsp;83&nbsp;&nbsp;linux<br>
179    <br>
180    <br>
181    command (m for help): <font color="magenta">t</font> <font color="#990000">(change partition type)</font><br>
182    partition number (1-4): <font color="magenta">4</font><br>
183    hex code (type l to list codes): <font color="magenta">b</font><br>
184    changed system type of partition 4 to b (w95 fat32)<br>
185    <br>
186    command (m for help): <font color="magenta">p</font> <font color="#990000">(display partition table)</font><br>
187    <br>
188    disk /dev/sdc: 1048 mb, 1048576000 bytes<br>
189    64 heads, 32 sectors/track, 1000 cylinders<br>
190    units = cylinders of 2048 * 512 = 1048576 bytes<br>
191    sector size (logical/physical): 512 bytes / 512 bytes<br>
192    i/o size (minimum/optimal): 512 bytes / 512 bytes<br>
193    disk identifier: 0x77a5188f<br>
194    <br>
195    &nbsp;&nbsp;&nbsp;device&nbsp;boot&nbsp;&nbsp;start&nbsp;&nbsp;&nbsp;end&nbsp;&nbsp;blocks&nbsp;&nbsp;&nbsp;id&nbsp;&nbsp;system<br>
196    /dev/sdc1&nbsp;&nbsp;&nbsp;*&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;1&nbsp;&nbsp;&nbsp;384&nbsp;&nbsp;393216&nbsp;&nbsp;&nbsp;17&nbsp;&nbsp;hidden&nbsp;hpfs/ntfs<br>
197    /dev/sdc4&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;385&nbsp;&nbsp;1000&nbsp;&nbsp;630784&nbsp;&nbsp;&nbsp;&nbsp;b&nbsp;&nbsp;w95&nbsp;fat32<br>
198    <br>
199    command (m for help): <font color="magenta">w</font> <font color="#990000">(write partition table to disk and exit)</font><br>
200    The partition table has been altered!<br>
201    <br>
202    Calling ioctl() to re-read partition table.<br>
203    <br>
204    WARNING: Re-reading the partition table failed with error 16: Device or resource busy.<br>
205    The kernel still uses the old table. The new table will be used at<br>
206    the next reboot or after you run partprobe(8) or kpartx(8)<br>
207    Syncing disks.
208    </p>
209    <!--emty-line-->
210    <p>
211    At this point you should disconnect and reconnect your usb device. When it's recognised, you can format the partition you've just created
212     </p>
213    <!--emty-line-->
214    <p class="newcode">
215    mkdosfs -F 32 /dev/<font color="Green">sdc4</font>
216    </p>
217    <!--emty-line-->
218    <p>
219    The partition is now ready for use!!!
220    </p>
221  <!--emty-line-->  <!--emty-line-->
222  <H2><a name="usb-hard"></a>Installing the "hard" way <span class="hideprint">[<a href="#usb-top" title="go to top of the page">^</a>]</span></H2>  <H2><a name="usb-hard"></a>Installing the "hard" way <span class="hideprint">[<a href="#usb-top" title="go to top of the page">^</a>]</span></H2>
223  <!--emty-line-->  <!--emty-line-->
# Line 243  If you are on linux, check that the part Line 334  If you are on linux, check that the part
334  <p class="newcode" style="margin-left: 0;">fdisk -l /dev/<font color="Green">sdc</font></p>  <p class="newcode" style="margin-left: 0;">fdisk -l /dev/<font color="Green">sdc</font></p>
335  <p style="margin-left: 0;">You should get something similar to this:</p>  <p style="margin-left: 0;">You should get something similar to this:</p>
336  <!--emty-line-->  <!--emty-line-->
337  <table class="newcode" style="margin-left: 0pt;" border="0" width="100%">  
338  <tr><td colspan="7">Disk /dev/<font color="Green">sdc</font>: 1031 MB, 1031798272 bytes</td></tr>  <p class="newcode">
339  <tr><td colspan="7">64 heads, 32 sectors/track, 983 cylinders</td></tr>  Disk /dev/<font color="Green">sdc</font>: 1031 MB, 1031798272 bytes<br>
340  <tr><td colspan="7">Units = cylinders of 2048 * 512 = 1048576 bytes</td></tr>  64 heads, 32 sectors/track, 983 cylinders<br>
341  <tr><td>&nbsp;</td></tr>  Units = cylinders of 2048 * 512 = 1048576 bytes<br>
342  <tr>  <br>
343  <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>  &nbsp;&nbsp;&nbsp;Device&nbsp;&nbsp;<font color="Red">Boot</font>&nbsp;&nbsp;Start&nbsp;&nbsp;End&nbsp;&nbsp;&nbsp;Blocks&nbsp;&nbsp;Id&nbsp;&nbsp;System<br>
344  <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>  /dev/<font color="Green">sdc4</font>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<font color="Red">*</font>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;1&nbsp;&nbsp;983&nbsp;&nbsp;1006576&nbsp;&nbsp;&nbsp;6&nbsp;&nbsp;FAT16<br>
345  </tr>  </p>
 </table>  
346  <!--emty-line-->  <!--emty-line-->
347  <p style="margin-left: 0;"><br>If the partition is not active (no astrisk), execute:</p>  <p style="margin-left: 0;"><br>If the partition is not active (no astrisk), execute:</p>
348  <p class="newcode" style="margin-left: 0;">fdisk /dev/<font color="Green">sdc</font></p>  <p class="newcode" style="margin-left: 0;">fdisk /dev/<font color="Green">sdc</font></p>
# Line 278  send as much info about your machine as Line 368  send as much info about your machine as
368  In this case you will have to format your USB disk.<br><br>  In this case you will have to format your USB disk.<br><br>
369  <!--emty-line-->  <!--emty-line-->
370  If you are using linux to perform the installation, execute the command:</p>  If you are using linux to perform the installation, execute the command:</p>
371    <!--emty-line-->
372  <p class="newcode" style="margin-left: 0;">mkdosfs -F 16 /dev/<font color="Green">sdc4</font></p>  <p class="newcode" style="margin-left: 0;">mkdosfs -F 16 /dev/<font color="Green">sdc4</font></p>
373    <!--emty-line-->
374  <p style="margin-left: 0;">to create a FAT16 file system, or</p>  <p style="margin-left: 0;">to create a FAT16 file system, or</p>
375    <!--emty-line-->
376  <p class="newcode" style="margin-left: 0;">mkdosfs -F 32 /dev/<font color="Green">sdc4</font></p>  <p class="newcode" style="margin-left: 0;">mkdosfs -F 32 /dev/<font color="Green">sdc4</font></p>
377    <!--emty-line-->
378  <p style="margin-left: 0;">to create a FAT32 file system.<br><br>  <p style="margin-left: 0;">to create a FAT32 file system.<br><br>
379  <!--emty-line-->  <!--emty-line-->
380  When you are done go back to section "<a href="#linux">Installation from Linux</a>".<br><br>  When you are done go back to section "<a href="#linux">Installation from Linux</a>".<br><br>

Legend:
Removed from v.75  
changed lines
  Added in v.95

webmaster@linux.gr
ViewVC Help
Powered by ViewVC 1.1.26