Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 15 Jun 1999 22:39:59 +0100
From:      Mark Ovens <markov@globalnet.co.uk>
To:        Clem.Dye@wdr.com
Cc:        bdodson@beowulf.utmb.edu, as_hombert@ibm.net, Questions@FreeBSD.ORG
Subject:   Re: Re: Booting FreeBSD with Win NT
Message-ID:  <19990615223959.A254@marder-1>
In-Reply-To: <H000008201cf3c91@MHS>; from Clem.Dye@wdr.com on Tue, Jun 15, 1999 at 08:50:43AM %2B0100
References:  <H000008201cf3c91@MHS>

next in thread | previous in thread | raw e-mail | index | archive | help
On Tue, Jun 15, 1999 at 08:50:43AM +0100, Clem.Dye@wdr.com wrote:
> 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!!!
> 

I don't see any need to use a 3rd party solution when FreeBSD has
2 of it's own. The dd(1) method should work for you (it works for
me on 3.1 & I don;t think there are any major differences in the
boot mechanism between 3.1 & 3.2).

Copying /boot/boot0 sounds like an even easier solution, however
I just tried it on my system ('/' is on the first drive) by copying
/boot/boot0 to BOOTSECT.BSD (after backing up the original) and
rebooted. All I got displayed when I selected FreeBSD from the NT
menu was:

default: F1 _

(the '_' shows the cursor position). Every key I pressed just caused
it to beep.

Maybe, /boot/boot0 only works if / is on a disk other than the
first?

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

-- 
      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?19990615223959.A254>