Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 26 Mar 2006 10:19:59 -0800
From:      Clint Olsen <clint@0lsen.net>
To:        Remo Lacho <Remo.Lacho@verizon.net>
Cc:        Matt Smith <ratman6@charter.net>, freebsd-stable@freebsd.org
Subject:   Re: Data transfer from one HD to another
Message-ID:  <20060326181959.GF39296@0lsen.net>
In-Reply-To: <20060326095509.9e3b565e.Remo.Lacho@verizon.net>
References:  <20060326120043.935BA16A532@hub.freebsd.org> <000201c650d9$06b2e330$0201a8c0@bedroom> <20060326095509.9e3b565e.Remo.Lacho@verizon.net>

next in thread | previous in thread | raw e-mail | index | archive | help

On Mar 26, Remo Lacho wrote:
> dump and restore are your friends.
> 
> Try something like this for each new slice (partition):
> 
> Create your new slice on the new disk.
> 
> newfs the new slice - newfs -U /dev/[new_slice]
> 
> mount the new slices - mount /dev/[new_slice] /mnt  
> 
> dump and restore from the old slice to the new slice -
> 	dump -L -0 -f- /[old_slice] | (cd /mnt; restore -r -v -f-)

If you want to ensure that the system is quiescent before doing the copy,
you should actually boot from an alternative media and do the copy using
those utilities.  I actually needed to do this for Windows XP and I was too
cheap to pay for any of the commercial software, so I used g4u:

http://www.feyrer.de/g4u

It's based on NetBSD and worked great for my Windows PC.  I was cloning
from a smaller to larger HD, so I had to use another utility to extend the
partitions without formatting.

Good luck,

-Clint



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20060326181959.GF39296>