Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 26 Apr 2003 10:19:50 -0700
From:      Joshua Oreman <oremanj@webserver.get-linux.org>
To:        Adam <blueeskimo@gmx.net>
Cc:        questions@freebsd.org
Subject:   Re: Problems setting up dual-boot
Message-ID:  <20030426171950.GB16464@webserver.get-linux.org>
In-Reply-To: <1051371183.76975.1126.camel@jake>
References:  <005d01c30b65$4c4cf460$1501a8c0@hyun> <1051369604.76975.1092.camel@jake> <20030426151823.GB19669@lothlorien.nagual.st> <1051371183.76975.1126.camel@jake>

next in thread | previous in thread | raw e-mail | index | archive | help
On Sat, Apr 26, 2003 at 11:33:03AM -0400 or thereabouts, Adam seemed to write:
> On Sat, 2003-04-26 at 11:18, dick hoogendijk wrote:
> > I have Win-XP on the first and FreeBSD on the second harddisk.
> > What I did was "boot0cfg -b boot0 hd0" PLUS the same for hd1. 
> 
> Just tried this:
> 
> # boot0cfg -b boot0 ad0
> boot0cfg: /dev/ad0: unknown or incompatible boot code
> 
> I think I know why it's confused. My fstab makes no mention of any other
> drives besides my ad3, which is dedicated to FreeBSD. Do I have to
> somehow mount hd0 before I can modify its MBR with boot0cfg?

No, that's not it.
To *install* boot0 (if it's not installed already) you have to have the -B
option. For example:
# boot0cfg -B ad0
(You don't need -b boot0)
To adjust the settings, you use it with flags and *no* -B option (see man
boot0cfg).

HTH,
-- Josh

> 
> -- 
> Adam <blueeskimo@gmx.net>




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