From owner-freebsd-questions Tue Apr 20 13:44:30 1999 Delivered-To: freebsd-questions@freebsd.org Received: from tele-post-20.mail.demon.net (tele-post-20.mail.demon.net [194.217.242.20]) by hub.freebsd.org (Postfix) with ESMTP id 1E75B15349 for ; Tue, 20 Apr 1999 13:44:15 -0700 (PDT) (envelope-from marko@uk.radan.com) Received: from [158.152.75.22] (helo=uk.radan.com) by tele-post-20.mail.demon.net with smtp (Exim 2.12 #2) id 10ZhKw-000NmU-0K; Tue, 20 Apr 1999 20:41:43 +0000 Organisation: Radan Computational Ltd., Bath, UK. Phone: +44-1225-320320 Fax: +44-1225-320311 Received: from marder-1. (rasnt-1 [193.114.228.211]) by uk.radan.com (8.6.10/8.6.10) with ESMTP id VAA00758; Tue, 20 Apr 1999 21:41:08 +0100 Received: (from marko@localhost) by marder-1. (8.9.2/8.8.8) id VAA00383; Tue, 20 Apr 1999 21:37:08 +0100 (BST) (envelope-from marko) Date: Tue, 20 Apr 1999 21:37:08 +0100 From: Mark Ovens To: Rick Siple Cc: "Questions (E-mail)" Subject: Re: Boot FreeBSD 3.x from NT boot loader Message-ID: <19990420213708.B252@marder-1> References: <8FCA4DE144C8D211A4D30090273D14196F13@BLUE> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 0.95.3i In-Reply-To: <8FCA4DE144C8D211A4D30090273D14196F13@BLUE>; from Rick Siple on Tue, Apr 20, 1999 at 04:05:12PM -0400 Organization: Total lack of Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Tue, Apr 20, 1999 at 04:05:12PM -0400, Rick Siple wrote: > Hi, > I have both FreeBSD and Windows NT installed on my laptop. While I > was running 2.2 I had configured the NT boot loader to start FreeBSD using > the instructions on http://www.devious.com/freebsd. After a make > aout-to-elf this configuration stopped working, more than likely due to the > changes to FreeBSD's boot loader. Using a DOS boot disk and the FreeBSD 3.1 > install CD I was able to restore BootEasy. > > This leaves me with two questions: > > 1) How to restore the BootEasy MBR through sysinstall when booting directly > from the FreeBSD 3.1 install CDROM. > I found the appropriate menu under Configure->FDisk, but I can not > get sysinstall to commit the MBR. Info in the mailing list archives > recommended using the bootinst.exe program from the CDROM, but NT will not > allow bootinst to write to the disk. To do this I had to find DOS boot > floppy. This is certainly possible but not optimal because it required > digging up a third operating system (Win95 or DOS). > > 2) Updated instructions for using the NT boot loader. > The aforementioned instructions basically said to used the > boot.nohdr file generated by compiling the boot manager itself. Put this > file on the NTFS partition where the NT loader can find it and add an entry > for the file to the NT boot.ini. This is the same mechanism used to dual > boot NT/95 except instead of using boot.nohdr NT copies the standard MBR to > a file for use by the NT boot loader. So, which if any of the files under > /usr/src/sys/boot/i386 is the 3.x equivalent of the 2.2.x boot.nohdr. > I bounced question #2 off of the person who originally wrote the > instructions for 2.2.x, but he has not recently kept up with FreeBSD so was > not immediately able to answer the question. Perhaps this would be a better > question for the -stable mailing list. > > Thanks. > I'm not 100% sure what you're after here, but if you simply want to get FreeBSD booting off the NT boot menu again then just repeat what you did with 2.2 (assuming drive C: is mounted on /mnt). ``dd if=/dev/ of=/mnt/BOOTSECT.BSD bs=512 count=1'' You may have to boot FreeBSD from a floppy or the CD and select the Fixit option. I found I had to recreate C:\BOOTSECT.BSD after u/g 2.2.8->3.1. HTH > __________ > Rick Siple > ricksiple@mpainc.com > > > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-questions" in the body of the message > -- FreeBSD - The Power To Serve http://www.freebsd.org My Webpage http://www.users.globalnet.co.uk/~markov _______________________________________________________________ Mark Ovens, CNC Apps Engineer, Radan Computational Ltd. Bath UK CAD/CAM solutions for Sheetmetal Working Industry mailto:marko@uk.radan.com http://www.radan.com To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message