[plug] Moving Running System to new HDD

Timothy White weirdit at gmail.com
Wed Dec 6 09:44:19 WST 2006


I have a system that I need to move to a new HDD. I did try booting
with a boot CD, and using dd or dd_rescue (as their is 1-4 bad sectors
on the old HDD. For some reason, DMA wasn't working, or something
along those lines, and I couldn't get a resonable copy speed
(considering last time I had 80Gb to copy over like this, it took 1/2
hour, and this was taking hours and had only done 5Gb).

The old drive is setup with just a single partition for / and a
smaller one in the extended area for Swap. I don't mind keeping it
like this, but if I can change it so on the new drive, / is 20G, and
the rest is free (other than swap), then all the better.

What do people recommend as the best way to do this? Is it possible to
do while the system is live?

Thanks

Tim

The HDD's are below, hda is the new drive, sda is the old drive

Disk /dev/hda: 80.0 GB, 80026361856 bytes
255 heads, 63 sectors/track, 9729 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes


Disk /dev/sda: 80.0 GB, 80026361856 bytes
255 heads, 63 sectors/track, 9729 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes

   Device Boot      Start         End      Blocks   Id  System
/dev/sda1   *           1        9567    76846896   83  Linux
/dev/sda2            9568        9729     1301265    5  Extended
/dev/sda5            9568        9729     1301233+  82  Linux swap / Solaris

-- 
Linux Counter user #273956
Don't email joeblogs at scouts.org.au



More information about the plug mailing list