Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 02 Aug 2005 08:20:54 +0200
From:      alexandre.delay@free.fr
To:        "Gary W. Swearingen" <garys@opusnet.com>
Cc:        freebsd-questions@freebsd.org
Subject:   Re: Migrate primary disk (duplicate)
Message-ID:  <1122963654.42ef10c6aaf0a@imp6-q.free.fr>
In-Reply-To: <s1zms12svm.ms1@mail.opusnet.com>
References:  <MAEBLPAGHGPMOKCBICBNOEKPCHAA.alexandre.delay@free.fr> <s1zms12svm.ms1@mail.opusnet.com>

next in thread | previous in thread | raw e-mail | index | archive | help
> > 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"?

yes

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



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