From owner-freebsd-questions Tue Jun 15 0:51:43 1999 Delivered-To: freebsd-questions@freebsd.org Received: from gate.ldn.wdr.com (gate.ldn.wdr.com [193.82.179.18]) by hub.freebsd.org (Postfix) with ESMTP id 13B3A14EE4 for ; Tue, 15 Jun 1999 00:51:33 -0700 (PDT) (envelope-from Clem.Dye@wdr.com) Received: (from smap@localhost) by gate.ldn.wdr.com (8.8.8/8.8.8) id IAA00972; Tue, 15 Jun 1999 08:51:31 +0100 (BST) From: Clem.Dye@wdr.com Received: from inside(192.168.0.1) by gate via smap (V2.0) id xma000842; Tue, 15 Jun 1999 08:50:58 +0100 Received: from ln4p1129.ldn.swissbank.com (ln4p1129.ldn.swissbank.com [172.16.234.32]) by ln4p1013pos.ldn.swissbank.com (8.8.8/8.8.8) with ESMTP id IAA27545; Tue, 15 Jun 1999 08:50:55 +0100 (BST) Received: from localhost (root@localhost) by ln4p1129.ldn.swissbank.com (8.8.6 (PHNE_14041)/8.8.6/WDR alpha evision: 1.7 $) with SMTP id IAA25108; Tue, 15 Jun 1999 08:50:54 +0100 (BST) X-OpenMail-Hops: 1 Date: Tue, 15 Jun 1999 08:50:43 +0100 Message-Id: Subject: RE: Re: Booting FreeBSD with Win NT MIME-Version: 1.0 To: bdodson@beowulf.utmb.edu, markov@globalnet.co.uk Cc: as_hombert@ibm.net, Clem.Dye@wdr.com, Questions@FreeBSD.ORG Content-Type: text/plain; charset=US-ASCII; name="BDY.TXT" Content-Disposition: inline; filename="BDY.TXT" Content-Transfer-Encoding: 7bit X-Processed-By: BrianWare hpomsmf V2.3.40, 19 May 1999 X-WDR-Disclaimer: Version $Revision: 1.13 $ Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG OK, I think I get the picture, but I'm still a bit confused here. If I install 3.2 on the second partition on my first IDE disk (NT lives on the second drive), which method do I use to create a BOOTSECD.BSD file? Anne's approach of using BOOTPART sounds nice'n'easy, but I'm not clear if this will work with 3.2, given the changes to the boot process/boot files. Is DD still a reliable option in this instance, as a fall-back? Can I frig something during the install process via virtual terminal, for example? Any advice here would be greatly appreciated!!! Clem -----Original Message----- From: bdodson Sent: 14 June 1999 20:03 To: markov Cc: bdodson; Dye, Clem; as.hombert; Questions Subject: Re: Booting FreeBSD with Win NT 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 This message contains confidential information and is intended only for the individual named. If you are not the named addressee you should not disseminate, distribute or copy this e-mail. Please notify the sender immediately by e-mail if you have received this e-mail by mistake and delete this e-mail from your system. E-mail transmission cannot be guaranteed to be secure or error-free as information could be intercepted, corrupted, lost, destroyed, arrive late or incomplete, or contain viruses. The sender therefore does not accept liability for any errors or omissions in the contents of this message which arise as a result of e-mail transmission. If verification is required please request a hard-copy version. This message is provided for informational purposes and should not be construed as a solicitation or offer to buy or sell any securities or related financial instruments. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message