Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 1 Jun 1996 21:21:49 -0700 (PDT)
From:      "Jonathan M. Bresler" <jmb>
To:        chuckr@Glue.umd.edu (Chuck Robey)
Cc:        FreeBSD-Questions@FreeBSD.org
Subject:   Re: Booting up
Message-ID:  <199606020421.VAA29156@freefall.freebsd.org>
In-Reply-To: <Pine.OSF.3.91.960601232202.25722D-100000@ginger.eng.umd.edu> from "Chuck Robey" at Jun 1, 96 11:25:22 pm

next in thread | previous in thread | raw e-mail | index | archive | help
Chuck Robey wrote:
> 
> On Sat, 1 Jun 1996, Jonathan M. Bresler wrote:
> 
> > Chuck Robey wrote:
> > > 
> > > I need to get the bootup process working.  My setup is 3 scsi disks:
> > > sd0: dedicated to FreeBSD, /, 48M swap (b), and /usr
> > > sd1: also dedicated to FreeBSD, 48M swap (b), and /usr2 (e)
> > > sd2: The small one, 200M dedicated to dos.
> > 
> > 	are all three on the primary scsi controller?
> > 	i have an ncr on the motherboard nd a second ncr pci card,
> > 	but i can only boot from disks connected to the first (motherboard)
> > 	ncr controller 
> 
> Yeah, just one controller, a Tyan one (obviously oem'ed from NCR).
> All three have partition tables made by dos, but only one has
> an active dos partition.  Actually, that's not true, FreeBSD made the 
> partition tables on the first 2 disks, dos only did the third one.

	does bteasy offer you the choice of the other two disks??
	you should see an option "F5 disk 2" or some such.
	BUT looking at the code, it appears that bteasy-1.7 does not
	allow you to boot from the third or higher disk ;(
	rather if your BIOS reports 3 disks, bteasy-1.7 behaves as
	if there is only one disk!  fie!

                cmp     BYTE PTR DS:NumDisks,2 ; is the second disk present?
                je      have2disks      ; have disk 2

                lea     SI,Base+defaultMsg ; prepare 'Default' message
                or      DH,DH           ; no disk 2; do we have valid partitions

                jne     prompt          ; several partitions, wait for reply

                int     18h             ; no partitions, load ROM basic
                jmp     Menu            ; repeat, if no ROM basic

have2disks:
                lea     SI,Base+FkeyMsg ; print 'F5'
                call    Output          ; now SI points to "disk 2\nDefault..."

	more over bteasy-1.7 relies upon BIOS int 13 to select which
	drive it will read the partition (dos partitions aka slices
	*not* unix partitions) table from.  i dont know if the drive
	parameter (register dl) can legally point to a drive other
	than the first or second drive.  van gilluwe does not say ;(

	so.....rearrange your drives.  put dos on either the first or
	second drive.  exit your fstab to match the changes.  if you
	have dump scripts dont forget to edit them as well.
	
jmb
--
Jonathan M. Bresler           FreeBSD Postmaster             jmb@FreeBSD.ORG
FreeBSD--4.4BSD Unix for PC clones, source included. http://www.freebsd.org/



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199606020421.VAA29156>