From owner-freebsd-questions Wed Sep 20 2:52:13 2000 Delivered-To: freebsd-questions@freebsd.org Received: from isy.liu.se (isy.liu.se [130.236.48.10]) by hub.freebsd.org (Postfix) with ESMTP id 16C9337B424 for ; Wed, 20 Sep 2000 02:52:11 -0700 (PDT) Received: from lagrange.isy.liu.se (lagrange.isy.liu.se [130.236.49.127]) by isy.liu.se (8.10.0/8.10.0) with ESMTP id e8K9q7n01714; Wed, 20 Sep 2000 11:52:07 +0200 (MET DST) Message-ID: X-Mailer: XFMail 1.4.0 on FreeBSD X-Priority: 3 (Normal) Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit MIME-Version: 1.0 In-Reply-To: Date: Wed, 20 Sep 2000 11:52:06 +0200 (CEST) From: Micke Josefsson To: Fengping Li Subject: Re: How to clone drives? Cc: freebsd-questions@FreeBSD.ORG, Murray Davis Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On 19-Sep-00 Fengping Li wrote: > I tried the following two methods. Both worked: > Method 1: use Ghost. After that do "dd" command: > /bin/dd if=/dev/ad0 of=/dev/ad1 bs=1024k; (4.0 and up) > /bin/dd if=/dev/wd0 of=/dev/wd1 bs=1024k; (before 4.0) > Method 2: use fdisk and disk label after /stand/sysinstall Beware that this may not work if there are errors on the destination disk. dd does not 'know' what it is doing. dump and restore do know and can be used. I also feel that cpio and pax are used for this but I am not sure and have not used them myself. > Good luck! > > On Tue, 19 Sep 2000, Murray Davis wrote: > >> Date: Tue, 19 Sep 2000 15:19:18 -0600 >> From: Murray Davis >> To: freebsd-questions@FreeBSD.ORG >> Subject: How to clone drives? >> >> What are the alternatives for cloning drives. I have an old 486 with a >> freebsd build. I want to clone this drive and place the cloned drive in an >> identical build. I have tried Ghost without success. Is there a way to >> clone a drive using FreeBSD: i.e., put destination drive on secondary >> IDE and then replicate/clone the image from the source drive on the >> primary IDE channel? >> >> -- >> Murray Davis >> Converging Technology Solutions >> Edmonton, AB >> >> >> To Unsubscribe: send mail to majordomo@FreeBSD.org >> with "unsubscribe freebsd-questions" in the body of the message >> > > > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-questions" in the body of the message ---------------------------------- Michael Josefsson, MSEE mj@isy.liu.se This message was sent by XFMail running on FreeBSD 3.5-STABLE ---------------------------------- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message