From owner-freebsd-questions Thu Jul 2 20:18:40 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id UAA29128 for freebsd-questions-outgoing; Thu, 2 Jul 1998 20:18:40 -0700 (PDT) (envelope-from owner-freebsd-questions@FreeBSD.ORG) Received: from freebie.lemis.com (freebie.lemis.com [139.130.136.133] (may be forged)) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id UAA29102 for ; Thu, 2 Jul 1998 20:18:35 -0700 (PDT) (envelope-from grog@freebie.lemis.com) Received: (from grog@localhost) by freebie.lemis.com (8.9.0/8.9.0) id MAA00660; Fri, 3 Jul 1998 12:48:30 +0930 (CST) Message-ID: <19980703124830.I358@freebie.lemis.com> Date: Fri, 3 Jul 1998 12:48:30 +0930 From: Greg Lehey To: ccoley@kinn.com, freebsd-questions@FreeBSD.ORG Subject: Copying disks (was: Copying) References: <359C45E8.7354@kinn.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 0.91.1i In-Reply-To: <359C45E8.7354@kinn.com>; from Curtis Coley on Thu, Jul 02, 1998 at 06:46:00PM -0800 WWW-Home-Page: http://www.lemis.com/~grog Organization: LEMIS, PO Box 460, Echunga SA 5153, Australia Phone: +61-8-8388-8286 Fax: +61-8-8388-8725 Mobile: +61-41-739-7062 Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG 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