*BSD News Article 95692


Return to BSD News archive

Path: euryale.cc.adfa.oz.au!newshost.carno.net.au!harbinger.cc.monash.edu.au!news.mira.net.au!news.netspace.net.au!news.mel.connect.com.au!munnari.OZ.AU!uunet!in3.uu.net!192.239.17.140!cpk-news-hub1.bbnplanet.com!news.bbnplanet.com!newsfeed.internetmci.com!newsrelay.courtave.net!polo.iquest.com!vespucci.iquest.com!dougal
From: dougal@vespucci.iquest.com (Dougal Campbell)
Newsgroups: comp.unix.bsd.freebsd.misc
Subject: How to boot from sd1?
Date: 19 May 1997 16:02:40 GMT
Organization: interQuest Online Services -- Huntsville, AL
Lines: 29
Distribution: world
Message-ID: <5lptj0$5io$1@polo.iquest.com>
NNTP-Posting-Host: vespucci.iquest.com
X-Newsreader: TIN [version 1.2 PL2]
Xref: euryale.cc.adfa.oz.au comp.unix.bsd.freebsd.misc:41196

How can I boot from sd1, without installing a bootloader on sd0? This is
related to my previous post about booting from my JAZ drive. Here's my
setup:

  Controller: Adaptec 2940UW
  sd0: Quantum 2G, SCSI ID 0 (Win95 FAT32)
  sd1: JAZ 1G, SCSI ID 4     (FreeBSD 2.2.1 "Dangerously Dedicated")

When I configure the 2940 to use the JAZ as the boot disk, it brings up the
boot prompt. If I let it continue the boot process, it bombs out with an
error stating that it couldn't mount /dev/sd0 as root. 

If I provide "0:sd(1,a)kernel" at the boot prompt, everything boots up just
fine. How can I make that the default boot config?

The mount problem seems to occur inside the kernel, since it happens after
detecting my hardware, so I tried poking around in the kernel source to see
what I could find. But, I just haven't found what I'm looking for.

My hope is to be able to boot alternate OSs from my JAZ by simply specifying
it as my boot disk from the 2940 BIOS setup. Even better would be an easily
configurable boot loader on sd0 which is capable of booting from alternate
disks (I used to do that with lilo on an all IDE system).

--
Dougal Campbell     | "If you ever get close to a human, or human behaviour
Systems Manager     |  You better be ready to get confused...." 
ADViCOM: Hsv, AL    |              -- "Human Behaviour", Bjork
dougal@advicom.net  | ADViCOM: Internet Solutions Provider www.advicom.net