Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 22 Aug 1998 17:14:30 -0700 (PDT)
From:      Doug White <dwhite@resnet.uoregon.edu>
To:        Harlan Stenn <Harlan.Stenn@pfcs.com>
Cc:        questions@FreeBSD.ORG
Subject:   Re: panic: cannot mount root with post-2.2.5 kernels?
Message-ID:  <Pine.BSF.4.00.9808221712160.27863-100000@resnet.uoregon.edu>
In-Reply-To: <1032.903569470@brown.pfcs.com>

next in thread | previous in thread | raw e-mail | index | archive | help

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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.BSF.4.00.9808221712160.27863-100000>