From owner-freebsd-questions@FreeBSD.ORG Sat Apr 26 10:19:51 2003 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id C5FC337B401 for ; Sat, 26 Apr 2003 10:19:51 -0700 (PDT) Received: from adsl-64-161-78-226.dsl.lsan03.pacbell.net (adsl-64-161-78-226.dsl.lsan03.pacbell.net [64.161.78.226]) by mx1.FreeBSD.org (Postfix) with SMTP id ED24943FA3 for ; Sat, 26 Apr 2003 10:19:50 -0700 (PDT) (envelope-from oremanj@adsl-64-161-78-226.dsl.lsan03.pacbell.net) Received: (qmail 16735 invoked by uid 1001); 26 Apr 2003 17:19:50 -0000 Date: Sat, 26 Apr 2003 10:19:50 -0700 From: Joshua Oreman To: Adam Message-ID: <20030426171950.GB16464@webserver.get-linux.org> References: <005d01c30b65$4c4cf460$1501a8c0@hyun> <1051369604.76975.1092.camel@jake> <20030426151823.GB19669@lothlorien.nagual.st> <1051371183.76975.1126.camel@jake> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1051371183.76975.1126.camel@jake> User-Agent: Mutt/1.4i cc: questions@freebsd.org Subject: Re: Problems setting up dual-boot X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 26 Apr 2003 17:19:52 -0000 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