Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 29 May 1997 09:04:09 +0300
From:      Nadav Eiron <nadav@barcode.co.il>
To:        chaos@tgci.com
Cc:        questions@FreeBSD.ORG
Subject:   Re: Can one dual boot fbsd?  No?  (was Re: wd0/sd0 can't bo
Message-ID:  <338D1C59.7A0B@barcode.co.il>
References:  <199705290308.UAA12653@train.tgci.com>

next in thread | previous in thread | raw e-mail | index | archive | help
Riley J. McIntire wrote:
> 
 [snip]
> >
> > Try giving:
> > 1:sd(0,a)/kernel
> >
> That worked!  I did try it in a previous incarnation, but the config
> was differnent.
> 
> Now, why doesn't the boot loader work?  Not a big deal, but a theory
> would be nice.

Here it goes (I may be mistaken, as I'm not the one who've written the
code, but still...):
The 1: at front hints to the boot code that the disk you're about to
boot is known by the BIOS as the second disk (BIOS code 0x81).
Otherwise, FreeBSD cannot guess what drive to ask the BIOS to boot from,
and its best shot is to use the number you have on the device name, so
when you give it sd0 it assumes it's your first disk (#0), but in your
case, that's wd0. This is simply because the boot code has no sure way
of knowing the mapping between FreeBSD device names and BIOS disk
numbers.

> 
> I have what I need (abscent a power failure while i'm gone) to boot
> the 2.2.2 scsi disk and mount the 2.1.7 IDE disk.
> 
> Thanks,
> 
> Riley
> 
> > at the boot prompt. Also make sure your SCSI disk is bootable (i.e. your
> > BIOS should know about it).
> >
> > [snip]
> >
> > Never tried it myself, but it just may work,
> > Nadav
> >
> >
Nadav



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?338D1C59.7A0B>