32 |
the commands: |
the commands: |
33 |
|
|
34 |
umount /dev/sdc4 |
umount /dev/sdc4 |
35 |
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 |
36 |
|
|
37 |
And that's it. Your usb device is ready to boot!!! |
And that's it. Your usb device is ready to boot!!! |
38 |
|
|
39 |
|
Using the extra space |
40 |
|
--------------------- |
41 |
|
If your usb device is more than 400MB in size, the above command will |
42 |
|
leave the remaining space unused. To verify it, execute the command: |
43 |
|
|
44 |
|
fdisk -l /dev/sdc |
45 |
|
|
46 |
|
You should get something similar to this: |
47 |
|
|
48 |
|
Disk /dev/sdc: 1048 MB, 1048576000 bytes |
49 |
|
64 heads, 32 sectors/track, 1000 cylinders, total 2048000 sectors |
50 |
|
Units = sectors of 1 * 512 = 512 bytes |
51 |
|
Sector size (logical/physical): 512 bytes / 512 bytes |
52 |
|
I/O size (minimum/optimal): 512 bytes / 512 bytes |
53 |
|
Disk identifier: 0x77a5188f |
54 |
|
|
55 |
|
Device Boot Start End Blocks Id System |
56 |
|
/dev/sdc1 * 1 384 393216 17 Hidden HPFS/NTFS |
57 |
|
|
58 |
|
As you can see, we are currently using 348 out of 1000 cylinders of the |
59 |
|
disk. The remaining disk space (~600MB) can still be used, executing the |
60 |
|
following commands: |
61 |
|
|
62 |
|
fdisk /dev/sdc |
63 |
|
command (m for help): n (create new partition) |
64 |
|
command action |
65 |
|
e extended |
66 |
|
p primary partition (1-4) |
67 |
|
p |
68 |
|
partition number (1-4): 4 (create partition sdc4) |
69 |
|
first cylinder (385-1000, default 385): |
70 |
|
using default value 385 |
71 |
|
last cylinder, +cylinders or +size{k,m,g} (385-1000, default 1000): |
72 |
|
using default value 1000 |
73 |
|
|
74 |
|
command (m for help): p (display partition table) |
75 |
|
|
76 |
|
disk /dev/sdc: 1048 mb, 1048576000 bytes |
77 |
|
64 heads, 32 sectors/track, 1000 cylinders |
78 |
|
units = cylinders of 2048 * 512 = 1048576 bytes |
79 |
|
sector size (logical/physical): 512 bytes / 512 bytes |
80 |
|
i/o size (minimum/optimal): 512 bytes / 512 bytes |
81 |
|
disk identifier: 0x77a5188f |
82 |
|
|
83 |
|
device boot start end blocks id system |
84 |
|
/dev/sdc1 * 1 384 393216 17 hidden hpfs/ntfs |
85 |
|
/dev/sdc4 385 1000 630784 83 linux |
86 |
|
|
87 |
|
command (m for help): t (change partition type) |
88 |
|
partition number (1-4): 4 |
89 |
|
hex code (type l to list codes): b |
90 |
|
changed system type of partition 4 to b (w95 fat32) |
91 |
|
|
92 |
|
command (m for help): p (display partition table) |
93 |
|
|
94 |
|
disk /dev/sdc: 1048 mb, 1048576000 bytes |
95 |
|
64 heads, 32 sectors/track, 1000 cylinders |
96 |
|
units = cylinders of 2048 * 512 = 1048576 bytes |
97 |
|
sector size (logical/physical): 512 bytes / 512 bytes |
98 |
|
i/o size (minimum/optimal): 512 bytes / 512 bytes |
99 |
|
disk identifier: 0x77a5188f |
100 |
|
|
101 |
|
device boot start end blocks id system |
102 |
|
/dev/sdc1 * 1 384 393216 17 hidden hpfs/ntfs |
103 |
|
/dev/sdc4 385 1000 630784 b w95 fat32 |
104 |
|
|
105 |
|
command (m for help): w (write partition table to disk and exit) |
106 |
|
The partition table has been altered! |
107 |
|
|
108 |
|
Calling ioctl() to re-read partition table. |
109 |
|
|
110 |
|
WARNING: Re-reading the partition table failed with error 16: Device or |
111 |
|
resource busy. |
112 |
|
The kernel still uses the old table. The new table will be used at |
113 |
|
the next reboot or after you run partprobe(8) or kpartx(8) |
114 |
|
Syncing disks. |
115 |
|
|
116 |
|
At this point you should disconnect and reconnect your usb device. When |
117 |
|
it's recognised, you can format the partition you've just created |
118 |
|
|
119 |
|
mkdosfs -F 32 /dev/sdc4 |
120 |
|
|
121 |
|
The partition is now ready for use!!! |
122 |
|
|
123 |
Installing the "hard" way |
Installing the "hard" way |
124 |
**************************************** |
**************************************** |
125 |
If the "easy" way does not work there is an alternative; you will use |
If the "easy" way does not work there is an alternative; you will use |
277 |
64 heads, 32 sectors/track, 983 cylinders |
64 heads, 32 sectors/track, 983 cylinders |
278 |
Units = cylinders of 2048 * 512 = 1048576 bytes |
Units = cylinders of 2048 * 512 = 1048576 bytes |
279 |
|
|
280 |
Device Boot Start End Blocks Id System |
Device Boot Start End Blocks Id System |
281 |
/dev/sdc4 * 1 983 1006576 6 FAT16 |
/dev/sdc4 * 1 983 1006576 6 FAT16 |
282 |
|
|
283 |
If the partition is not active (no astrisk), execute: |
If the partition is not active (no astrisk), execute: |
284 |
fdisk /dev/sdc |
fdisk /dev/sdc |
306 |
In this case you will have to format your USB disk. |
In this case you will have to format your USB disk. |
307 |
|
|
308 |
If you are using linux to perform the installation, execute the command: |
If you are using linux to perform the installation, execute the command: |
309 |
|
|
310 |
mkdosfs -F 16 /dev/sdc4 |
mkdosfs -F 16 /dev/sdc4 |
311 |
|
|
312 |
to create a FAT16 file system, or |
to create a FAT16 file system, or |
313 |
|
|
314 |
mkdosfs -F 32 /dev/sdc4 |
mkdosfs -F 32 /dev/sdc4 |
315 |
|
|
316 |
to create a FAT32 file system. |
to create a FAT32 file system. |
317 |
|
|
318 |
When you are done go back to section "Installation from Linux". |
When you are done go back to section "Installation from Linux". |
2162 |
disk/partition, even if the filesystem is corrupted. |
disk/partition, even if the filesystem is corrupted. |
2163 |
|
|
2164 |
[[ info.png ]] |
[[ info.png ]] |
2165 |
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 |
2166 |
|
|
2167 |
Restoring data |
Restoring data |
2168 |
**************************************** |
**************************************** |
2239 |
--------------------- |
--------------------- |
2240 |
This is where I choose the location of the image file. |
This is where I choose the location of the image file. |
2241 |
[[ restoration-06.png ]] |
[[ restoration-06.png ]] |
2242 |
I select partition hda1 and press ENTER. |
I select partition sda1 and press ENTER. |
2243 |
|
|
2244 |
[[ backup-07.png ]] |
[[ backup-07.png ]] |
2245 |
|
|
2246 |
[[ restoration-08.png ]] |
[[ restoration-08.png ]] |
2247 |
This screen displays the mounting result. |
This screen displays the mounting result. |
2248 |
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. |
2249 |
|
|
2250 |
Next Screen |
Next Screen |
2251 |
--------------------- |
--------------------- |
2293 |
After that, the restore process begins |
After that, the restore process begins |
2294 |
|
|
2295 |
[[ restoration-16.png ]] |
[[ restoration-16.png ]] |
2296 |
and when it's successfully completed, I will be able to reboot the system |
and when it's successfully completed, I press ENTER to get to the |
2297 |
by pressing 1 and ENTER. |
shell. Then, I execute the commands: |
2298 |
|
sudo su - |
2299 |
|
cd |
2300 |
|
umount -a |
2301 |
|
reboot |
2302 |
|
|
2303 |
|
to reboot the system. |
2304 |
|
|
2305 |
|
|
2306 |
|
|