*BSD News Article 26699


Return to BSD News archive

Path: sserve!newshost.anu.edu.au!munnari.oz.au!news.Hawaii.Edu!ames!agate!howland.reston.ans.net!sol.ctr.columbia.edu!caen!msuinfo!harbinger.cc.monash.edu.au!aggedor.rmit.EDU.AU!goanna.cs.rmit.oz.au!yallara!lm
From: lm@yallara.cs.rmit.OZ.AU (Luke Mewburn)
Newsgroups: comp.os.386bsd.questions
Subject: Re: default boot off hd(1,a)386bsd?
Date: 30 Jan 1994 13:02:16 GMT
Organization: Technical Services Group, Dept. of Computer Science, RMIT
Lines: 49
Message-ID: <2igb4o$su5@goanna.cs.rmit.oz.au>
References: <clary.759753970@s1.elec.uq.oz.au>
Reply-To: lm@rmit.edu.au
NNTP-Posting-Host: yallara.cs.rmit.oz.au
NNTP-Posting-User: lm
Keywords: bteasy

clary@s1.elec.uq.oz.au (Clary Harridge) writes:

> I have a problem using bteasy14 with 386bsd sdboot/bootsd $Revision 1.8
>
> My configuration is
> 	Drive 0	DOS on ESDI drive
> 	Drive 1 UNIX on SCSI drive, No DOS partition.
>
> [...]
>
> My queries are
>
> 1)	should I install bteasy on both drives? I had to do this
> 	after the original FreeBSD "install".

No. Just install booteasy on drive 0. Then when you boot you get
a menu like:
	F1 - dos
	F5 - second drive.
Hitting F5 then gives you the *bsd boot loader (which are stored
in the bootblocks on drive 1.) If you install booteasy (BE) on drive 1
as well you get no bsd bootblocks on drive 1 as BE overwrites it.
(I installed BE  on both at one stage and came up against this wall
and then realised what I'd done ;)


> 2)	Is there something else required after the disklabel?

see below


> 3)	Is there an easier way to achive a default boot off hd(1,a)386bsd?

Yeah, hack boot.c and change the assignment `unit=0' to unit=1 (for
the `(1,a)' bit). Then you'll have to hack the maj= for the
appropriate entry for `hd'. (I don't know this. I had 2 IDE drives so
I only had to do the unit=1 bit for netbsd0.9. Netbsd-current has
unit=drive&0x7f which means that it's smart at sets x in (x,a) to the
drive the bootblocks loaded from). compile the bootblocks, relabel yer
drive, and reboot.


> Please email if you can help.
> Thanks!
> -- 
> regards			Dept. of Electrical Engineering,
> Clary Harridge		University of Queensland, QLD, Australia, 4072
> 			Phone: +61-7-365-3636	Fax:   +61-7-365-4999
> 			INTERNET: clary@s1.elec.uq.oz.au