*BSD News Article 53170


Return to BSD News archive

Path: euryale.cc.adfa.oz.au!newshost.anu.edu.au!harbinger.cc.monash.edu.au!news.uwa.edu.au!classic.iinet.com.au!swing.iinet.net.au!news.uoregon.edu!news.corpcomm.net!newspeak.ultratech.net!worldlinx.com!news.sprintlink.net!howland.reston.ans.net!nntp.crl.com!decwrl!purdue!news.bu.edu!acs.bu.edu!mi
From: mi@bu.edu (Mikhail Teterin)
Newsgroups: comp.unix.bsd.freebsd.misc
Subject: Re: Windows NT and FreeBSD
Date: 17 Oct 1995 17:59:45 GMT
Organization: Boston University
Lines: 60
Message-ID: <460quh$q42@news.bu.edu>
References: <DGI48B.A73@gateway.dcc.com>
NNTP-Posting-Host: acs.bu.edu
X-Newsreader: TIN [version 1.2 PL2]

Some time ago (Sun, 15 Oct 1995 16:29:15 GMT) honorable Steve Moubray, 
residing at smoubray@dcc.com wrote:
|I need to run MS-DOS, Windows NT and FreeBSD on one 4G SCSI drive.
|What is the easiest way to get FreeBSD and Windows NT to co-exist?  I
|installed FreeBSD after Windows NT and even though I selected to leave
|the boot record intact, FreeBSD ate it up and I could no longer run
|NT.  Luckily I made a backup.

|When I load one of the operating systems I'm there for a few hours so
|I don't really need a quick way to go from one OS to another.  I just
|need a way that is simple with little risk of problems.

Here is a suggestion to try in your case, posted some time ago by a Linux
user:

>mi@cs.bu.edu (Mikhail Teterin) wrote:
>>I'm going to have them both on the same hard-drive. Is there any FAQ?
>>Non of the systems is already installed. I am also interesting in the
>>file-system co-existance. Or should I only use FAT-fs to share files?
>>

>They will coexist but you will not be able to use the NT boot manager.  
>You will have to use the FreeBSD boot manager.

Maybe not. I have added my Linux partition to the NT boot menu. So I don't 
have to use one boot manager for every os I've installed (DOS, Win95, WinNT,
Linux). I'll describe the easiest way in short:

- write a copy of your FreeBSD's boot sector to a file. It should be the
first sector of your FreeBSD boot partiotion. It  shouldn't be very difficult
at all. I'm using diskedit from Norton Utilities 5.0, but there should
be numerous other programs.

- This copy will be used to boot FreeBSD. Everytime the boot sector changes,
you have to redo the first step. With Linux & lilo this is everytime you 
change your /etc/lilo.conf and run lilo. (The config information is held in
the boot sector; BTW you shouldn't use the partition table for lilo :-)

- In the root directory of your NT boot partition the is a hidden and read-
only file called boot.ini. Unhide it (and make it read!) and load it into
an editor; it's plain ascii. Add a line like

	C:\boot.bsd="FreeBSD"

where the part in front of the equal sign is the filename of the boot sector
and the part behind is the Text that shows up in the menu.

- Save boot.ini, make it read only and hidden and you're ready!!!

My first experiences tried to address the boot sector direct (something like
"multi(0)disk(0)rdisk(0)partition(4)"), but that wasn't succesfull. 

-- 
Meik.Langwald@Materna.DE                                     You have new mail.


=============================================================================
	-mi
--
		hot-dog  apple-pie  baseball  Chevrolet