My hard disk has become very slow. (for ex. Listening music or watching movies which are stored on the hard disk is nearly impossible because they keep getting stuck for seconds before continuing, this doesn't happen when doing the same for things stored on my pen drive etc.)

I ran Disk Utility and viewed SMART data and it showed that my hard disk has 282 bad sectors (Reallocated Sector Count).

What is the best way to replace my hard disk if I don't want to go through the pain of installing all my software again? (I have a Win7/Ubuntu dual boot laptop with a 320 GB hard disk)


there are two special - more 'stubborn' - versions of dd that come handy when you recover data from dying hard drive: dd_rescue and ddrescue. try them if dd stops in the middle.


Just do the exact same thing you would do if your hard drive failed completely and suddenly. You might want to try extracting any critical files off the drive before doing so, but I wouldn't risk trying to extract any OS or program files from it because they might be corrupted.

  • And what is that? – Rohit Agarwal Dec 4 '11 at 6:14

Boot from livecd and clone all data from old disk(/dev/sda) to new disk(/dev/sdb):

dd if=/dev/sda of=/dev/sdb bs=10M

After that remove old disk and try to boot.

  • What are the limitations on the new hard disk? Should it also be of 320 GB? – Rohit Agarwal Dec 4 '11 at 6:14
  • New disk size must be more or equal than old disk size. – kubus Dec 4 '11 at 6:42
  • If new disk more than old disk, you just need to extend partitions and filesystems. – kubus Dec 4 '11 at 6:44

Try clonezilla live CD (if you need free solution) or in case of paid solution, you can go for Acronis drive image, which will clone your drive to new hard drive.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

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