[Ilugc] transfering an installation

  • From: prem@xxxxxxxxxxxxxxxx (Prem Kurian Philip)
  • Date: Thu Jul 17 14:55:34 2008

Hello,

On Tue, 15 Jul 2008, Praveen Kumar wrote:

We shall use 'dd' command

"dd if=/dev/sda3 of=/dev/sda5"

This is not a very good idea as all kinds of blocks of zeroes will be
copied.

True.

Otherwise we can also use "cp -rvfp source-partition destination
partition" then edit grub and boot.

As far as copying the data is concerned using cp is a much better
idea, still, using cpio is to be preferred as the links would
also be preserved (symbolic as well as hard links).

I think cpio has a limitation of 8GB, but I could be wrong. pax can be
used instead of cpio.

Moreover, some other things have to be taken care of. For
example, the /etc/fstab would typically be different.

Yes, you will most likely have to update /etc/fstab with the partition
information as the disk geometry will differ.

Regards,
PK

Other related posts: