Date: Wed, 5 Apr 2006 15:28:31 -0400 From: John Baldwin <jhb@freebsd.org> To: Peter Jeremy <peterjeremy@optushome.com.au> Cc: freebsd-hackers@freebsd.org Subject: Re: cloning a FreeBSD HDD Message-ID: <200604051528.33324.jhb@freebsd.org> In-Reply-To: <20060405191528.GN699@turion.vk2pj.dyndns.org> References: <20060328.210412.18287651.imp@bsdimp.com> <200604051453.57372.jhb@freebsd.org> <20060405191528.GN699@turion.vk2pj.dyndns.org>
next in thread | previous in thread | raw e-mail | index | archive | help
On Wednesday 05 April 2006 15:15, Peter Jeremy wrote: > On Wed, 2006-Apr-05 14:53:55 -0400, John Baldwin wrote: > >> 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. > > The bit that threw me was that boot2 is 15 sectors long and ends in > sector 15. I gather it has a copy of boot1 embedded in it. Yes, there is now a /boot/boot file that is boot1 + boot2 glued together in a single blob. It used to be that boot1 was in sector 0 and boot2 in 2-15, but with ufs2 boot2 got slightly bigger, so we now make them a blob IIRC to get some extra space. phk@ did that change. -- 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?200604051528.33324.jhb>