Super User is a question and answer site for computer enthusiasts and power users. 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'm running Ubuntu and I'd like to create an image of my OS. Is this possible?

I used CCC on my mac, it was great it even copies everything in a logical order so it technically defrags for you.

share|improve this question
up vote 2 down vote accepted

CCC is just a fancy front-end gui for rsync. I'm not sure if there is an equivalent for linux, but if you don't mind the command line, you can do what you want there:

rsync -a -x / /media/backupdisk/

Replace /media/backupdisk/ with whatever mount point your backup disk is attached to.

If you want the backup disk to be an exact copy, add the --delete flag:

rsync -a -x --delete / /media/backupdisk/
share|improve this answer
thanks I didn't know he used rsync as the engine for CCC! – GiH Nov 20 '09 at 0:25
Might want to add --exclude="/media/" to that, so you don't try and backup a folder to itself.. – Dentrasi Nov 13 '10 at 14:15
CCC does not only use rsync, it will also use asr or other methods depending on the volume being cloned: – churnd Nov 13 '10 at 15:49

Use Clonezilla and make a 100% bootable copy of your drive! It works and can even handle OSX HFS+ volumes, ext4, NTFS etc. Also, it will handle Grub wery well even if the PC is dual boot (e.g. Windows and Linux).

share|improve this answer

It's true that CCC is just rsync on the inside, but there is a lot more going on inside. I tried using rsync and it's not easy to make a fully functional and bootable copy every time.

share|improve this answer

If you want to make an image (byte for byte) you can always use dd.

dd (Unix) - Wikipedia

share|improve this answer

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .