Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 24 Mar 2006 19:42:35 +0200
From:      Vasil Dimov <vd@FreeBSD.org>
To:        Dirk GOUDERS <gouders@et.bocholt.fh-ge.de>
Cc:        FreeBSD Hackers <freebsd-hackers@freebsd.org>, Khaled Hussain <khaled@ipbill.com>
Subject:   Re: cloning a FreeBSD HDD
Message-ID:  <20060324174235.GA58111@qlovarnika.bg.datamax>
In-Reply-To: <200603241719.k2OHJDbh012213@sora.hank.home>
References:  <HCEOIFALKKLBLJPENPNOMEMNCAAA.khaled@ipbill.com> <200603241719.k2OHJDbh012213@sora.hank.home>

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



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