--- trunk/www/2doc/README.txt 2010/06/15 15:00:34 76 +++ trunk/www/2doc/README.txt 2010/06/17 22:25:06 77 @@ -32,10 +32,94 @@ the commands: umount /dev/sdc4 -dd if=~/clonezilla-sysresccd-full-mod-"myVersion".iso of=/dev/sdc4 bs=512 +dd if=~/clonezilla-sysresccd-full-mod-"myVersion".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: + +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 **************************************** If the "easy" way does not work there is an alternative; you will use @@ -193,8 +277,8 @@ 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 + 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 @@ -222,9 +306,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". @@ -2074,7 +2162,7 @@ disk/partition, even if the filesystem is corrupted. [[ info.png ]] -The following pressentation has been made usingClonezilla Live v 1.2.3-27 +The following pressentation has been made usingClonezilla Live v 1.2.5-17 Restoring data **************************************** @@ -2151,13 +2239,13 @@ --------------------- This is where I choose the location of the image file. [[ restoration-06.png ]] -I select partition hda1 and press ENTER. +I select partition sda1 and press ENTER. [[ backup-07.png ]] [[ restoration-08.png ]] This screen displays the mounting result. -As we can see, /dev/hda1 has been successfully mounted under /tmp/local-dev. +As we can see, /dev/sda1 has been successfully mounted under /tmp/local-dev. Next Screen --------------------- @@ -2205,8 +2293,14 @@ After that, the restore process begins [[ restoration-16.png ]] -and when it's successfully completed, I will be able to reboot the system -by pressing 1 and ENTER. +and when it's successfully completed, I press ENTER to get to the +shell. Then, I execute the commands: +sudo su - +cd +umount -a +reboot + +to reboot the system.