*BSD News Article 58557


Return to BSD News archive

Path: euryale.cc.adfa.oz.au!newshost.anu.edu.au!harbinger.cc.monash.edu.au!news.mel.connect.com.au!munnari.OZ.AU!spool.mu.edu!howland.reston.ans.net!blackbush.xlink.net!zib-berlin.de!news.tu-chemnitz.de!irz401!uriah.heep!news
From: j@uriah.heep.sax.de (J Wunsch)
Newsgroups: comp.unix.bsd.freebsd.misc
Subject: Re: Booting from primary disk on secondary PCI IDE controller
Date: 30 Dec 1995 09:30:51 GMT
Organization: Private BSD site, Dresden
Lines: 36
Message-ID: <4c30sb$p1l@uriah.heep.sax.de>
References: <4c1avr$73@daneel.sds.no>
Reply-To: joerg_wunsch@uriah.heep.sax.de (Joerg Wunsch)
NNTP-Posting-Host: localhost.heep.sax.de
Mime-Version: 1.0
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 8bit
X-Newsreader: knews 0.9.3

toreh@bootes.sds.no (Tore haraldsen) writes:

> My machine, a Celebris 560 w/CMD640 PCI dual EIDE controller, is set
> up with a Conner CFP850A as primary disk on the first IDE
> controller, a Quantum LPS540A as primary disk on the second IDE
> controller, and a Sony CDU55-E as a secondary on the second
> controller.

> Then comes the re-boot and a small problem:
> 
> The command to boot from the second disk turns out to be
> 
> 	wd(1,a)/kernel
> 
> ... and then the kernel goes on to try to mount the root file system from 
> wd1a! GREAT, except it is actually on wd2a!!

> I tried the /kernel -a flag, and the kernel does NOT ask what file
> system to mount as root file system.

Variants with `holes' in the IDE drive assignment aren't fully
supported.  There are too many variations. :-(  (In particular,
if you are also thinking about an additional SCSI controller.)

> What can I do the make this configuration work with just a boot floppy?

Modify the code for the bootblocks in sys/i386/boot/biosboot/boot.c,
remake the bootblocks, and the disklabel -B -b boot1 -s boot2 fd0
in order to install the new blocks on your floppy.

-- 
cheers, J"org

joerg_wunsch@uriah.heep.sax.de -- http://www.sax.de/~joerg/ -- NIC: JW11-RIPE
Never trust an operating system you don't have sources for. ;-)