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 have 2 o.s. (debian and windows 7) and I use both. They are stored on SSDs, so rather small in size (125GB/80GB), can I clone both of them on a single hdd (like in two different partitions) so that if one of my ssd is faulty, I just buy a new one, restore the o.s. from one of the 2 hdd partitions, plug the new ssd and keep working?

If yes, which software should I use? Possibly an open source/free one.

share|improve this question

1 Answer 1

up vote 2 down vote accepted

If you simply want to back up the partitions, you can use Clonezilla or even dd from a Linux LiveCD/USB to create images of the same.

share|improve this answer
    
Seems resonable, I would like to know if I can simply restore them from that HDD to a new one (if something fails), or will I need to do something to partitions to enable booting and let o.s. working. –  Fire-Dragon-DoL Jun 20 '13 at 2:32
    
You can try backing up the MBR to a file like so: dd if=/dev/hda of=/home/hda.boot.mbr bs=512 count=1, and restore using: dd if=/mnt/hda1/home/hda.boot.mbr of=/dev/hda bs=512 count=1 (adjust source/destination as per requirements obviously). However it might be better (and simpler) to just reinstall Grub from any Linux LiveCD/USB or better still use Boot-Repair for Linux and Startup Repair from the Windows DVD for Win7. –  Karan Jun 20 '13 at 2:35
    
Thanks a lot! I'll definitely follow your suggestions –  Fire-Dragon-DoL Jun 20 '13 at 3:03

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.