Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 11 Mar 2006 15:29:44 -0800
From:      Joseph Vella <satyam@sklinks.com>
To:        freebsd-questions@freebsd.org
Cc:        Wojciech Puchar <wojtek@tensor.3miasto.net>, Grant Peel <gpeel@thenetnow.com>
Subject:   Re: dd - cloning a disk.
Message-ID:  <200603111529.44329.satyam@sklinks.com>
In-Reply-To: <20060311234213.N68417@chylonia.3miasto.net>
References:  <001901c64517$9d891950$6701a8c0@GRANT> <20060311234213.N68417@chylonia.3miasto.net>

next in thread | previous in thread | raw e-mail | index | archive | help
On Saturday 11 March 2006 14:43, Wojciech Puchar wrote:
> >
> > Here is a simple (I think!) question for the I/O savy among you:
> >
> > If I had two identical disks, say, 73 GB Seagate 10K SCSIs, one completely 
> > operational fully setup FreeBSD with all the trimmings, and the other 
blank, 
> > or perhaps loaded but no longer usable, is 'dd' and appropriate tool to 
> > completely clone the Good disk to the not so good disk....therefor making 
the 
> > second disk identical to the first? Bootable and all?
> 
> yes
> 
> dd if=/dev/firstdisk of=/dev/seconddisk bs=64k
> 
> and yes it is bootable, but if you boot from second disk, FreeBSD kernel 
> will mount root from first disk anyway, unless you will reconfigure it.
> 

Would this also work to copy CDs?  If so, does it matter what os and/or format 
they would have?




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