[Ilugc] transfering an installation

  • From: kapil@xxxxxxxxxxx (Kapil Hari Paranjape)
  • Date: Wed Jul 16 15:12:25 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.

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).

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

Kapil.
--

Other related posts: