Migrate primary disk (duplicate)

Gary W. Swearingen garys at opusnet.com
Mon Aug 1 22:28:16 GMT 2005

"Alexandre D." <alexandre.delay at free.fr> writes:

> I made several tests. the exact problem is to install the freebsd boot
> manager.

But your "fdisk -B -b /boot/boot0" should have done that.  I'm not
sure if it has defaults that would work for you though.  boot0cfg
tells you what defaults it will use and lets you change them.

> If I use any command line utility to restore the boot manager, it doesnt
> work.

Does "any" include "boot0cfg"?

> If I use /stand/sysinstall, choose fdisk and "Install the FreeBSD boot
> Manager", it works
> What is the exact command line for this?

Depends upon what you want.  Read boot0cfg manpage; it's short.
I used this once:

  boot0cfg -Bv -o packet,noupdate -s 3 -t 9999 ad0

More information about the freebsd-questions mailing list