Date: Fri, 3 Jul 1998 12:48:30 +0930 From: Greg Lehey <grog@lemis.com> To: ccoley@kinn.com, freebsd-questions@FreeBSD.ORG Subject: Copying disks (was: Copying) Message-ID: <19980703124830.I358@freebie.lemis.com> In-Reply-To: <359C45E8.7354@kinn.com>; from Curtis Coley on Thu, Jul 02, 1998 at 06:46:00PM -0800 References: <359C45E8.7354@kinn.com>
next in thread | previous in thread | raw e-mail | index | archive | help
On Thursday, 2 July 1998 at 18:46:00 -0800, Curtis Coley wrote: > Is it possible to copy a FreeBSD system that I have to another drive, so > that I can bring up another system that has all the features I want to > use on another machine? Thank you for any information that can be > provided.. Yes, assuming it's the same kind of disk. You should be able to do it with dd, but I believe dd won't copy the disk label, so you should first use disklabel to label the disk. You can use disklabel -r to get the label off the old disk and save it to a file, and then insert it in the new disk by starting disklabel -e and inserting the saved file. Something like: # disklabel -r wd0 >foo # disklabel -e wd1 (delete the text you get and insert foo instead) Greg -- See complete headers for address and phone numbers finger grog@lemis.com for PGP public key To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?19980703124830.I358>