Migrate primary disk (duplicate)

Gary W. Swearingen garys at opusnet.com
Mon Aug 1 15:20:10 GMT 2005


alexandre.delay at free.fr writes:

> I tried every combination:
>    fdisk -I ad3 && fdisk -B -b /boot/mbr ad3
>    fdisk -I ad3 && fdisk -B -b /boot/boot0 ad3
>    fdisk -B -b /boot/mbr -I ad3
>    ...
>
> the disk doesn't boot.

So "fdisk -B ad3" shouldn't work if you don't have a valid partition
table which also has the correct fdisk partition marked "active" (or
"bootable", which I'm fairly sure is the same thing, despite what the
fdisk manual implies).

But is seem that "fdisk -I ad3" should work if you have a "s1"
correctly configured and populated.  But after using it, I'd
run "fdisk ad3" and verify that your "s1" is marked "(active)".

It sound like /boot/mbr behaves like an IBM/MSFT MBR, while
/boot/boot0 is the standard FreeBSD MBR configured by "boot0cfg".


More information about the freebsd-questions mailing list