Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 20 Apr 1999 23:54:12 +0100
From:      Mark Ovens <marko@uk.radan.com>
To:        Rick Siple <RickSiple@mpainc.com>
Cc:        "Questions (E-mail)" <freebsd-questions@freebsd.org>
Subject:   Re: Boot FreeBSD 3.x from NT boot loader
Message-ID:  <19990420235411.D252@marder-1>
In-Reply-To: <8FCA4DE144C8D211A4D30090273D14196F14@BLUE>; from Rick Siple on Tue, Apr 20, 1999 at 05:22:23PM -0400
References:  <8FCA4DE144C8D211A4D30090273D14196F14@BLUE>

next in thread | previous in thread | raw e-mail | index | archive | help
On Tue, Apr 20, 1999 at 05:22:23PM -0400, Rick Siple wrote:
> 	I was looking for information of which file generated by compiling
> the code under /usr/src/sys/boot/i386 represented the boot blocks.  The
> instructions I found on the web page said to use one of the files generated
> from compiling the source in /usr/src/sys/i386/boot/biosboot.  Specifically
> using the file called boot.nohdr, the 2.2.x boot blocks.  Your method,
> however, would work just as well.  
> 	Although I was hoping for something using the cp command instead of
> the dd command, for novice users.  cp seems to have less potential for
> damage than dd.

dd(1) should be safe, as long as you make sure the input file (if=)
is the disk (/dev/r<whatever>) and the output file (of=) is a
regular file (e.g. /mnt/BOOTSECT.BSD). It's when you make the output
file the raw disk that you'll start regretting it ;-)

> 	Thanks again.  I'll use your method and continue investigating.
> 
> __________
> Rick Siple
> ricksiple@mpainc.com
> 
> 
> -----Original Message-----
> From: Mark Ovens [mailto:marko@uk.radan.com]
> Sent: Tuesday, April 20, 1999 4:37 PM
> To: Rick Siple
> Cc: Questions (E-mail)
> Subject: Re: Boot FreeBSD 3.x from NT boot loader
> 
> 
> On Tue, Apr 20, 1999 at 04:05:12PM -0400, Rick Siple wrote:
> > 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/<raw_fbsd_slice> 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
> 
> 

-- 
      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




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