Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

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

4 Answers 4

up vote 1 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
1  
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: afp548.com/netboot/mactips/image.html –  churnd Nov 13 '10 at 15:49

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

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

Your Answer

 
discard

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.