Subject: Re: Cloning an i386 system ?
To: =?iso-8859-1?q?Philip=20Christian?= <philipchristian2003@yahoo.co.uk>
From: Stefan Schumacher <stefan@net-tex.de>
List: netbsd-help
Date: 12/20/2002 00:41:17
On Thu, 19 Dec 2002, [iso-8859-1] Philip Christian wrote:


> I am just building a NetBSD system now.
>
> I have a second PC which is completely identical,
> except that it has a bigger hard drive.
>
> Can I just take this drive, partition and format it,
> attach it as a slave on the first system, mount it I
> guess, and then just drag all the files over in
> Konquerer?
>
> Or would there be a better way to do it ?

A very easy way is to clone a drive with dd, but this may be to much
overhead, because it also copies empty space from the master and the
partitiontable.

Another way is to tar up or just copy the data and then
copy the master MBR with
$> dd if=/dev/wd0 count=1 of=/foobar/mbrfile
and
$> dd if=/foobar/mbrfile of=/dev/wd1

BTW there are also some disc cloning/recsue tools available, like
g4u from Hubert Feyrer http://www.feyrer.de/g4u/

-- 
$> man woman
$> segmentation fault (core dumped)

[http://www.net-tex.de]