*BSD News Article 21278


Return to BSD News archive

Newsgroups: comp.os.386bsd.development
Path: sserve!newshost.anu.edu.au!munnari.oz.au!news.Hawaii.Edu!ames!agate!howland.reston.ans.net!europa.eng.gtefsd.com!uunet!sunic!trane.uninett.no!news.eunet.no!nuug!news.eunet.fi!KremlSun!kiae!relcom!rdrel!vak
From: vak@rd.relcom.msk.su (Serge Vakulenko)
Subject: Re: changing bootwd for 2nd IDE drive? [NetBSD]
Organization: Relcom R&D
References: <BRAD.93Sep19092040@stemwinder.FCR.COM>
Message-ID: <1993Sep21.124532.18065@rd.relcom.msk.su>
X-Newsreader: TIN [version 1.1 PL6]
Date: Tue, 21 Sep 1993 12:45:32 GMT
Lines: 23

Brad Parker (brad@FCR.COM) wrote:
: I'm running NetBSD 0.9 on a 2nd IDE drive.  I'm using booteasy to boot
: from the 2nd IDE.  This works great.  I'd like the boot tracks to
: default to wd1, however (so I don't have to type "wd(1,a)/netbsd" each
: time). 

Booteasy passes the number of boot disk and the pointer
to partition table entry to the secondary boot block.

From boot.asm of booteasy:
	; Jump to secondary boot.
	; DL now contains boot disk number (80h or 81h);
	; ES:SI contains the address of partition table
	; entry to boot.

It would be great if BSD boot block used these values.
Then we would have more than one root filesystem per disk!
Very useful thing for crash recovery, IMHO.

Unfortunately, I cannot make it myself now -- I have no system
with two disks today.

Serge Vakulenko