*BSD News Article 20084


Return to BSD News archive

Newsgroups: comp.os.386bsd.misc
Path: sserve!newshost.anu.edu.au!munnari.oz.au!news.Hawaii.Edu!ames!haven.umd.edu!darwin.sura.net!howland.reston.ans.net!usenet.ins.cwru.edu!news.csuohio.edu!stever
From: stever@csuohio.edu (Steve Ratliff)
Subject: Re: Will this work (two IDE drives, DOS and *BSD)?
Message-ID: <1993Aug27.001103.29717@news.csuohio.edu>
Sender: news@news.csuohio.edu (USENET News System)
Organization: Cleveland State University
X-Newsreader: Tin 1.1 PL5
References: <BRAD.93Aug26091051@stemwinder.FCR.COM>
Date: Fri, 27 Aug 1993 00:11:03 GMT
Lines: 51

Brad Parker (brad@FCR.COM) wrote:
: 
: Well, while I thought the discourse was interesting, I have to say I'm
: confused.
: 
: I just installed NetBSD-0.9 on my second IDE drive with only one small change
: to a shell script (the "install" script).
: 
: 1. I installed booteasy 1.2 on my first IDE driver (which also
: contains DOS).  It will happily boot from the 2nd IDE drive (and
: remember it for the next time).
: 
: 2. I used my second 386bsd system (doesn't everyone have 2? ;-) to
: modify the "install1" disk for NetBSD-0.9 . I change the "install"
: script to use "wd1" instead of "wd0".  This was a change to only one
: line. (NOTE: it would have be very nice if the script had already
: allowed for this; next rev?)
: 
: 3. from then on the install worked fine and was "nominal".  just
: remember to type "wd1" when you install the kernel.
: 
: 4. when I boot from the second IDE drive, the boot tracks ask me
: (yea!) what drive/file to boot from.  I enter "wd(1,a)/netbsd".
: 
: Works like a champ. (but, it would be nice if one could configure a
: default boot disk/file)
:

	Try modifying the file boot.c (on my system
/sys/i386/boot/boot.c) by changing the line part=unit=0; to 
part=0; unit=1; Then do a make; make install and a
disklabel -r wd1 >foo  
and then do
disklabel -r -R wd1 foo /usr/mdec/wdboot /usr/mdec/bootwd

	This will hopefully change the default boot to wd1.  I did try
this on my system and the boot messages were correct but since I do not
have a wd1 it went into an error loop.  I was able to type in wd(0,a)/
386bsd and boot off my regular drive and replace the modified bootblocks
with the original ones though.

: My only question is where will the default kernel swap to?  I'm afraid
: to ask (and fear for my ms-dos data).  I'm still downloading sources
: so I can't check myself (yet)...
: 
: -brad
: --
: Politically correct term for `corrupt': Ethically different, morally challenged
: 
: Brad Parker	FCR Software, Inc., Boston, Ma.	brad@fcr.com
: