From owner-freebsd-questions@FreeBSD.ORG Tue Nov 23 12:27:48 2010 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 560FE106566C for ; Tue, 23 Nov 2010 12:27:48 +0000 (UTC) (envelope-from odhiambo@gmail.com) Received: from mail-vw0-f54.google.com (mail-vw0-f54.google.com [209.85.212.54]) by mx1.freebsd.org (Postfix) with ESMTP id 0705A8FC0C for ; Tue, 23 Nov 2010 12:27:47 +0000 (UTC) Received: by vws9 with SMTP id 9so1042186vws.13 for ; Tue, 23 Nov 2010 04:27:47 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:mime-version:received:in-reply-to :references:from:date:message-id:subject:to:cc:content-type; bh=s2huJ+4kjlKlsy0JBwP0AtevbYCxcCkHODUa82yKqcw=; b=xxLHF0U+4atl1HPMg+5h7lX75skWa5ARiCR0ZC5qWRbLltnukTEq8hmTycdC6J3f5S 8fMrzO38d33VeHWPz3uENRjgLJoptg9uFDWQSAwOJu4Kdzj7DEIL79HMfb7DsTsDVlvY rgWg+plu0OfWN4kz4IEU2eLWTZaypnPg08My4= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc:content-type; b=Aj9iBBdQR94i1YtJCMpgXEEGeRXdr6cv0jvXyxSCVq4dUiMjYQ2eZ0qCWaw3xM3KxW te49zw/4KfUdeu5dLWe7TklKMvPMaGdTirqYUwoMyvJGfOkDUKYpm+bQZzgFk50sElxe oHFmvv3mbBorrQYi8t6R7kQvsUb5Rxe8gwH6w= Received: by 10.229.97.13 with SMTP id j13mr6072379qcn.251.1290515266506; Tue, 23 Nov 2010 04:27:46 -0800 (PST) MIME-Version: 1.0 Received: by 10.229.88.9 with HTTP; Tue, 23 Nov 2010 04:27:16 -0800 (PST) In-Reply-To: References: From: Odhiambo Washington Date: Tue, 23 Nov 2010 15:27:16 +0300 Message-ID: To: =?UTF-8?B?VXJvxaEgR3J1YmVy?= Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: freebsd-questions@freebsd.org Subject: Re: Upgrade from 7.x to 8.x X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 23 Nov 2010 12:27:48 -0000 Forget the manual process. Use tested procedures: http://people.freebsd.org/~rse/upgrade/freebsd-upgrade-7x-8x.txt I even used those procedures to upgrade one system from 6.4 to 7.x and finally to 8.1. One thing you should note: *s/*compat7x-`uname -m`-7.2.702000.200906.1.tbz*/*compat7x-`uname -m`-7.3.703000.201008.tbz*/g* On Tue, Nov 23, 2010 at 1:04 PM, Uro=C5=A1 Gruber w= rote: > Hi, > > I was looking for help about this on forum, but a the moment without > and luck. I would like to upgrade one of my servers from 7.2 release > to 8.1 stable. I've done this on other servers and all went well. But > with this one I can't get through. I'm testing all this in virtual > machine where I transfer all data from real server. > > Here is my procedure > > 1. cd /usr/src > 2. make update (using RELENG_8) > 3. make cleanworld && make cleandir > 4. make buildworld > 5. make buildkernel > > Through here everything works, but from now on I tried manny different > steps but unfortunately I can't make it work. > > If I run make installkernel and reboot the server with single user a > new kernel loads ok the only problem I have is that some of the > programs don't actually work. For example awk > > /libexec/ld-elf.so.1: /lib/libm.so.5: version FBSD_1.0 required by > /usr/bin/awk > > same problem is with ps, more etc. > > If I continue to run mergemaster and make installworld nothing really > works, because installworld throws me a bunch of errors because some > of the utilities needed does not work at all. > > So I tried other method. After make installworld I put server in > single user mode without restarting (shutdown now). From there I can > continue with > > 7. mergemaster -p > 8. make installworld > 9. make delete-old > 10. make delete-old-lib > 11. mergemaster > > Btw I tried reversing order of step 10 and 11 but it make no difference. > > Then I reboot the machine and first it looks I'll done my job well but > right after it started complaining about the same thing as with awk > but now with ps etc. and then crash with kldload process. The only > thing that it works is single user mode. > > Because of all the problems with buildworld stuff i tried to use > freebsd-update utility but this one failed even more. So I abandon > this idea completely. > > I would appreciate some help to successfully upgrade this server. > Fresh install is at the moment no option. Server is running 7.2 > release with amd64 kernel. > > Best regards > > Uros > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to " > freebsd-questions-unsubscribe@freebsd.org" > --=20 Best regards, Odhiambo WASHINGTON, Nairobi,KE +254733744121/+254722743223 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ Damn!!