*BSD News Article 33157


Return to BSD News archive

Path: sserve!newshost.anu.edu.au!munnari.oz.au!news.Hawaii.Edu!ames!agate!howland.reston.ans.net!math.ohio-state.edu!jussieu.fr!univ-lyon1.fr!ensta!itesec!keltia.frmug.fr.net!not-for-mail
From: roberto@keltia.frmug.fr.net (Ollivier Robert)
Newsgroups: comp.os.386bsd.questions
Subject: Re: Bypassing boot options screen in FreeBSD
Date: 20 Jul 1994 20:37:28 +0200
Organization: A Happy FreeBSD 1.1.5 Usenet Site
Lines: 24
Message-ID: <30jqtm$133@keltia.frmug.fr.net>
References: <30eoi0$45k@venus.mcs.com> <30fi2l$978@pdq.coe.montana.edu> <30gmv9$fs1@csugrad.cs.vt.edu>
Reply-To: roberto@hsc.fr.net (Ollivier Robert)
NNTP-Posting-Host: keltia.frmug.fr.net
Mime-Version: 1.0
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 8bit

In article <30gmv9$fs1@csugrad.cs.vt.edu>, Jeff Aitken <jaitken@vt.edu> wrote:
> Nate Williams (nate@bsd.coe.montana.edu) wrote:
> directory on ftp.cdrom.com (not os-bs, the other one)  It allows me to
> boot off of the second one just fine, but the default kernel to boot is
> wd(0,a), when I want it to be wd(1,a).  Is there a way to change this so
> I don't have to type wd(1,a) every time?

Recompile the boot blocks and reinstall the label on wd0.

/sys/i386/boot/boot.c
------------------------------------------------------------
loadstart:
	/***************************************************************\
	* As a default set it to the first partition of the first	*
	* floppy or hard drive						*
	\***************************************************************/
	part = unit = 0;                    <<<<<<<<<<<<<<<<<<<<<<<<< put a 1 here
	maj = (drive&0x80 ? 0 : 2);		/* a good first bet */
	name = names[currname++];
------------------------------------------------------------
-- 
Ollivier ROBERT                                           roberto@hsc.fr.net
Hervé Schauer Consultants                Ollivier.Robert@keltia.frmug.fr.net
PERL / MIME / PGP 2.6ui         FreeBSD keltia 1.1.5(RELEASE) RELEASE#0 i386