Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 5 Jul 2002 00:46:19 +0200
From:      Mark Pearce <mark@netchat.co.za>
To:        Matthew Luckie <kluckie@ihug.co.nz>, 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>

next in thread | previous in thread | raw e-mail | index | archive | help
On Fri, 05 Jul 2002 09:43:17 +1200
Matthew Luckie <kluckie@ihug.co.nz> 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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20020705004619.554cd9d3.mark>