*BSD News Article 35192


Return to BSD News archive

Path: sserve!newshost.anu.edu.au!harbinger.cc.monash.edu.au!news.cs.su.oz.au!news.adelaide.edu.au!gateway.dircsa.org.au!cleese.apana.org.au!apanix.apana.org.au!miff
From: miff@apanix.apana.org.au (Michael Smith)
Newsgroups: comp.os.386bsd.questions
Subject: Re: [FreeBSD] Booting frm sd0 as default?
Date: 31 Aug 94 01:05:36 GMT
Organization: Apanix Public Access Unix, +61 8 373 5485 (5 lines)
Lines: 30
Message-ID: <miff.778295136@apanix.apana.org.au>
References: <miff.777745860@apanix.apana.org.au> <Cv369J.KK3@cogsci.ed.ac.uk> <miff.777951515@apanix.apana.org.au> <CvAuq8.It@cogsci.ed.ac.uk>
NNTP-Posting-Host: seldon.apanix.apana.org.au
Keywords: booting FreeBSD

richard@cogsci.ed.ac.uk (Richard Tobin) writes:

>In article <miff.777951515@apanix.apana.org.au> miff@apanix.apana.org.au (Michael Smith) writes:
>>But if you have one of each, the boot code doesn't go looking at every
>>disk first, so it can't tell this.  The "hd" is a special case that
>>assumes this : hd(0... goes to 0x81 and uses 0,0 while hd(1... goes to 0x81
>>and uses 4,0.
>>
>>Makes sense, no? 8)

>Not very extensible, though.

>So if I have two IDE disks and a SCSI disk, and I want to boot from the
>SCSI, I should hack something into the boot program to use 0x82 and 4/0?
>(DOS does seem to see the SCSI disk as 0x82.)

It's entirely likely that you wouldn't actually be able to boot from the
SCSI under those circumstances - depending on whether or not your BIOS
is capable of supporting more than two harddisks. - If you're not loading
any device drivers for the SCSI card then I would assume it does, and
yes, you're right there.

As has been observed, the boot code is perhaps due for an overhaul 8)

>-- Richard
--
# mike smith : miff@apanix.apana.org.au - Silicon grease monkey        #
# "The question 'why are the fundamental laws of nature mathematical'  #
# then invites the trivial response 'because we define as fundamental  #
# those laws which are mathematical'". Paul Davies, _The_Mind_of_God_. #