About
ASecurePC Contact
ASecurePC

Using Clonezilla
I am testing out
Clonezilla 1.2.0-25. It is currently not working.
I will have to update my page when I figure out how to get it working.
I have downgraded to Clonezilla 1.1.0-8. It seems that the
1.2.0-25
is a buggy stable version. I will post the results that I find.
To download the older versions, click on the Clonezilla live to the
left of the version number. You will get a list of all downloaded
versions including the one I use below.
Clonezilla 1.1.0-8 works. I will show you how I got it
working. To
check on/off an option, you must press the space bar. The kernel
is
older in this version, so it may not work on all the newest
hardware.
If you must use the newer versions, see the notes about the kernel
above.
Copy Linux partition to another partition
- Choose Clonezilla Live (Default)
- English (That is the only language I know)
- Don’t touch keymap
- Start Clonezilla
- Choose second option - Device/device disk/partition
- partition to local partition
- hda2 (my Linux installation) as the source
- hda3 (my partition to copy to) as the destination. The
destination
partition must be the same size or larger than the source
partition.
If it is not it will crash.
- I used the default which is one and two is on.
- Partition table is at default -k
- Existing data lost hda3? Yes
- Continue? Yes
- Wait and done
Restore Linux partion with another Linux partition
- Choose Clonezilla Live (Default)
- English (That is the only language I know)
- Don’t touch keymap
- Start Clonezilla
- Choose second option - Device/device disk/partition
- partition to local partition
- source hda3 - This is where the clone is stored.
- target hda2 - This is where the clone will be copied to
- Use default options
- Use default options
- Rest should be self explanatory
- Wait and done.
Copy from Linux partition to image
- Choose Clonezilla Live (Default)
- English (That is the only language I know)
- Don’t touch keymap
- Start Clonezilla
- Choose option one to image
- Choose local_dev (option one) to copy to hard drive
- hda8 - The drive to copy image to. This does not have to be
the
same size or larger. It has to be big enough to hold the image.
- save parts option
- -q option
- -c option - this is the default option that should be checked
- -z1 (first option) You can choose your compression method.
I chose the default one
- Name the image file. I used the default name for the image
file.
- hda2 (linux) press spacebar to choose the partition to backup.
- Wait and done
Restore partition with image
- Choose Clonezilla Live (Default)
- English (That is the only language I know)
- Don’t touch keymap
- Start Clonezilla
- device-image - This is the first option. You want to
restore from an image.
- local_dev - Where you want to restore from. I stored it on
my hard drive.
- hda8 - The location of the image file. I stored the image
on hda8.
- restoreparts - I want to restore the partition from an image.
- -g, -c, -r - These are the default options checked. I kept
them checked.
- -k - This option is checked by default. I kept it on.
- image file to restore - chose the file that you want to use to do
the restore.
- partition to restore hda2 - I chose hda2 because that is the
partition that I want to restore my linux partition to.
If after all this you find out your GRUB is broken, you will have to
do the following steps. Apparently, Clonezilla 1.2.0-25 destroyed my
GRUB, and I could not fix it the normal way. I had to use the
following method. See Ubuntu error message grub-install (hd0)
failed
below. If you want to try using the normal method, you can use
the
tutorial here.
If “find /boot/grub/menu.lst” gives you an error, the file
cannot be found and the problem maybe solved below.
Restore partition from CD/DVD rom taken from a post in Clonezilla
Forum
Some extra steps you have to do.
Assume you only have one CD drive:
1. Boot clonezilla live, and choose the option Clonezilla Live (To
RAM,...)
2. When the booting finishes, it shows you to use clonezilla or enter
command shell, you can eject the clonezilla live cd.
3. Insert the image CD you have into CD drive
4. Now choose enter command shell
5. use "sudo su -" to become root, then mount the image dir as
/home/partimag, for example,
mount /dev/hdc /home/partimag
This is assuming that your CD is in /dev/hdc (Secondary IDE, master),
and the
image dir is in the root of that CD. For example, image
2007-06-07-10-img dir is in the root dir of that CD.
6. run "/opt/drbl/sbin/ocs" to start
7. This time choose to skip mounting clonezilla home.
I think that's all. This is just a draft and I did not test it. But it
covers all the idea how to do that.
I have found out how to restore from DVD, with just a different
command.
where you have the step number 6, I used the command:
ocs-sr -x
I also unchecked the '-g auto client will reinstall grub in its HD
MBR.'
If your GRUB is no longer functioning, or you want to modify the
kernel, please read the following sections.
Linux
Kernel notes
ubuntu_error_message_grub-install_hd0_failed