From owner-freebsd-stable@FreeBSD.ORG Thu Oct 16 08:51:56 2003 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 4384316A4B3 for ; Thu, 16 Oct 2003 08:51:56 -0700 (PDT) Received: from postal2.es.net (proxy.es.net [198.128.3.206]) by mx1.FreeBSD.org (Postfix) with ESMTP id 51C0343FA3 for ; Thu, 16 Oct 2003 08:51:55 -0700 (PDT) (envelope-from oberman@es.net) Received: from ptavv.es.net ([198.128.4.29]) by postal2.es.net (Postal Node 2) with ESMTP (SSL) id MUA74016; Thu, 16 Oct 2003 08:51:54 -0700 Received: from ptavv (localhost [127.0.0.1]) by ptavv.es.net (Tachyon Server) with ESMTP id BA8AD5D07; Thu, 16 Oct 2003 08:51:52 -0700 (PDT) To: Jason Dictos In-Reply-To: Message from Jason Dictos Date: Thu, 16 Oct 2003 08:51:52 -0700 From: "Kevin Oberman" Message-Id: <20031016155152.BA8AD5D07@ptavv.es.net> cc: "'freebsd-stable@freebsd.org'" Subject: Re: Help with build world - Can't mount root after bootin from /k ernel X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 16 Oct 2003 15:51:56 -0000 > From: Jason Dictos > Date: Thu, 16 Oct 2003 08:43:22 -0700 > > Hello, > > I had freeBSD 5.1 installed, used cvsup on the stable branch, then > built world. > > Ok so disk 2 is the fix it disc, I'll pop that sucker in and go from there. OK. Does that mean you were trying to downgrade from 5.1 to STABLE? If so, that is not supported and the odds of it working are not great. Most notably, the loader looks for the kernel in a different place (/boot/kernel/kernel instead of /kernel) and V5 defaults to UFS2 partitions when you newfs. (V4 does not understand UFS2, so that would explain the failure to mount root.) The UFS2 issue is the big one. I don't know any way around this except to make a set of UFS1 partitions on either a different slice or a different disk and use dd or dump/restore to get your file systems mountable under V4. Then re-build the loader and that MAY get you bootable, but the files in /etc and some other places may still haunt you. A clean install is probably far easier (although you will learn a lot about FreeBSD if you do try to downgrade. -- R. Kevin Oberman, Network Engineer Energy Sciences Network (ESnet) Ernest O. Lawrence Berkeley National Laboratory (Berkeley Lab) E-mail: oberman@es.net Phone: +1 510 486-8634