From owner-freebsd-questions@FreeBSD.ORG Sun Mar 12 02:51:56 2006 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 53B9E16A435 for ; Sun, 12 Mar 2006 02:51:56 +0000 (GMT) (envelope-from satyam@sklinks.com) Received: from smtp114.sbc.mail.mud.yahoo.com (smtp114.sbc.mail.mud.yahoo.com [68.142.198.213]) by mx1.FreeBSD.org (Postfix) with SMTP id 1554344937 for ; Sat, 11 Mar 2006 23:30:14 +0000 (GMT) (envelope-from satyam@sklinks.com) Received: (qmail 47965 invoked from network); 11 Mar 2006 23:30:14 -0000 Received: from unknown (HELO akasha.akasha) (varuna@sbcglobal.net@69.106.233.173 with plain) by smtp114.sbc.mail.mud.yahoo.com with SMTP; 11 Mar 2006 23:30:14 -0000 From: Joseph Vella To: freebsd-questions@freebsd.org Date: Sat, 11 Mar 2006 15:29:44 -0800 User-Agent: KMail/1.9.1 References: <001901c64517$9d891950$6701a8c0@GRANT> <20060311234213.N68417@chylonia.3miasto.net> In-Reply-To: <20060311234213.N68417@chylonia.3miasto.net> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200603111529.44329.satyam@sklinks.com> Cc: Wojciech Puchar , Grant Peel Subject: Re: dd - cloning a disk. X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 12 Mar 2006 02:51:56 -0000 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?