Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 01 Aug 2005 15:29:33 -0700
From:      garys@opusnet.com (Gary W. Swearingen)
To:        "Alexandre D." <alexandre.delay@free.fr>
Cc:        freebsd-questions@freebsd.org
Subject:   Re: Migrate primary disk (duplicate)
Message-ID:  <s1zms12svm.ms1@mail.opusnet.com>
In-Reply-To: <MAEBLPAGHGPMOKCBICBNOEKPCHAA.alexandre.delay@free.fr> (Alexandre D.'s message of "Mon, 1 Aug 2005 22:26:46 %2B0200")
References:  <MAEBLPAGHGPMOKCBICBNOEKPCHAA.alexandre.delay@free.fr>

next in thread | previous in thread | raw e-mail | index | archive | help
"Alexandre D." <alexandre.delay@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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?s1zms12svm.ms1>