From owner-freebsd-questions@FreeBSD.ORG Thu Jan 29 16:21:42 2004 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 B63D816A4E1 for ; Thu, 29 Jan 2004 16:21:42 -0800 (PST) Received: from rdsnet.ro (smtp.rdsnet.ro [62.231.74.130]) by mx1.FreeBSD.org (Postfix) with ESMTP id DB00643D4C for ; Thu, 29 Jan 2004 16:21:37 -0800 (PST) (envelope-from itetcu@apropo.ro) Received: (qmail 3134 invoked from network); 30 Jan 2004 00:21:36 -0000 Received: from unknown (HELO it.buh.cameradicommercio.ro) (81.196.25.19) by mail.rdsnet.ro with SMTP; 30 Jan 2004 00:21:36 -0000 Date: Fri, 30 Jan 2004 02:23:05 +0200 From: Ion-Mihai Tetcu To: greg Message-Id: <20040130022305.4b1e5e37@it.buh.cameradicommercio.ro> In-Reply-To: <1075420318.743.16.camel@localhost.localdomain> References: <1075420318.743.16.camel@localhost.localdomain> X-Mailer: Sylpheed version 0.9.8claws (GTK+ 1.2.10; i386-portbld-freebsd5.2) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit cc: freebsd-questions@freebsd.org Subject: Re: Booting Release 5.2 and XP 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: Fri, 30 Jan 2004 00:21:42 -0000 On Thu, 29 Jan 2004 17:51:59 -0600 greg wrote: [..] > I have fomated the MBR on the second drive, so it is MSed. So it boots if you set the BIOS to boot from the first drive, right ? > Previous to the FreeBSD install, I was dual booting Debian and the same > Windows XP partition. I had to do some work configuring GRUB to get it > to work. What worked was swapping HD0 and HD1 when I choose to boot XP. > This would fool Windows XP into thinking it was booting off the first > hard drive. Take a look on the Recovery console by booting from the XP CD. It's the infamous ntdlr thing. It is supposed to be fixable without reinstalling XP. > Is there a way to change loader.conf to do this. I have looked at the > loader.conf fig help, and did not see any thing that would obviously do > this. No chance AFAIK. > Maybe there is another boot loader I could use that would allow me to > fool Windows XP into thinking it is the first hard drive? > > I would use GRUB, but it does not support being installed on a UFS2 > filesystem yet. Try something like: Replace in /boot/grub/grub.conf something like: ------------------------------------------------------ title BSD/UN*X FreeBSD 5.1 (UFS2) root (hd1,0,a) kernel /boot/loader ------------------------------------------------------ to: ------------------------------------------------------ title BSD/UN*X FreeBSD 5.1 (UFS2) root (hd1,0,a) chainloader +1 ------------------------------------------------------ It is supposed to work. If not, post on rofug@rofug.ro asking about how to do it. -- IOnut Unregistered ;) FreeBSD user