*BSD News Article 23655


Return to BSD News archive

Path: sserve!newshost.anu.edu.au!munnari.oz.au!spool.mu.edu!howland.reston.ans.net!europa.eng.gtefsd.com!news.umbc.edu!eff!news.kei.com!bloom-beacon.mit.edu!ai-lab!life.ai.mit.edu!mycroft
From: mycroft@duality.gnu.ai.mit.edu (Charles Hannum)
Newsgroups: comp.os.386bsd.questions
Subject: Re: NetBSD on 2nd IDE-drive
Date: 11 Nov 1993 20:21:18 GMT
Organization: MIT Artificial Intelligence Lab
Lines: 30
Distribution: world
Message-ID: <MYCROFT.93Nov11152118@duality.gnu.ai.mit.edu>
References: <MS.93Nov11184329@james.tools.de>
NNTP-Posting-Host: duality.ai.mit.edu
In-reply-to: ms@tools.de's message of 11 Nov 1993 17:43:28 GMT


In article <MS.93Nov11184329@james.tools.de> ms@tools.de (Michael
Schaake) writes:

   Is there a possibility to boot NetBSD from the second IDE-drive,
   for example with a special boot disk?

You could use one of the `boot manager' programs like OS-BS or
BootEasy.  I know nothing about them, as I have never used them.

Alternately, you could simply boot using the `kernel copy' floppy and
type the correct path at the prompt.

Boot: [[[fd(0,a)]/netbsd][-s][-a][-d]] :- wd(1,a)/netbsd

You could also hard-wire a default in a special copy of the boot
block.  To wit, in boot.c:

        part = 0;
        unit = drive&0x7f;
        maj = (drive&0x80 ? 0 : 2);             /* a good first bet */

You could change that to:

	part = 0;
	unit = 1;
	maj = 0;	/* 2nd SCSI disk, partition a */

The possibilities are endless.