*BSD News Article 19915


Return to BSD News archive

Newsgroups: comp.os.386bsd.misc
Path: sserve!newshost.anu.edu.au!munnari.oz.au!news.Hawaii.Edu!ames!agate!usenet.ins.cwru.edu!neoucom.edu!news.uakron.edu!news.csuohio.edu!stever
From: stever@csuohio.edu (Steve Ratliff)
Subject: Re: Will this work (two IDE drives, DOS and *BSD)?
Message-ID: <1993Aug24.015342.14669@news.csuohio.edu>
Sender: news@news.csuohio.edu (USENET News System)
Organization: Cleveland State University
X-Newsreader: Tin 1.1 PL5
References: <CC73xF.8n0@rex.uokhsc.edu>
Date: Tue, 24 Aug 1993 01:53:42 GMT
Lines: 54

Benjamin Z. Goldsteen (ben@rex.uokhsc.edu) wrote:
:       I currently have a 386SX-20, 5MB RAM, 44MB IDE (Seagate ST157-A
: -- 560 cyls, 6 heads, 26 syls), AMI BIOS, etc.  I just bought a Connor
: DiskStor 84MB IDE drive (physical is 2 heads, 1522 cyls, and 46
: sectors) because my Seagate died on me (not the first time).  However,
: my Seagate came mysteriously back to life and I am thinking of trying
: to 386BSD/NetBSD/FreeBSD again.  I would like to have a 20 MB DOS
: partition on the Connor's (which will be the primary/master/C: -- I do
: not and have never trusted this Seagate) with the rest of it and the
: rest of the Seagate being one of these 386BSD's.  I have had some
: problems mixing NetBSD and DOS before and I am wondering if this will
: work?
: 
:      You may wonder why I want DOS on the Connor.  If the Seagate goes
: out again, than I only loose UNIX -- which is no big deal for me
: because I only intend to look around, recompile kernels, play around
: with device drivers (all the stuff people used to do before buying
: source from AT&T got expensive).  "real work" for me still has to be
: under DOS because I need WordPerfect.
: 
:      Also, which is the boot manager to use?  Perhaps not a manager --
: something simple like a program for DOS called bootunix.exe and a
: program for UNIX called bootdos.  A floppy I could insert that would
: boot UNIX would be fine, too (I do not want to load the kernel from a
: floppy).  I would like it to boot DOS normally/no questions asked.
: 
: Thank you
: -- 
: Benjamin Z. Goldsteen

	Things are not quite so bad as Terry suggests.  You have a
number of quick and dirty alternatives.
1.  Since you wish to only use 20MB for dos on a 80MB drive you can
simply use the original tinybsd disk to install on the connor drive.
Then edit the disklabel to make swap bigger provided that the bsd
partition is the last one on the disk.  You will have to make the "a"
partition correspondingly smaller for example if install makes 
wd0a CYLS 900-1000 and wd0b CYLS 1001-1024 you can change it to
wd0a CYLS 900-990 and wd0b CYLS 991-1024 and then you can install
netbsd or freebsd over top of it.  Then you can
disklabel and newfs the seagate and mount it in your fstab file for
additional space.  Since you only have 5MB of ram the 5 meg swap created
by the tinybsd install is technically big enough.  
2.  It is also possible to set up *BSD entirely on a second drive with
the first drive being entirely dos.  You attach your seagate as the
primary drive and install a *BSD to the entire drive.  You then install
Julian's boot blocks if they don't already come with the *BSD.  You then
modify them to default to the second drive in boot.c by changing the
line part=unit=0; to part=unit=8; (this is untested by me but should
work).  Then re-install the modified boot blocks and reconnect the drive
as the second drive with the connor as the primary drive and install
either BOOTEASY or os-bs on this drive (whichever allows booting from a
second drive).  You should then be in business..