*BSD News Article 71982


Return to BSD News archive

Path: euryale.cc.adfa.oz.au!newshost.anu.edu.au!harbinger.cc.monash.edu.au!nntp.coast.net!howland.reston.ans.net!gatech!news.mathworks.com!newscaster-1.mcast.net!cs.tu-berlin.de!loewis
From: loewis@cs.tu-berlin.de (Martin v.Loewis)
Newsgroups: comp.unix.bsd.freebsd.misc
Subject: panic mounting root
Date: 25 Jun 1996 22:44:21 GMT
Organization: Technical University of Berlin, Germany
Lines: 35
Message-ID: <4qpq45$co3@news.cs.tu-berlin.de>
NNTP-Posting-Host: cent.cs.tu-berlin.de
Mime-Version: 1.0
Content-Type: text/plain; charset=iso-8859-1
Content-Transfer-Encoding: 8bit

I have problem booting FreeBSD 2.1 from a SCSI disk on a system with two
IDE disks installed. The SCSI controller is Adaptec 2940, BIOS enabled.
I use LILO to boot DOS and Linux, and now added /dev/sda1 (first partition
on first SCSI disk) to /etc/lilo.conf. I also told it to use chain.b to
load the FreeBSD boot loader.
The kernel loads properly and recognizes all devices. It then panics because
it cannot find the root on sd(2,a). Initially, the boot manager told me that
it will load from wd(2,a). I found that explicitely stating hd(2,a) works.
The question now is: Can I make this setting persistent, or do I have to
specifiy it every time I boot FreeBSD?

TIA,
Martin

P.S. I really hope the FreeBSD installation of 2.2 has improved. Here is
my problem list:
- it did not recognize the ATAPI CD, which is the master on the second adapter.
Now that I got it installed, after recompilation, it found the CD-ROM
(disabling wdc2/3 did the trick as advertised in this group).
- I could have copied the dists directory to a drive with free space.
Unfortunately, the only free space was on logical drives, which are not 
supported.
- I copied only dists/bin to c:\freebsd\bin, which got me started. After
installation, I tried to do the same things with dists/src, but now
sysinstall claimed that the packages where not on wd0s3. Mounting it
and specifying the absolute path worked - however, this was hard for a
newbee like me who does not know FreeBSD device names. The same problem
later occured with the CD-ROM, sysinstall did not find it, so I mounted it.
- I could not manage to set the German keyboard using sysinstall after 
booting. I ended up manually modifying /etc/sysconfig. This is well 
documented, so once you find the file, you know how to change it.
- When removing all unnecessary drivers, I left ahc (?: Adaptec 2940)
in but disabled scbus0. This was honoured with missing symbols during
linking. Doesn't config check for consistency, like: You need scbus if
you enable one SCSI host adapter driver?