cloning a FreeBSD HDD
Peter Jeremy
peterjeremy at optushome.com.au
Tue Apr 4 10:40:40 UTC 2006
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.
--
Peter Jeremy
More information about the freebsd-hackers
mailing list