*BSD News Article 29973


Return to BSD News archive

Path: sserve!newshost.anu.edu.au!harbinger.cc.monash.edu.au!msuinfo!agate!howland.reston.ans.net!EU.net!Germany.EU.net!news.dfn.de!zib-berlin.de!math.fu-berlin.de!cs.tu-berlin.de!nuggets
From: nuggets@cs.tu-berlin.de (Lars Hentschke)
Newsgroups: comp.os.386bsd.questions
Subject: Re: I'm tired of typing hd(1,a)/386bsd everytime I boot!  [FreeBSD]
Date: 27 Apr 1994 11:14:29 GMT
Organization: Technical University of Berlin, Germany
Lines: 31
Message-ID: <2plhel$sh5@news.cs.tu-berlin.de>
References: <mldCowtM2.1Br@netcom.com>
NNTP-Posting-Host: krone.cs.tu-berlin.de
Mime-Version: 1.0
Content-Type: text/plain; charset=iso-8859-1
Content-Transfer-Encoding: 8bit

Matthew Deter (mld@netcom.com) wrote:

: I have FreeBSD 1.0.2 on my 486 box, with C: (in the BIOS config) as an
: IDE and D: is where the 1542 patches in its BIOS.  The IDE is OS/2,
: the SCSI is FreeBSD.  Everything is peachy except that the bootblock
: defaults to the IDE controller/device.  I have to manually point the
: bootstrap code to my SCSI disk (as per the note displayed on boot).

: I tire of this.  (been doing it for a few weeks now!)  How do I
: rewrite the bootblock so that it *defaults* to the SCSI drive?  Do I
: use "disklabel?"  Must I be in single user mode?

: Advice sought!  I don't want to blow away my boot block and have to 
: do a reinstall...  :-)  (and be no better off!)

: I grep'd the FAQ but didn't find this one covered (or in the index).

: Thanks!

you must compile a new XXboot and bootXX

(in /sys/i386/boot , or so )

in boot.c is a line
"part=unit=0"
change it to "part=0 ;unit=1" and recompile it.

there appears XXboot and bootXX, this write onto disk (disklabel)
in this Makefile is also a point to do this with 'make $#$#@$' , i think

Bis denne ... Lars