[CentOS] Replacing a hard drive

Wed Mar 14 15:35:16 UTC 2007
Bowie Bailey <Bowie_Bailey at BUC.com>

I have a CentOS 4.4 system where all of the main filesystems are on a
single hard drive.  This drive is starting to give some errors, so I got
a new (larger) drive to replace it with.  What is the easiest way to
copy my filesystems over to the new drive?

I considered using dd, but I lose the extra capacity of the new drive
that way.

I tried using SystemImager, but it is giving me some errors.

I think the easiest way may be to boot from the LiveCD, recreate the
partitions, copy the info with rsync and then fix the boot partition and
grub.  Any tips or pointers to a good how-to?