From owner-freebsd-questions Tue Oct 21 02:46:55 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.7/8.8.7) id CAA03980 for questions-outgoing; Tue, 21 Oct 1997 02:46:55 -0700 (PDT) (envelope-from owner-freebsd-questions) Received: from gatekeeper.barcode.co.il (gatekeeper.barcode.co.il [192.116.93.17]) by hub.freebsd.org (8.8.7/8.8.7) with ESMTP id CAA03971 for ; Tue, 21 Oct 1997 02:46:47 -0700 (PDT) (envelope-from nadav@barcode.co.il) Received: (from smap@localhost) by gatekeeper.barcode.co.il (8.8.5/8.6.12) id LAA22940; Tue, 21 Oct 1997 11:46:15 +0200 (IST) X-Authentication-Warning: gatekeeper.barcode.co.il: smap set sender to using -f Received: from localhost.barcode.co.il(127.0.0.1) by gatekeeper.barcode.co.il via smap (V1.3) id sma022938; Tue Oct 21 11:46:05 1997 Message-ID: <344C79AE.571@barcode.co.il> Date: Tue, 21 Oct 1997 11:45:18 +0200 From: Nadav Eiron X-Mailer: Mozilla 3.0 (X11; I; SunOS 5.6 sun4u) MIME-Version: 1.0 To: JBradley@ucsd.edu CC: FREEBSD-QUESTIONS@FreeBSD.ORG Subject: Re: panic: cannot mount root References: <199710210651.XAA10415@sdcc14.ucsd.edu> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-questions@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk JBradley@ucsd.edu wrote: > > To whomever wants to help: > > After a minimal install of BSD, it fails to boot correctly. Here is the > setup. > > 2 disk system > 1st disk is pure DOS and booteasy > 2nd has 32M DOS partition at front and FreeBSD slice on remainder. > Disk 1 shows up as wd0 > Disk 2 shows up as wd2 (that's wd2, NOT wd1). > 48 M ram. (I saw the similar problem in errata that involver 48M machines > and failure to mount fd0 as root during install. I tried the solution > given: I went into config and set "iosize npx0 32768" but it didn't work.) > > When the kernel loads, all devices are probed correctly. When system > attempts "changing root device to wd1a," the system panics with "panic: > cannot mount root" and restarts. The odd thing is that, during setup, the > root "/" partition of the FreeBSD slice showed wd2s2a, and the drives were > wd0 and wd2. It seems like the kernel is looking to wd1 for the root. How > can I change this to get it to boot properly? > > Thanks, > Justin Bradley Give the line 1:wd(2,a)/kernel at the Boot: prompt. You can use /boot.config to make that change permanent (assuming you have a recent enough version, which you do not specify). Nadav