From owner-freebsd-questions@FreeBSD.ORG Tue Nov 23 10:29:58 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 BB15A106566C for ; Tue, 23 Nov 2010 10:29:58 +0000 (UTC) (envelope-from uros.gruber@gmail.com) Received: from mail-qw0-f54.google.com (mail-qw0-f54.google.com [209.85.216.54]) by mx1.freebsd.org (Postfix) with ESMTP id 7692A8FC1D for ; Tue, 23 Nov 2010 10:29:58 +0000 (UTC) Received: by qwf7 with SMTP id 7so324238qwf.13 for ; Tue, 23 Nov 2010 02:29:57 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:received:date:message-id :subject:from:to:content-type; bh=J87KF6zGfXx2QPTaG3x4L29Z6SxY8//Ww82213dDh6M=; b=XIb3HHL1aXlTplIbKhAGmtEaeY0kvatM7PlHeIamc6gzbahTg2wwVoJhyRnp21qzQ/ z1fYzLEii1xHazgclQZIK1ZAQ2UJsoDGR6dwZ92z/LV1meL1z4XOL9IORkFaCNzjpDYb ZQvCYNTakuQTYlrmqwOIABudwrGY6k6vq0Ua0= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:date:message-id:subject:from:to:content-type; b=GA27YKY2UwSa781l9F2F9vPmcmdFW8d69TY+prCJ73Bq9iSEIX7dL4unBGm4mzZjay Yobg+cypaQH3/wMP74uwk1ScEWdzMzBIfgNuT00YNJgPUaZE4daLIuXt874MKBbxdnXK fBIyYDWXMw71ZQruC/Q2cjPVlG0Uh2SIpf6s8= MIME-Version: 1.0 Received: by 10.229.86.149 with SMTP id s21mr6046156qcl.234.1290506696825; Tue, 23 Nov 2010 02:04:56 -0800 (PST) Received: by 10.229.40.8 with HTTP; Tue, 23 Nov 2010 02:04:56 -0800 (PST) Date: Tue, 23 Nov 2010 11:04:56 +0100 Message-ID: From: =?UTF-8?B?VXJvxaEgR3J1YmVy?= To: freebsd-questions@freebsd.org Content-Type: text/plain; charset=UTF-8 Subject: 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 10:29:58 -0000 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