[CentOS] Transferring system to new drive

Tue Sep 14 21:06:42 UTC 2010
Tom H <tomh0665 at gmail.com>

On Tue, Sep 14, 2010 at 1:42 PM, Robert Heller <heller at deepsoft.com> wrote:
> At Tue, 14 Sep 2010 13:19:16 -0400 CentOS mailing list <centos at centos.org> wrote:
>>
>> What about doing all with dd ... If you have the second disk installed in
>> the same machine you can do "dd if=/dev/sda of=/dev/sdb" ort you can use
>> clonezilla is a live cd .
>
> dd only works IFF (!) the new drive is exactly the same size as the old
> drive.  Otherwise dd can be very bad. This is a serious misuse of dd!

You can resize the target partition after the dd but it's a lot of extra work.