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 a dying hard drive and a replacement drive (same model). What is the best way to copy the old drive to the new drive?

Its a dual boot setup - Ubuntu Karmic and Windows XP.

I really don't want to have to reinstall both operating systems and all their software.

share|improve this question

2 Answers 2

up vote 6 down vote accepted

Use a backup solution which can do bare metal bit-for-bit backups of the entire disk. Clonezilla is fully capable of this and would be my first choice.

share|improve this answer
3  
clonezilla will handle differing disc sizes also. I have yet to encounter a case where it is not better than dd (except where dd is the only option) –  Arthur Ulfeldt Feb 25 '10 at 20:08
    
Clonezilla worked beautifully. –  srboisvert Feb 26 '10 at 15:21
    
Actually scrap that. It barfed on the last step of installing grub for some reason. I've asked about the next step here: superuser.com/questions/113938/… –  srboisvert Feb 26 '10 at 16:42

If you can plug your new HDD in alongside the old one, you should be able to clone all the partitions from within Ubuntu using dd. Although the article doesn't mention it, the technique should work for any type of partition as it's doing a raw data copy

share|improve this answer
3  
dd is also a great choice. Consider ddrescue as well ( forensicswiki.org/wiki/Ddrescue ) which will try harder to rescue the data after read errors. –  John T Feb 25 '10 at 14:20

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.