Server Fault is a question and answer site for system and network administrators. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I wan to use Clonezilla to Copy an Entire Disk to another Server. As the Source Disk resides on a Server, I do not have Access to the server to use a Live-CD. I will therefore have to use the command line from a "rescue System" that lets me mount the Disk I want to clone.

But I have not found any information how to use clonezilla from the Command line. I would be very thankfull for advice how to

1.) Install Clonezialla not(!) to a live CD but rather as a linux system => On Debian 6.0 I do not find anything using: aptitude search clonezilla

2.) What parameters to use to clone for example /dev/sda

Thank you very much!! Markus

share|improve this question
up vote 2 down vote accepted

Install clonezilla, then run /opt/drbl/sbin/clonezilla (Debian might put this somewhere different, if it's not there, look around a bit for it) . There's a curses-based GUI that will take you through the process. You don't have to screw around with command line arguments at all.

As far as installing it, it should come with DRBL, which you can find at

share|improve this answer

You will need partclone to be installed in the "rescue System".

You can also use a dd+gzip to make the image and then restore it. You can also transfer over the network with netcat.


nc -l 12345|gzip -d > /dev/sda1


dd if=/dev/sda1 bs=1024000|gzip |nc 12345

Where is the destination IP. And 12345 is the port in the range 1-65535.

edit: Notice that this approach requires that CHS is the same on both disks. Cylinders, Heads and Sectors. Otherwise you can have boot problems. At least with windows. PS. I coulnd't find the comment button - therefore the edit.

share|improve this answer
Thanks Mircea! I upvoted. However that what you described was already that, what I had done. However I have the hope, clonezilla does ist more efficiently. Regarding your example, to improve it you should before using gzip "zero" the empty space for higher compression efficiency. However the described approach took a lot of time and I hoped clonezille had some further tweaks to cut this down. Thanks for your answer. – Markus Oct 9 '11 at 18:09

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.