Migrate primary disk (duplicate)
Gary W. Swearingen
garys at opusnet.com
Mon Aug 1 14:57:42 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
Assuming that you've got the rest of the file systems configured and
populated properly, as I think you said, and you really only need to
get the MBR right...
I'd try using "boot0cfg", which has always worked for me.
BTW, you don't need "-b /boot/mbr" because that's the default.
Just based on my manpage reading: It sounds like "-I" and "-B" do
quite different things and using them together is problematical.
With -I, it sets up the partition table to support only "ad3s1".
With -B, it probably doesn't touch the partition table, and only
changes the boot code in the first 446 bytes.
More information about the freebsd-questions