--- trunk/www/usb.html 2010/03/21 20:37:49 33 +++ trunk/www/usb.html 2010/07/16 15:38:22 85 @@ -74,12 +74,12 @@
@@ -96,7 +96,7 @@
-
< PREV UP NEXT >
+
< PREV UP NEXT >
@@ -121,12 +121,103 @@

So, from any linux box, assuming Clonezilla-SysRescCD iso file is in your home directory, and your USB device name is sdc4, you just execute the commands:

umount /dev/sdc4
-dd if=~/clonezilla-sysresccd-full-mod-3.1.0.iso of=/dev/sdc4 bs=512

+dd if=~/clonezilla-sysresccd-full-mod-3.1.0.iso of=/dev/sdc bs=512

And that's it. Your usb device is ready to boot!!!

+

Using the extra space [^]

+

+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: +

+

fdisk -l /dev/sdc

+ +

You should get something similar to this:

+ + +

+Disk /dev/sdc: 1048 MB, 1048576000 bytes
+64 heads, 32 sectors/track, 1000 cylinders, total 2048000 sectors
+Units = sectors of 1 * 512 = 512 bytes
+Sector size (logical/physical): 512 bytes / 512 bytes
+I/O size (minimum/optimal): 512 bytes / 512 bytes
+Disk identifier: 0x77a5188f
+
+   Device Boot  Start  End  Blocks  Id  System +/dev/sdc1    *      1  384  393216  17  Hidden HPFS/NTFS +

+

+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 (user input is displayed in magenta, comments are in brown): +

+ +

+fdisk /dev/sdc
+command (m for help): n (create new partition)
+command action
+ e extended
+ p primary partition (1-4)
+p
+partition number (1-4): 4 (create partition sdc4)
+first cylinder (385-1000, default 385):
+using default value 385
+last cylinder, +cylinders or +size{k,m,g} (385-1000, default 1000):
+using default value 1000
+
+command (m for help): p (display partition table)
+
+disk /dev/sdc: 1048 mb, 1048576000 bytes
+64 heads, 32 sectors/track, 1000 cylinders
+units = cylinders of 2048 * 512 = 1048576 bytes
+sector size (logical/physical): 512 bytes / 512 bytes
+i/o size (minimum/optimal): 512 bytes / 512 bytes
+disk identifier: 0x77a5188f
+
+   device boot  start   end  blocks   id  system
+/dev/sdc1   *       1   384  393216   17  hidden hpfs/ntfs
+/dev/sdc4         385  1000  630784   83  linux
+
+
+command (m for help): t (change partition type)
+partition number (1-4): 4
+hex code (type l to list codes): b
+changed system type of partition 4 to b (w95 fat32)
+
+command (m for help): p (display partition table)
+
+disk /dev/sdc: 1048 mb, 1048576000 bytes
+64 heads, 32 sectors/track, 1000 cylinders
+units = cylinders of 2048 * 512 = 1048576 bytes
+sector size (logical/physical): 512 bytes / 512 bytes
+i/o size (minimum/optimal): 512 bytes / 512 bytes
+disk identifier: 0x77a5188f
+
+   device boot  start   end  blocks   id  system
+/dev/sdc1   *       1   384  393216   17  hidden hpfs/ntfs
+/dev/sdc4         385  1000  630784    b  w95 fat32
+
+command (m for help): w (write partition table to disk and exit)
+The partition table has been altered!
+
+Calling ioctl() to re-read partition table.
+
+WARNING: Re-reading the partition table failed with error 16: Device or resource busy.
+The kernel still uses the old table. The new table will be used at
+the next reboot or after you run partprobe(8) or kpartx(8)
+Syncing disks. +

+ +

+At this point you should disconnect and reconnect your usb device. When it's recognised, you can format the partition you've just created +

+ +

+mkdosfs -F 32 /dev/sdc4 +

+ +

+The partition is now ready for use!!! +

Installing the "hard" way [^]

@@ -243,16 +334,15 @@

fdisk -l /dev/sdc

You should get something similar to this:

- - - - - - - - - -
Disk /dev/sdc: 1031 MB, 1031798272 bytes
64 heads, 32 sectors/track, 983 cylinders
Units = cylinders of 2048 * 512 = 1048576 bytes
 
Device     Boot     Start     End     Blocks     Id     System     
/dev/sdc4     *     1     983     1006576     6     FAT16     
+ +

+Disk /dev/sdc: 1031 MB, 1031798272 bytes
+64 heads, 32 sectors/track, 983 cylinders
+Units = cylinders of 2048 * 512 = 1048576 bytes
+
+   Device  Boot  Start  End   Blocks  Id  System
+/dev/sdc4     *      1  983  1006576   6  FAT16
+


If the partition is not active (no astrisk), execute:

fdisk /dev/sdc

@@ -278,9 +368,13 @@ In this case you will have to format your USB disk.

If you are using linux to perform the installation, execute the command:

+

mkdosfs -F 16 /dev/sdc4

+

to create a FAT16 file system, or

+

mkdosfs -F 32 /dev/sdc4

+

to create a FAT32 file system.

When you are done go back to section "Installation from Linux".

@@ -358,7 +452,7 @@