From owner-freebsd-questions Tue Sep 10 07:32:14 1996 Return-Path: owner-questions Received: (from root@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id HAA19083 for questions-outgoing; Tue, 10 Sep 1996 07:32:14 -0700 (PDT) Received: from gatekeeper.barcode.co.il (gatekeeper.barcode.co.il [192.116.93.17]) by freefall.freebsd.org (8.7.5/8.7.3) with SMTP id HAA19068 for ; Tue, 10 Sep 1996 07:32:05 -0700 (PDT) Received: (from nadav@localhost) by gatekeeper.barcode.co.il (8.6.12/8.6.12) id RAA08592; Tue, 10 Sep 1996 17:30:08 +0200 Date: Tue, 10 Sep 1996 17:30:08 +0200 (IST) From: Nadav Eiron To: "Michael O. Ljubich" cc: questions@freebsd.org Subject: Re: How install on wd2s1 In-Reply-To: <32356C24.41C67EA6@inko.viaduk.net> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-questions@freebsd.org X-Loop: FreeBSD.org Precedence: bulk On Tue, 10 Sep 1996, Michael O. Ljubich wrote: > Hi > > I installed FreeBsd on secondary master (wd2) > > But after rebooting get the message: > > panic cannot mount root on wd1 > > Why? > > My configuration is: > > Am5x86-P75 133Mhz > 2 EIDE controlers > 2 HDs evry 850MB > first HD is primary master > second HD is secondary master > 16M RAM > > With best regards > > Michael O. Ljubich > The problem is that FreeBSD doesn't find its root partition because the BIOS calls the second disk disk #1 (and the first one #0), while FreeBSD calls it wd2 (and saves wd1 for the primary controller's slave). The solution is to build a custom kernel with the following line in it: config kernel root on wd2 However, to build a kernel, you'll have to boot your machine at least once, so you'll have to swap disks at least for that.... You may also use the second disk as the slave on the primary controller (if that position is open, I use it for a CD for example). That would work with the standard kernel configuration, and the disk will be called wd1. The third option (the easiest one to do) is simply put the root partition on the first disk (the rest of the stuff may go on any disk). The root parition may be as small as 20MB or so. Good luck Nadav