Re: [SLUG] Drive Imaging

From: Bryan-TheBS-Smith (b.j.smith@ieee.org)
Date: Wed Sep 19 2001 - 10:55:09 EDT


"Miller, Matt" wrote:
> Anyone have any recommendations on *reliable* drive imaging software for
> Linux (something other than symantec ghost)?
> My intention is to copy a disk image (consisting of / , /var, & /home ext2
> partitions) from one physical disk to another.
> I know ghost can do the trick, but I want to try something Linux based.

Assuming the new drive is installed in the system, partitioned, and
new filesystems are mounted in /new_drive:

# cd /
# find . -depth -mount -print | cpio -pmdv /new_drive
# cd /var
# find . -depth -mount -print | cpio -pmdv /new_drive/var
# cd /home
# find . -depth -mount -print | cpio -pmdv /new_drive/home

-- TheBS

-- 
Bryan "TheBS" Smith    mailto:b.j.smith@ieee.org    chat:thebs413
Engineer   AbsoluteValue Systems, Inc.  http://www.linux-wlan.org
President    SmithConcepts, Inc.     http://www.SmithConcepts.com



This archive was generated by hypermail 2.1.3 : Fri Aug 01 2014 - 19:46:36 EDT