There is a better, quicker way to do this which is to clone your entire drive onto a new drive.

You can do this with a tool like GParted, but there is also a command line tool that will get the job done as well. This tool is ddrescue. Now with ddrescue you will have to have your new disc partitioned (it will not partition for you). In this article I am going to show you how to get your dying Linux drive cloned onto a new drive.

Installation of ddrescue:

apt-get install ddrescue gparted

Paritioning your new drive:

After you installed the new drive reboot your server. Then do the following:

  1. Start GParted.
  2. Create a partition scheme on the new drive  identical with the old drive.
  3. Save the new partition scheme and you are ready to clone.

Continue Reading…

Page 1 of 11