From owner-freebsd-questions Sun Sep 10 15:10: 5 2000 Delivered-To: freebsd-questions@freebsd.org Received: from scaup.prod.itd.earthlink.net (scaup.prod.itd.earthlink.net [207.217.121.49]) by hub.freebsd.org (Postfix) with ESMTP id E9ADB37B422 for ; Sun, 10 Sep 2000 15:10:03 -0700 (PDT) Received: from nukemhigh (hybrid-024-221-117-152.phoenix.speedchoice.com [24.221.117.152]) by scaup.prod.itd.earthlink.net (8.9.3-EL_1_3/8.9.3) with SMTP id PAA14783 for ; Sun, 10 Sep 2000 15:10:01 -0700 (PDT) Message-Id: <200009102210.PAA14783@scaup.prod.itd.earthlink.net> X-Sender: egravel@mail.earthlink.net X-Mailer: QUALCOMM Windows Eudora Pro Version 4.0 Date: Sun, 10 Sep 2000 15:08:03 -0700 To: freebsd-questions From: Emmanuel Gravel Subject: Re: ghost prog for FreeBSD? In-Reply-To: <20000910223442.F274@hades.hell.gr> References: <39BAB976.C53CBB30@mediaone.net> <39BAB976.C53CBB30@mediaone.net> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG At 10:34 PM 9/10/00 +0300, Giorgos Keramidas wrote: > >[-- copying disks the freebsd way --] > >What I usually do, when I have to transfer an installation of BSD to >another disk / partition is: > >1. Create the slices / labels on the second disk. >2. Mount them under /mnt. >3. Use cpio(1) to copy the files from / to /mnt. >4. Use boot0cfg on the new disk to set up the boot loader on it. >5. Reboot into the new installation. [...] Wouldn't a dd of the whole disk to another, same-sized disk, pretty much do the same thing though? Something to the order of dd if=/dev/wd0 of=/dev/wd1 bs=1024 should do the trick, no? To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message