[Ilugc] how to clone a Linux OS

  • From: kapil@xxxxxxxxxxx (Kapil Hari Paranjape)
  • Date: Thu May 15 09:21:06 2008

Hello,

On Thu, 15 May 2008, Abhishek Amberkar [?????? ] wrote:

how can we  create an exact clone of LinuxOS installed on a HDD to another 
HDD...?

root@localhost:~# dd if=/dev/hda of=/dev/hdb

There is no better utility than this for cloning as far as I know.

I think you are taking the original querent's "exact clone" too
seriously! 

Using "dd" will copy every sector on the disk, whether used or not!

This will take "forever" on a large enough disk.

It may be better to use some sort of _file_ copying tool like "cp",
"rsync", "cpio", "tar", "unison", ...

Regards,

Kapil.
--

Other related posts: