Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 10 Sep 2000 15:08:03 -0700
From:      Emmanuel Gravel <egravel@earthlink.net>
To:        freebsd-questions <freebsd-questions@FreeBSD.ORG>
Subject:   Re: ghost prog for FreeBSD?
Message-ID:  <200009102210.PAA14783@scaup.prod.itd.earthlink.net>
In-Reply-To: <20000910223442.F274@hades.hell.gr>
References:  <39BAB976.C53CBB30@mediaone.net> <39BAB976.C53CBB30@mediaone.net>

next in thread | previous in thread | raw e-mail | index | archive | help
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




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