From owner-freebsd-questions Thu Jul 16 15:08:57 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id PAA28211 for freebsd-questions-outgoing; Thu, 16 Jul 1998 15:08:57 -0700 (PDT) (envelope-from owner-freebsd-questions@FreeBSD.ORG) Received: from resnet.uoregon.edu (resnet.uoregon.edu [128.223.144.32]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id PAA28200 for ; Thu, 16 Jul 1998 15:08:56 -0700 (PDT) (envelope-from dwhite@resnet.uoregon.edu) Received: from localhost (dwhite@localhost) by resnet.uoregon.edu (8.8.5/8.8.8) with SMTP id PAA13802; Thu, 16 Jul 1998 15:08:41 -0700 (PDT) (envelope-from dwhite@resnet.uoregon.edu) Date: Thu, 16 Jul 1998 15:08:40 -0700 (PDT) From: Doug White To: Peter Karlsson cc: freebsd-questions@FreeBSD.ORG Subject: Re: Still having problems with FreeBSD In-Reply-To: Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Thu, 16 Jul 1998, Peter Karlsson wrote: > Hi! > > I reinstalled FreeBSD as of earlier advice, but I still have problems. This > time, it locates the kernel and boots, but it's unable to locate the root > file system. > > * "Boot default" is set to 1:wd(1,a)kernel > * Booting fails with: > "changing root device to wd1s3a > panic: cannot mount root" > > The FreeBSD partition resides in what Linux calls /dev/hdc3 (third partition > of secondary IDE master), ^^^^^^^^^^^^^^^^^^^^ This is the problem. And here is the solution: If you get the message: panic: Cannot mount root while booting and FreeBSD is installed on a disk on the secondary IDE controller, 1. Restart and type "1:wd(0,a)/kernel" at the Boot: prompt to start the system. 2. Rebuild your kernel, making one of the following changes to your kernel config file (NOT BOTH): a. Change the 'config' line to read: config kernel root on wd2 OR b. Rename the second disk to wd1 in the kernel config (comment out the original wd1 line and change the wd2 line to read wd1, leaving all other parameters unchanged). Install the new kernel and you're set to go. If you don't know how to build a kernel, see the FreeBSD Handbook at http://www.freebsd.org/handbook. Doug White | University of Oregon Internet: dwhite@resnet.uoregon.edu | Residence Networking Assistant http://gladstone.uoregon.edu/~dwhite | Computer Science Major To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message