*BSD News Article 93579


Return to BSD News archive

Path: euryale.cc.adfa.oz.au!newshost.carno.net.au!harbinger.cc.monash.edu.au!munnari.OZ.AU!news.ecn.uoknor.edu!feed1.news.erols.com!dispatch.news.demon.net!demon!slugvine.demon.co.uk!slugvine.demon.co.uk!jas
From: jas@slugvine.demon.co.uk (John Stark)
Newsgroups: comp.unix.bsd.freebsd.misc
Subject: Re: using NT loader to boot fbsd
Date: Mon, 14 Apr 1997 19:58:58 GMT
Organization: Home
Message-ID: <E8n8uA.386@slugvine.demon.co.uk>
References: <334BFF3F.7C5A@worldnet.att.net>
NNTP-Posting-Host: slugvine.demon.co.uk
X-NNTP-Posting-Host: slugvine.demon.co.uk
Lines: 36
Xref: euryale.cc.adfa.oz.au comp.unix.bsd.freebsd.misc:39079


In article <334BFF3F.7C5A@worldnet.att.net>,
Vijay Konkimalla  <vjmrudula@worldnet.att.net> wrote:
>A friend of mine has the following:
>
>windows NT 3.51/windows 95/FreeBSD 2.2.1R on a pentium w/32M RAM,
>external Future domain SCSI CDROM and 2 IDE hard drives.
>
>First hard drive: ~400 MB on which the OS's Windows NT/ 95 are
>installed. (both work well) and get launched properly.
>
>Second hard drive (~1.1 GB) was partitioned to 750/300 MB.
>The first partition has data/software and the second partition has
>FreeBSD 2.2.1R
>
>To booting FBSD, the current technic is to use the installation disk
>(generated from boot.flp) and upon 
>boot: 
>type "1:wd(1,a)/kernel"
>
>It works okay. But I understand from the FAQ that we could use the NT
>loader to boot to FBSD. We have tried but failed.

Your problem is that, to use the NT boot menu, you need to patch the FreeBSD
boot sector to look for the FreeBSD partition on the second drive.  It
expects to be called with the DL register containing the drive ID to load
from (0x81 for the second drive), but if invoked from a bootsect.xxx file
loaded by an NT loader on the first drive, DL will contain 0x80.

There is a Web page explaining how do this at http://www.devious/com/freebsd/.
I followed these instructions and now have DOS, Windows 95 and FreeBSD 2.1.5
on drive 0, and NT4 and FreeBSD 2.1.6 on drive 1, all selectable from the NT
boot menu in the DOS partition.  (Not that I want two FreeBSD installations,
but I postponed moving everything to 2.1.6 as the 2.2 CD is due out soon.)
-- 
John Stark (at home), Cambridge, UK   |   mailto:jas@slugvine.demon.co.uk
Tel. Cambridge (01223) 573555         |   http://www.slugvine.demon.co.uk