*BSD News Article 50654


Return to BSD News archive

Path: euryale.cc.adfa.oz.au!newshost.anu.edu.au!harbinger.cc.monash.edu.au!simtel!pravda.aa.msen.com!spool.mu.edu!howland.reston.ans.net!tank.news.pipex.net!pipex!news.mathworks.com!news.kei.com!newshost.marcam.com!Empire.Net!news.net99.net!berry.elite.net!almond.elite.net!not-for-mail
From: nate@elite.net (Nate Lawson)
Newsgroups: comp.unix.bsd.freebsd.misc
Subject: booting sd(0,a)/kernel from a floppy
Date: 5 Sep 1995 14:31:50 -0700
Organization: Elite Networking (Merced, CA)
Lines: 19
Message-ID: <42ifk6$6dl@almond.elite.net>
NNTP-Posting-Host: nate@elite.net

I am running FreeBSD 2.0.5R with an Adaptec 2940 running a DEC 4 gig 
drive.  The DEC apparently has a gemoetry mismatch because FreeBSD won't 
boot from it.  I understand that to fix it, I have to boot DOS, make a 
DOS partition, and then repartition.  Unfortunately, this machine is used 
by many people and downtime is not an option.

I can boot FreeBSD by typing in "sd(0,a)/kernel" after booting the 
install floppy.  What I'd like to do is make a floppy whose sole purpose 
is to boot sd(0,a)/kernel instead of fd(0,a).

I've read through all the source and README's in the kernel biosboot 
section, and even made some custom bootblocks and written them to the 
floppy, but I can't seem to get it to default to sd0.

Can anyone tell me what part of boot.c to modify to get my desired 
behavior?  Thanks.

-Nate