From owner-freebsd-questions Sat Aug 22 17:15:32 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id RAA22965 for freebsd-questions-outgoing; Sat, 22 Aug 1998 17:15:32 -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 RAA22938 for ; Sat, 22 Aug 1998 17:15:24 -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 RAA15827; Sat, 22 Aug 1998 17:14:30 -0700 (PDT) (envelope-from dwhite@resnet.uoregon.edu) Date: Sat, 22 Aug 1998 17:14:30 -0700 (PDT) From: Doug White To: Harlan Stenn cc: questions@FreeBSD.ORG Subject: Re: panic: cannot mount root with post-2.2.5 kernels? In-Reply-To: <1032.903569470@brown.pfcs.com> 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 Wed, 19 Aug 1998, Harlan Stenn wrote: > I have an Old machine (486/33, single 500MB IDE drive) that has been > running FreeBSD for a Long Time (at least 4 or 5 years). > > I'm trying to update the OS. > > Unfortunately, neither the 2.2.6 or 2.2.7 kernels will boot on this system. > > I get: > > panic: cannot mount root > > when I boot the kernel. > > I've run a MAKEDEV on wd0 to make sure the right /dev/entries are there. > > /etc/fstab is: > > /dev/wd0a / ufs rw 1 1 > /dev/wd0s1 /dos msdos rw,noauto 1 1 > /dev/wd0g /usr ufs ro 1 1 > /dev/wd0f /var ufs rw 1 1 > /dev/wd0b none swap sw 0 0 > proc /proc procfs rw 0 0 This is your problem. In 2.2.6 and later, the compatibility partition was removed, so /dev/wd0a no longer works. You must specify slices for the disks, like: /dev/wd0s2a / ufs rw 1 1 /dev/wd0s2g /usr ufs ro 1 1 /dev/wd0s2f /var ufs rw 1 1 /dev/wd0s2b none swap sw 0 0 You get the idea (substute 2 for the slice your FreeBSD partition is on). This is in the release notes for 2.2.6 and 2.2.7, and would have been fixed by sysinstal if you upgraded that way. 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