Copyright: © 2007-2009, Spiros Georgaras <sng@hellug.gr> | Single page |
Last update: 23/12/2009 | Printable version |
![]() | |
Previous | Contents | Next |
In this page I will demonstrate the creation of an image file by getting a backup of a virtual partition (/dev/hdb1). The image file will be saved in another virtual partition (/dev/hda1).
The first thing you do when you want to get a backup of a disk/partition, is make sure both the souce (to be backed up) and target (to hold the image file) partitions are in excellent condition (error free). This is the logical thing to do, cause I wouldn't want to backup a corrupt partition, or end up with a corrupt image file.
There is one more step I would want to take: I should check that my BIOS boot settings are correct, in order to boot from my CD/DVD drive.
Having done all of the above, I am ready to boot from Clonezilla-SysRescCD.
![]() |
The following pressentation has been made using Clonezilla Live v 1.2.2-31 |
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
ocs_live_run="ocs-live-general" ocs_live_extra_param=""
ocs_prerun="/live/image/restorecd/prerun.normal" ocs_live_batch="no"
ocs_lang="en_US.UTF-8" ocs_live_keymap="NONE" vga=791 nolocales
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
ocs_live_run="ocs-live-general" ocs_live_extra_param=""
ocs_prerun="/live/image/restorecd/prerun.normal" ocs_live_batch="no"
ocs_lang="" ocs_live_keymap="" vga=791 nolocales
I select "en_US.UTF-8 English" and press ENTER.
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.
As I (the contributor who wrote a great deal of this page) use Finnish keyboard, I select "pc / qwerty / Finnish / Standard / Standard". Because you most likely use a different keyboard, choose the one you use.
I select "Start Clonezilla" and press ENTER.
I select "device-image" and press ENTER.
In this screen I can select the way the image file directory will be 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".
I select "local_dev" and press ENTER.
This is where I choose the location of the image file. It will be saved at the root directory of the selected partition.
I select partition hda1 and press ENTER.
and then ENTER again.
This screen displays the mounting result.
As we can see, /dev/hda1 has been successfully mounted under /tmp/local-dev.
I select Beginer mode to accept the default backup options. If you select Expert mode, you can choose the options yourself. More details can be found here.
Here I can select the desired operation.
I select "savedisk" and press ENTER.
In this screen I select the image name.
I type "Backup_52-2009_hdb", which in my opinion is more informative name than the default.
Finally I am asked to select the partition to save.
I just press ENTER again.
Then the program will display the command that will be executed and will ask me to press ENTER.
Then I will be asked to confirm the operation by pressing y and ENTER.
After that, the backup begins
and when it's successfully completed, I will be able to reboot the system by pressing 1 and ENTER.
Previous | Contents | Next |