Migrate primary disk (duplicate)

alexandre.delay at free.fr alexandre.delay at free.fr
Tue Aug 2 06:20:56 GMT 2005

> > 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.

I agree with you that fdisk and boot0cfg ?!should!? have done that.
I tried a lot of different commands:
   fdisk -B...
   fdisk -b /boot/boot0...
   boot0cfg -B ...
   boot0cfg -b /boot/boot0 ...

> > 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

I'll try this this evening.

More information about the freebsd-questions mailing list