*BSD News Article 95955


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.mel.aone.net.au!news.mel.connect.com.au!munnari.OZ.AU!news.Hawaii.Edu!news.caldera.com!enews.sgi.com!news.mathworks.com!feeder.chicago.cic.net!su-news-hub1.bbnplanet.com!news.bbnplanet.com!nntp1.crl.com!polo.iquest.com!vespucci.iquest.com!dougal
From: Dougal Campbell <dougal@vespucci.iquest.com>
Newsgroups: comp.unix.bsd.freebsd.misc
Subject: Re: How to boot from sd1?
Date: 23 May 1997 15:27:44 GMT
Organization: interQuest Online Services -- Huntsville, AL
Lines: 43
Distribution: world
Message-ID: <5m4d1g$kh9$1@polo.iquest.com>
References: <5lptj0$5io$1@polo.iquest.com> <5lrrms$l8u@ui-gate.utell.co.uk>
NNTP-Posting-Host: vespucci.iquest.com
X-Newsreader: TIN [UNIX 1.3 unoff BETA 970424; i386 FreeBSD 2.1.5-RELEASE]
Xref: euryale.cc.adfa.oz.au comp.unix.bsd.freebsd.misc:41409

Brian Somers <brian@shift.utell.net> wrote:
> In article <5lptj0$5io$1@polo.iquest.com>,
> 	dougal@vespucci.iquest.com (Dougal Campbell) writes:
> > 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?

> RTFM nextboot :)

Okay, I did. And I tried it. And it won't work. I assume because my
disk is "dangerously dedicated", and there's a note in the nextboot
manpage that sounds like it might not be compatible with that.

My next trick was to try messing around with
/usr/src/sys/i386/boot/biosboot/boot.c, recompiling the boot loader
files, and using "disklabel -B sd1". But I couldn't get that to work
either (due to lack of knowledge of just how all the boot logic works).

I guess I'm just going to have to wipe the drive and reinstall with
partition compatibility, then try nexboot again.

I'm glad I finally broke down and bought the CD. Installing over a PPP
connection was starting to get annoying.

So.... When is somebody gonna port LILO to FreeBSD? LILO rocks! ;)

-- 
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