*BSD News Article 95695


Return to BSD News archive

Path: euryale.cc.adfa.oz.au!newshost.carno.net.au!harbinger.cc.monash.edu.au!munnari.OZ.AU!news.ecn.uoknor.edu!news.wildstar.net!newsfeed.direct.ca!newsfeed.nacamar.de!disgorge.news.demon.net!demon!dispatch.news.demon.net!demon!slugvine.demon.co.uk!slugvine.demon.co.uk!jas
From: jas@slugvine.demon.co.uk (John Stark)
Newsgroups: comp.unix.bsd.freebsd.misc
Subject: Re: FreeBSD & NT & BootManager problems
Date: Sun, 18 May 1997 00:33:38 GMT
Organization: Home
Message-ID: <EACpK2.Lp@slugvine.demon.co.uk>
References: <19970516155522973304@ppp-206-170-6-86.rdcy01.pacbell.net>
NNTP-Posting-Host: slugvine.demon.co.uk
X-NNTP-Posting-Host: slugvine.demon.co.uk [158.152.194.59]
Lines: 51
Xref: euryale.cc.adfa.oz.au comp.unix.bsd.freebsd.misc:41178

In article <19970516155522973304@ppp-206-170-6-86.rdcy01.pacbell.net>,
Hans Cathcart <hans@itavera.com> wrote:
>My friend is trying to install FreeBSD with WinNT on the same machine.
[...]
>He has sucessfully installed FreeBSD, and NT, but whenever he installs
>one it rewrites the BootManager and gets rid of the other systems prefs.
>What should he do?

1. Boot into FreeBSD.  Create a boot sector image file bootsect.bsd from
   the FreeBSD partition using dd.  E.g. for /dev/sd0a:

     dd if=/dev/rsd0a of=bootsect.bsd count=1

   bootsect.bsd will need to be placed in the NT boot partition.  If this
   is FAT, mount it under FreeBSD and copy bootsect.bsd onto it.  If NTFS,
   save bootsect.bsd onto a floppy so that it can be copied back under NT.

2. Boot into NT.  If the FreeBSD installation lost the NT boot manager,
   you need to use the NT Emergency repair disc to recover it. 

3. Copy bootsect.bsd onto the NT boot partition if saved on a floppy in 1.

4. In the root directory of the NT partition will be a file boot.ini, which
   you must edit to add a boot menu entry for FreeBSD.  It will be read-
   only so use "attrib -r boot.ini" first and "attrib +r boot.ini" afterwards.
   Under the section [Operating systems] add a line like the following (the
   filename is your bootsect.bsd file, the text can be anything you like):

     c:\bootsect.bsd="FreeBSD 2.2.1"

   The resulting boot.ini file will look similar to the following:

[boot loader]
timeout=30
;uncomment the next line to default to NT or the one after for FreeBSD
;default=multi(0)disk(0)rdisk(1)partition(1)\WINNT
default=c:\bootsect.bsd
[Operating Systems]
multi(0)disk(0)rdisk(1)partition(1)\WINNT="Windows NT Workstation Version 4.00" 
multi(0)disk(0)rdisk(1)partition(1)\WINNT="Windows NT Workstation Version 4.00 [VGA mode]" /basevideo /sos
c:\bootsect.bsd="FreeBSD 2.2.1"

5. Reboot, and if you pick the FreeBSD entry in the boot menu it
   will boot FreeBSD.

> please reply by email, thank you.
You can read the group again to see any replies - they are posted there
so that they might help other people besides you.
-- 
John Stark (at home), Cambridge, UK   |   mailto:jas@slugvine.demon.co.uk
Tel. Cambridge (01223) 573555         |   http://www.slugvine.demon.co.uk