--- trunk/www/onepage.html 2010/06/01 13:23:50 75 +++ trunk/www/onepage.html 2010/06/17 22:25:06 77 @@ -73,7 +73,7 @@
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
And that's it. Your usb device is ready to boot!!!
++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!!! +
If the "easy" way does not work there is an alternative; you will use the Clonezilla-SysRescCD ISO file (or CD) to copy and modify a couple of files on the USB disk, and finally make it bootable, using syslinux and its configuration file syslinux.cfg.
@@ -433,16 +517,14 @@
If you are on linux, check that the partition on the USB disk is active (bootable), executing:
fdisk -l /dev/sdc You should get something similar to this: -
+Disk /dev/sdc: 1031 MB, 1031798272 bytes
fdisk /dev/sdc and issue "Command: " a (toggle a bootable flag) and "Partition number:" 4 (for /dev/sdc4). to reboot the system. - - - - -Restoring data [^]- -Image files are always created for one purpose: restoring the data they contain. Images can be, for example, a backup solution: as long as hardware works, the computer can be restored to the state it was when creating the image. Another usage scenario is changing the hard drive: files can be copy-pasted from the old drive to the new, but that method doesn't make the new drive bootable. Disk images do. - -This page contains a demonstration of the latter case. On the Getting backups page, a 500 MB virtual disk containing 160 megabytes of data was copied to a 2 GB virtual disk which was empty. Now the 500 MB disk is changed to an empty 2 GB disk (still virtual) and I'll restore the data to that disk. - -When creating a disk image, one needs to check that both the source and target partitions are error free. That's not required when the image is restored, because restoration process can't damage the disk image. Note, however, that restoring an image erases all the data in the target disk/partition. - -You also need to check the BIOS settings to be able to boot from Clonezilla-SysRescCD. Some BIOSes contain a boot menu, others require editing settings pernamently. Details can be found on the manual of the motherboard or laptop. - -Now let's boot. - -
Restoring data [^]- -Clonezilla-SysRescCD starting screen [^]- -If you're fine with US keymap and English language (available languages are English, Spanish, French, Italian, Japanese and Chinese [both simplified and traditional]) or don't mind editing the boot parameters, just select Clonezilla Live at the starting screen and press ENTER. When the system comes up, it will load the program that will preform the backup. After that continue from this step. - -If you need to change these settings, select one of the available Clonezilla Live menu entries, and press TAB. The current boot parameters will be displayed. - -The default parameters for booting Clonezilla Live on a 1024x768 screen, are the following: - -append initrd=/live/initrd1.img boot=live union=aufs By deleting the words in red, you instruct Clonezilla Live to ask you the values of these parameters. When the appropriate changes have been done (as shown bellow), just press ENTER to boot. - -append initrd=/live/initrd1.img boot=live union=aufs Screen "Choose Language" [^]- + +Restoring data [^]+Image files are always created for one purpose: restoring the data they contain. Images can be, for example, a backup solution: as long as hardware works, the computer can be restored to the state it was when creating the image. Another usage scenario is changing the hard drive: files can be copy-pasted from the old drive to the new, but that method doesn't make the new drive bootable. Disk images do. +This page contains a demonstration of the latter case. On the Getting backups page, a 500 MB virtual disk containing 160 megabytes of data was copied to a 2 GB virtual disk which was empty. Now the 500 MB disk is changed to an empty 2 GB disk (still virtual) and I'll restore the data to that disk. +When creating a disk image, one needs to check that both the source and target partitions are error free. That's not required when the image is restored, because restoration process can't damage the disk image. Note, however, that restoring an image erases all the data in the target disk/partition. +You also need to check the BIOS settings to be able to boot from Clonezilla-SysRescCD. Some BIOSes contain a boot menu, others require editing settings pernamently. Details can be found on the manual of the motherboard or laptop. +Now let's boot. +
Restoring data [^]+Clonezilla-SysRescCD starting screen [^]+If you're fine with US keymap and English language (available languages are English, Spanish, French, Italian, Japanese and Chinese [both simplified and traditional]) or don't mind editing the boot parameters, just select Clonezilla Live at the starting screen and press ENTER. When the system comes up, it will load the program that will preform the backup. After that continue from this step. +If you need to change these settings, select one of the available Clonezilla Live menu entries, and press TAB. The current boot parameters will be displayed. +The default parameters for booting Clonezilla Live on a 1024x768 screen, are the following: +append initrd=/live/initrd1.img boot=live union=aufs By deleting the words in red, you instruct Clonezilla Live to ask you the values of these parameters. When the appropriate changes have been done (as shown bellow), just press ENTER to boot. +append initrd=/live/initrd1.img boot=live union=aufs Screen "Choose Language" [^]
Screen "Configuring console-data" [^]- +I select "en_US.UTF-8 English" and press ENTER. +Screen "Configuring console-data" [^]
Screen "Configuring console-data" [^]- +I select "Select keymap from full list" and press ENTER. If you're using US keymap, the default option "Don't touch keymap" is a better choice. +Screen "Configuring console-data" [^]
Screen "Start Clonezilla" [^]- +Because I haven't changed my keyboard, I select "pc / qwerty / Finnish / Standard / Standard". Because you most likely use a different keyboard, choose the one you use. +Screen "Start Clonezilla" [^]
Screen "Clonezilla" [^]- +I select "Start Clonezilla" and press ENTER. + +Screen "Clonezilla" [^]
Screen "Mount clonezilla image directory" [^]- -In this screen I can select the way the image file directory has been saved.
-Available options are local directory, remote directory through ssh, samba or nfs and skip, to use the previously used directory. More info about the image file can be found at section "About the Image file". Screen "Mount clonezilla image directory" [^]+In this screen I can select the way the image file directory has been saved.
+Available options are local directory, remote directory through ssh, samba or nfs and skip, to use the previously used directory. More info about the image file can be found at section "About the Image file". Next screen [^]- -This is where I choose the location of the image file. Next screen [^]+This is where I choose the location of the image file. + + and then ENTER again.
Next Screen [^]- +This screen displays the mounting result.+As we can see, /dev/sda1 has been successfully mounted under /tmp/local-dev. + Next Screen [^]
Screen "Select mode" [^]- -Here I can select the desired operation. Screen "Select mode" [^]+Here I can select the desired operation. Next Screen [^]- +I select "restoredisk" and press ENTER.+ Next Screen [^]
Next Screen [^]- +In this screen I select the image folder. This partition contains only one image. +Next Screen [^]
Starting the restoration [^]- +Finally I am asked to select which partition the image will be restored to. After double-checking the disk doesn't contain anything important, I press ENTER. +Starting the restoration [^]
- +
+ -After that, the restore process begins - - - -and when it's successfully completed, I will be able to reboot the system by pressing 1 and ENTER. - - - +After that, the restore process begins + + + +and when it's successfully completed, I press ENTER to get to the shell. Then, I execute the commands: + sudo su - to reboot the system. Creating a Restore DVD - Part 1 [^] |