cloning a FreeBSD HDD
John Baldwin
jhb at freebsd.org
Wed Apr 5 18:54:03 UTC 2006
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 at FreeBSD.org> <>< http://www.FreeBSD.org/~jhb/
"Power Users Use the Power to Serve" = http://www.FreeBSD.org
More information about the freebsd-hackers
mailing list