Return to BSD News archive
Path: sserve!newshost.anu.edu.au!harbinger.cc.monash.edu.au!bunyip.cc.uq.oz.au!munnari.oz.au!constellation!news.uoknor.edu!ns1.nodak.edu!netnews.nwnet.net!news.clark.edu!spool.mu.edu!sgiblab!gatekeeper.us.oracle.com!dcsun4.us.oracle.com!bcaruthe From: bcaruthe@us.oracle.com (Bruce Caruthers) Newsgroups: comp.os.386bsd.questions Subject: Re: Bypassing boot options screen in FreeBSD Date: 27 Jul 1994 08:08:01 GMT Organization: Oracle Corporation, Redwood Shores, Calif. Lines: 42 Message-ID: <3154l1$8mk@dcsun4.us.oracle.com> References: <30eoi0$45k@venus.mcs.com> <30jqtm$133@keltia.frmug.fr.net> <vanepp.774804569@sfu.ca> <MYCROFT.94Jul22212439@duality.gnu.ai.mit.edu> NNTP-Posting-Host: kate.us.oracle.com In article <MYCROFT.94Jul22212439@duality.gnu.ai.mit.edu>, Charles M. Hannum <mycroft@duality.gnu.ai.mit.edu> wrote: >In article <vanepp.774804569@sfu.ca> vanepp@fraser.sfu.ca (Peter Van >Epp) writes: > Better yet: > > * floppy or hard drive * > > \***************************************************************/ > unit = drive & 0x7f; /* select the drive we booted from */ > part = 0; > > maj = (drive&0x80 ? 0 : 2); /* a good first bet */ > >I put this change in the NetBSD/i386 boot block on September 7, 1993. >It works in almost all cases, except where a machine has both SCSI and >IDE/ESDI/ST506, and you want to boot off something other than drive >C:. So, what about those of us (I assume I am not the only one) with a situation such as: DOS on C: (wd0) and D: (sd0), WinNT on E: (sd0), and *BSD (sd0) (in this case, FreeBSD, but that may or may not change as new releases come out, until I settle on one (it used to be 386bsd))? I have the beta of OS-BS and can boot off of the scsi disk, but I always have to type the "sd0(1,a)/386bsd" (or whatever it is, I don't remember -- haven't booted to bsd in a few days, I've been working on the SGI and Sun). Any solutions to this? I will be adding another IDE drive and additional SCSI drives as money allows. (I'll probably end up running both *BSD's for a while.) Thanks, -bkc PS - I'm not entirely clear on how I put this boot code in place, once it is working. -- ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ "Imagination is the one weapon in the war against reality." (Jules de Gaultier) -- Bruce Caruthers bcaruthe@Oracle.Com bkc@cs.Princeton.Edu "To get the attention of a large animal, be it an elephant or a bureaucracy, it helps to know what part of it feels pain. Be very sure, though, that you want its full attention." -- Kelvin Throop, "Analog" Dec 1984