Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 5 Apr 2006 14:53:55 -0400
From:      John Baldwin <jhb@freebsd.org>
To:        freebsd-hackers@freebsd.org
Cc:        Khaled Hussain <khaled@ipbill.com>
Subject:   Re: cloning a FreeBSD HDD
Message-ID:  <200604051453.57372.jhb@freebsd.org>
In-Reply-To: <20060404104031.GI683@turion.vk2pj.dyndns.org>
References:  <20060328.210412.18287651.imp@bsdimp.com> <HCEOIFALKKLBLJPENPNOGENDCAAA.khaled@ipbill.com> <20060404104031.GI683@turion.vk2pj.dyndns.org>

next in thread | previous in thread | raw e-mail | index | archive | help
On Tuesday 04 April 2006 06:40, Peter Jeremy wrote:
> On Tue, 2006-Apr-04 11:12:03 +0100, Khaled Hussain wrote:
> >Why does everyone talk about dump+restore as a pair? I thought it was
> >possible just to dump a filesystem to a different hard disk i.e.
> >dump -0a -f /dev/ad2 /
> 
> It is.  But /dev/ad2 will have a dumpfile on it, not a filesystem.
> The only thing that can then read /dev/ad2 is restore.
> 
> >Also, how can I find out which /boot/boot# file a freebsd system is using by
> >default?
> 
> None of the ones in the filesystem - these files are embedded into the
> beginning of the hard disk.
> 
> One of boot0, boot0sio or mbr is located in absolute sector 0 of the disk.
> boot1 is located in sector 0 of the bootable slice
> boot2 is located in the (I think) sectors 1-15 of partition a.

Actually, boot1 + boot2 occupy sectors 0,2-15 of the bootable slice (the
a partition starts at the start of the slice to be confusing) with the
actual disklabel table in sector 1 of the slice.

-- 
John Baldwin <jhb@FreeBSD.org>  <><  http://www.FreeBSD.org/~jhb/
"Power Users Use the Power to Serve"  =  http://www.FreeBSD.org



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