[CentOS] any ima ge software suggestion

Les Mikesell lesmikesell at gmail.com
Fri Nov 21 13:49:52 UTC 2008


adrian kok wrote:
> Hi 
> 
> I am trying to clone harddrive
> 
> eg: centos, freebsd, openbsd.....
> 
> any ima ge software suggestion for different os

You can boot about any Linux live or install CD that lets you get to the 
shell (with a Centos install disk, enter 'linux rescue' at the boot 
prompt) and use dd to copy the raw disk devices:
dd if=/dev/sda of=/dev/sdb bs=1M
Be sure you understand the device names for each disk. Using 'fdisk -l' 
to see  the existing partition layout might help with that.

However, this is a slow process because the entire disk will be copied, 
whether it is used or not.  If you are going to do it often, clonezilla 
is much faster because it knows enough about most linux and windows 
filesystems to only copy the used part of the disk and can store 
compressed image copies on a local or network disk.  The clonezilla-live 
version is a bootable CD (or USB image).  For larger scale cloning you 
can install the full version with DRBL for network booting into the 
clone process.   http://clonezilla.org/clonezilla-live/

-- 
   Les Mikesell
    lesmikesell at gmail.com


More information about the CentOS mailing list