*BSD News Article 31704


Return to BSD News archive

Path: sserve!newshost.anu.edu.au!harbinger.cc.monash.edu.au!msuinfo!agate!howland.reston.ans.net!pipex!sunic!trane.uninett.no!eunet.no!nuug!EU.net!uunet!news.iij.ad.jp!isac.co.jp!nobu
From: nobu@psrc.isac.co.jp (Nobuhiro Yasutomi)
Organization: ISAC,Inc. (International Sekisui AI Corporation) JAPAN
Message-ID: <94Jun16.28838@psrc.isac.co.jp>
Date: Thu, 16 Jun 1994 13:53:37 GMT
Mime-Version: 1.0
Content-Type: text/plain; charset=ISO-2022-JP
Lines: 27
In-reply-to: weber@rhrk.uni-kl.de's message of Wed, 15 Jun 1994 14:47:13 GMT
Newsgroups: comp.os.386bsd.questions
Subject: Re: FreeBSD 1.1: How to change boot-loader to use second drive ?
References: <1994Jun15.144713.4421@rhrk.uni-kl.de>

In article <1994Jun15.144713.4421@rhrk.uni-kl.de> weber@rhrk.uni-kl.de (Christoph Weber-Fahr [KIT]) writes:

> I've got an IDE and two SCSI drives in my system. FreeBSD has its 
> root-partition on the first SCSI drive. 
> 
> So I have wd0, sd0 and a (non working, until now) sd1 .
> 
> Is there a way to boot from sd0 without typing hd(1,a)/386bsd
> on boot-time ?

  Modify boot loader and install it. I'm using same disk configration
and bootup NetBSD in the first SCSI. Almost same as FreeBSD.

*** boot/boot.c	Sat Oct 16 12:11:17 1993
--- sdboot/boot.c	Fri Dec 31 19:51:01 1993
***************
*** 86,91 ****
--- 86,92 ----
  	\***************************************************************/
  	part = unit = 0;
  	maj = (drive&0x80 ? 0 : 2);		/* a good first bet */
+ 	if ((drive&0x8f)==0x81) maj=unit=1;	/* boot from hd1a   */
  	name = names[currname++];
---
Nobuhiro Yasutomi
nobu@psrc.isac.co.jp
MGG02210@niftyserve.or.jp