From owner-freebsd-questions Mon Jun 14 12: 7:54 1999 Delivered-To: freebsd-questions@freebsd.org Received: from beowulf.utmb.edu (beowulf.utmb.edu [129.109.59.83]) by hub.freebsd.org (Postfix) with ESMTP id 6D09614F0B for ; Mon, 14 Jun 1999 12:07:51 -0700 (PDT) (envelope-from bdodson@beowulf.utmb.edu) Received: (from bdodson@localhost) by beowulf.utmb.edu (8.9.3/8.9.2) id OAA31588; Mon, 14 Jun 1999 14:02:36 -0500 (CDT) (envelope-from bdodson) Date: Mon, 14 Jun 1999 14:02:36 -0500 (CDT) Message-Id: <199906141902.OAA31588@beowulf.utmb.edu> From: "M. L. Dodson" MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit To: Mark Ovens Cc: Clem.Dye@wdr.com, as_hombert@ibm.net, Questions@FreeBSD.ORG Subject: Re: Booting FreeBSD with Win NT In-Reply-To: <19990614193927.F254@marder-1> References: <199906141411.JAA12658@beowulf.utmb.edu> <19990614193927.F254@marder-1> X-Mailer: VM 6.34 under 19.16 "Lille" XEmacs Lucid Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Mark Ovens writes: > On Mon, Jun 14, 1999 at 09:11:58AM -0500, M. L. Dodson wrote: > > > > Wrongo. This configuration works. No repartitioning or other > > hocus-pocus required. When you set up fbsd, install the default > > boot manager: > > > > DOS and NT on IDE drive connected to motherboard (FAT and ntfs > > partitions). > > > > FreeBSD-STABLE (just pre-3.2-RELEASE) on SCSI disk connected to > > motherboard Adaptec (2940W compat.) > > > > c:\bootsect.bsd is /boot/boot0 > > Just copy it over and rename it. > > > > The FAQ should be updated to reflect this. Under 2.2.x BOOTSECT.BSD > was simply the FreeBSD boot sector, created with dd(1), and hence > not executable. NT's boot loader was simply looking for the partition > described in BOOTSECT.BSD on the first disk. > > Your solution should work with 3.1 yes? When I added a 2nd HD I > created a small partition on the first HD to allow me to use the > NT loader, seems I didn't have to. > I _think_ it works with 3.1, but I can't remember whether I tried it. I installed 3.1 and then almost immediately upgraded to -STABLE with a "make world". In any case, I would suggest people go to 3.2R or a -STABLE snapshot, not 3.1. The key point is that this solution is totally dependent on the "new" 3-stage boot loader. In any case, when working with this range of versions, be sure to keep /boot/loader and /kernel version-consistent or you may get into a situation where your shiny new kernel can't be booted by your dingy old /boot/loader. > > c:\boot.ini is: > > > > C:\="MS-DOS" > > multi(0)disk(0)rdisk(0)partition(2)\WINNT="Windows NT Workstation Version 4.00" > > multi(0)disk(0)rdisk(0)partition(2)\WINNT="Windows NT Workstation Version 4.00 [VGA mode]" /basevideo /sos > > c:\bootsect.bsd="FreeBSD" > > > > /boot/loader.rc is: > > > > set root_disk_unit=0 > > autoboot 10 > > This may have to be: set root_disk_unit=1 autoboot 10 for an all ide system. My configuration is DOS/NT on IDE disk (two primary fdisk partitions), FBSD on a SCSI second (and third and fourth) disk. Someone with a range of hardware should work out all these nuances before the FAQ is updated, IMO. [much elided] -- M. L. Dodson bdodson@scms.utmb.edu 409-772-2178 FAX: 409-772-1790 To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message