*BSD News Article 58213


Return to BSD News archive

Path: euryale.cc.adfa.oz.au!newshost.anu.edu.au!harbinger.cc.monash.edu.au!news.mel.connect.com.au!munnari.OZ.AU!news.ecn.uoknor.edu!news.cis.okstate.edu!news.ksu.ksu.edu!news.physics.uiowa.edu!math.ohio-state.edu!news.cyberstore.ca!van-bc!news.mindlink.net!agate!violet.berkeley.edu!jkh
From: jkh@violet.berkeley.edu (Jordan K. Hubbard)
Newsgroups: comp.unix.bsd.freebsd.misc
Subject: Re: images copies of bootable disks
Date: 6 Jan 1996 06:38:33 GMT
Organization: University of California, Berkeley
Lines: 17
Message-ID: <4cl5d9$p4c@agate.berkeley.edu>
References: <rflonmymuu.fsf@puma.cs.byu.edu>
NNTP-Posting-Host: violet.berkeley.edu

In article <rflonmymuu.fsf@puma.cs.byu.edu>,
Phillip J. Windley <windley@lal.cs.byu.edu> wrote:
>I'd like to duplicate the disk in one FreeBSD system to make another one.
>My plan  is to use disksetup and newfs to create a bootable disk with the

If you're just going to try and clone a running system, why not do something
like this:

	Assumptions:  sd0 and sd1, same size.  sd0 is running system, sd1
	 is clone.

	dd if=/dev/rsd0c of=/dev/rsd1c 

After it's finished, you can mount filesystems off of /dev/sd1 and make
any tweaks before putting it in the new system.

					Jordan