*BSD News Article 25853


Return to BSD News archive

Newsgroups: comp.os.386bsd.questions
Path: sserve!newshost.anu.edu.au!munnari.oz.au!bunyip.cc.uq.oz.au!harbinger.cc.monash.edu.au!yeshua.marcam.com!usc!howland.reston.ans.net!pipex!uknet!festival!edcogsci!richard
From: richard@cogsci.ed.ac.uk (Richard Tobin)
Subject: Re: Possible to run from second IDE drive only?
Message-ID: <CJGr7n.CKD@cogsci.ed.ac.uk>
Organization: HCRC, University of Edinburgh
References: <RICHV.94Jan10120323@hpingll.cup.hp.com>
Date: Tue, 11 Jan 1994 11:42:59 GMT
Lines: 22

In article <RICHV.94Jan10120323@hpingll.cup.hp.com> richv@hpingll.cup.hp.com (Rich Van Gaasbeck) writes:
>I'd like to run NetBSD from my second IDE drive only.

>config netbsd root on wd1 swap on wd1

You shouldn't need to do this, I think.  The system detects which disk
it was booted from and gets the root (a) and swap (b) partitions from
there.  I think you'll find it says "changing root device to wd1a".

Indeed, what's hard is stopping it from switching.  I wanted alternative
root partitions on two disks, but have both of them use disk 0 for
swap (ie root on wd1 swap on wd0).  This involved hacking autoconf.c.

You will however either need a boot selection program (like os-bs) or
a floppy to boot it.  It may work just to boot from the distribution
floppy and type "wd(1,0)netbsd" when it asks for the program to boot.

-- Richard
-- 
Richard Tobin, HCRC, Edinburgh University                 R.Tobin@ed.ac.uk

"We demand guaranteed rigidly defined areas of doubt and uncertainty" - HHGTTG