Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 30 Jan 2004 02:23:05 +0200
From:      Ion-Mihai Tetcu <itetcu@apropo.ro>
To:        greg <gval@mts.net>
Cc:        freebsd-questions@freebsd.org
Subject:   Re: Booting Release 5.2 and XP
Message-ID:  <20040130022305.4b1e5e37@it.buh.cameradicommercio.ro>
In-Reply-To: <1075420318.743.16.camel@localhost.localdomain>
References:  <1075420318.743.16.camel@localhost.localdomain>

next in thread | previous in thread | raw e-mail | index | archive | help
On Thu, 29 Jan 2004 17:51:59 -0600
greg <gval@mts.net> 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



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