*BSD News Article 87153


Return to BSD News archive

Path: euryale.cc.adfa.oz.au!newshost.carno.net.au!harbinger.cc.monash.edu.au!munnari.OZ.AU!news.mel.connect.com.au!news.syd.connect.com.au!phaedrus.kralizec.net.au!news.mel.aone.net.au!grumpy.fl.net.au!news.webspan.net!newsfeeds.sol.net!newspump.sol.net!howland.erols.net!ix.netcom.com!netcom.net.uk!xara.net!emerald.xara.net!uknet!usenet1.news.uk.psi.net!uknet!uknet!news.prd.nomura.co.uk!news-server
From: Steve Gailey <steveg@metrosol.demon.co.uk>
Newsgroups: comp.unix.bsd.freebsd.misc
Subject: modifying FreeBSD boot blocks
Date: Wed, 22 Jan 1997 10:30:35 +0000
Organization: Metronome Solutions Ltd.
Lines: 34
Message-ID: <32E5EC4B.3B85@metrosol.demon.co.uk>
NNTP-Posting-Host: 147.201.66.79
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
X-Mailer: Mozilla 3.0 (X11; I; SunOS 5.4 sun4m)
Xref: euryale.cc.adfa.oz.au comp.unix.bsd.freebsd.misc:34336

The background:

I have a PC with DOS/Windows on the wd(0) and FreeBSD on the sd(0). I
boot from floppy by entering 1:sd(0,a)/kernel. I tried useing hd but
that didn't work at all, though it did with 2.0.

The Requirement:

What I want is a boot floppy that will do what I wan't without user
intervention.

The problem:

I have lloked at the stuff in /usr/src/sys/i386/boot/biosboot
and I find the README.386BSD doesn't seem up-to-date as it still talks
about booting with hd for systems with two differnt controllers though
this doesn't work at all and there is no mention of the 1:sd syntax that
I use. (gleaned from this news group).

I have looked briefly at the source and there is a comment about #define
ing BOOT_HT (I think this should be BOOT_HD) to do what I want, though
this seems to just make hd the default device.

I am tempted to set maj, unit and name manually to give me sd (devs[4])
as the device to boot from.

The Questions:

Has anyone done this? Am I looking in the right place? Have I understood
the boot process?

Thanks in advance.

Steve