From owner-freebsd-questions Thu Jul 4 15:53:32 2002 Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.FreeBSD.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 70FBD37B401 for ; Thu, 4 Jul 2002 15:53:30 -0700 (PDT) Received: from mail.cics.co.za (mail.cics.co.za [196.15.196.10]) by mx1.FreeBSD.org (Postfix) with ESMTP id 5C45643E3B for ; Thu, 4 Jul 2002 15:53:27 -0700 (PDT) (envelope-from mark@netchat.co.za) Received: (qmail 6823 invoked by uid 85); 4 Jul 2002 22:49:32 -0000 Received: from unknown (HELO mark.igate.org.za) (196.15.196.5) by mail.cics.co.za with SMTP; 4 Jul 2002 22:49:31 -0000 Date: Fri, 5 Jul 2002 00:46:19 +0200 From: Mark Pearce To: Matthew Luckie , freebsd-questions@freebsd.org Subject: Re: 3.0 -> 4.6 upgrade: truncating raw partition Message-Id: <20020705004619.554cd9d3.mark@netchat.co.za> In-Reply-To: <3D24C175.7020308@ihug.co.nz> References: <3D24C175.7020308@ihug.co.nz> Organization: Netchat X-Mailer: Sylpheed version 0.7.6claws (GTK+ 1.2.10; i386-portbld-freebsd4.6) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-Virus-Scanned: by AMaViS perl-11 Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG On Fri, 05 Jul 2002 09:43:17 +1200 Matthew Luckie grunted: > Hi > > I have upgraded a machine running FreeBSD 3.0-R to 4.6-S. When I try to > mount /usr (the last partition in the first and only slice on the disk), > I get the following: > > ad0s1: slice extends beyond end of disk: truncating from 12692736 to > 12692295 sectors > ad0: raw partition size != slice size > ad0: start 0, end 12692294, size 12692295 > ad0c: start 0, end 12692735, size 12692736 > ad0: truncating raw partition > ad0: rejecting partition in BSD label: it isn't entirely within the slice > ad0: start 0, end 12692294, size 12692295 > ad0f: start 408256, end 12692735, size 12284480 > > ################################################################## > > I can take this disk to another 3.0-R machine and successfully mount the > /usr file system. I largely followed the steps in src/UPDATING, > including building a 4.6 mknod and disklabel on the 3.0 machine and > updated the /dev slices with > > sh MAKEDEV ad0 > sh MAKEDEV ad0s1 > Did you upgrade your MAKEDEV at all, by default installworld does not to this, but it does create it Try the following cp /usr/src/etc/MAKEDEV /dev cd /dev sh MAKEDEV all Mark To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message