From owner-freebsd-hackers@FreeBSD.ORG Fri Mar 24 17:42:38 2006 Return-Path: X-Original-To: freebsd-hackers@freebsd.org Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id A1E7316A401; Fri, 24 Mar 2006 17:42:38 +0000 (UTC) (envelope-from vd@datamax.bg) Received: from jengal.datamax.bg (jengal.datamax.bg [82.103.104.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id 43D7F43D5E; Fri, 24 Mar 2006 17:42:36 +0000 (GMT) (envelope-from vd@datamax.bg) Received: from qlovarnika.bg.datamax (qlovarnika.bg.datamax [192.168.10.2]) by jengal.datamax.bg (Postfix) with SMTP id 4657CB857; Fri, 24 Mar 2006 19:42:35 +0200 (EET) Received: (nullmailer pid 58171 invoked by uid 1002); Fri, 24 Mar 2006 17:42:35 -0000 Date: Fri, 24 Mar 2006 19:42:35 +0200 From: Vasil Dimov To: Dirk GOUDERS Message-ID: <20060324174235.GA58111@qlovarnika.bg.datamax> References: <200603241719.k2OHJDbh012213@sora.hank.home> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <200603241719.k2OHJDbh012213@sora.hank.home> X-OS: FreeBSD 6.0-STABLE User-Agent: Mutt/1.5.11 Cc: FreeBSD Hackers , Khaled Hussain Subject: Re: cloning a FreeBSD HDD X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: vd@FreeBSD.org List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 24 Mar 2006 17:42:38 -0000 On Fri, Mar 24, 2006 at 06:19:13PM +0100, Dirk GOUDERS wrote: > Hi, > > > This is my first day on the list so please pardon me if I am on the wrong > > list and any mistakes I make. > > > > I would like to create a bootable clone of a HDD running BSD version 4.8. I > > have experience of cloning linux machines successfully but understand that > > freebsd is a little different. > > please, try to clone your disk as described in the FAQ > "9.2. How do I move my system over to my huge new disk?": > > http://www.freebsd.org/doc/en_US.ISO8859-1/books/faq/disks.html#NEW-HUGE-DISK > Without reading it, I would first try this, it's quite straightforward * boot into single user mode (enter "boot -s" at loader prompt) * make sure filesystems are mounted readonly (mount) dd if=/dev/ad0 of=/dev/ad1 bs=1m (where ad0 is your disk with data and ad1 is your new disk, make sure you do not swap them :) -- Vasil Dimov gro.DSBeerF@dv Testing can show the presence of bugs, but not their absence. -- Edsger W. Dijkstra