From owner-freebsd-questions@FreeBSD.ORG Wed Oct 14 16:29:01 2009 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 9E9351065670 for ; Wed, 14 Oct 2009 16:29:01 +0000 (UTC) (envelope-from alexandre.labarre@gmail.com) Received: from mail-ew0-f218.google.com (mail-ew0-f218.google.com [209.85.219.218]) by mx1.freebsd.org (Postfix) with ESMTP id 2C83E8FC14 for ; Wed, 14 Oct 2009 16:29:00 +0000 (UTC) Received: by ewy18 with SMTP id 18so4960738ewy.43 for ; Wed, 14 Oct 2009 09:29:00 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:sender:received:date :x-google-sender-auth:message-id:subject:from:to:content-type; bh=62m59JEG6Po1Nw0kbRjlD6YqRXSg/Zgc+1TJBTb0q70=; b=cdD8g3rAk5Sr/D5TfpyZ1bHCnxjVrGmSCLp9V8CDryn8wTXUBtagnuHpeIacwc1sRZ 4HUKeyFUyp+KCUA5AtEPECo53Ik4M4PcnJWI6WfPAgnQW4vEJfIJA1PJe0O6xh9Ytt4V WIGgz2xucYU0byIdHJj+3tfmGqz7Z0YJMh0qY= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:sender:date:x-google-sender-auth:message-id:subject :from:to:content-type; b=ra6uH9WYTpTpR5Bq7K+2dUDwxJnOSykDL1sOMsUo58tga0vL8qRqJ3xFjfdu50Tomx P4cPYLKGMVlv+MJVSfL3CwV3YKTx3rBxj+h027Y3sk5Aut0ltCDQlQI9HLjwjUErrNZj rr4l4Uu3RbcUt08e+yHHu3Vc056c7ciVYfESA= MIME-Version: 1.0 Sender: alexandre.labarre@gmail.com Received: by 10.211.128.14 with SMTP id f14mr7622796ebn.75.1255535946475; Wed, 14 Oct 2009 08:59:06 -0700 (PDT) Date: Wed, 14 Oct 2009 17:59:06 +0200 X-Google-Sender-Auth: 4d9e8161a41d6d4e Message-ID: From: Alexandre To: freebsd-questions@freebsd.org Content-Type: text/plain; charset=UTF-8 X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Subject: Upgrade 7.2-RELEASE to 8.0-RC1 problem 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: Wed, 14 Oct 2009 16:29:01 -0000 Hi, I have tried to upgrade my laptop system from 7.2-RELEASE to 8.0-RC1 using the freebsd-update method. I have ran the following commands : # freebsd-update -r 8.0-RC1 upgrade # freebsd-update install # nextboot -k GENERIC # shutdown -r now # freebsd-update install # portmaster -adf Then portmaster program does not recognize by the system. # rehash Does not have effect. Then I have rebooted the machine one more time and I have select the boot option 6 and type boot GENERIC Now the system don't want to boot correctly because it can't do fsck_ufs on /dev/ad0s1a I have download and burn the livefs 8.0-RC1 iso and use the fixit part. fsck_ufs /dev/ad0s1a do the steps correctly then I tried to boot on my GENERIC patched local kernel (using boot option 6 like described above) but I always got the same error. I have noticed that I have got these messages before the boot menu Boot: syntax error on file /boot/device.hints Boot: syntax error on file /boot/loader.conf Also, I tried this : (escape to loader prompt) * *# boot -s >> OK - It boot on 7.2 kernel # adjkerntz -i >> OK # swapon -a >> swapon: not found # fsck -p >> fsck: exec fsck_ufs for /dev/ad0s1a in /sbin:/usr/sbin: no such file or directory # mount -u / >> OK # mount -va >> OK If I rebooted like this method (escape to loader prompt) # boot GENERIC It boot on 8.0-RC1 kernel, but the only command that doesn't passed is # swapon -a >> swapon: not found After the command : # fsck -p I can access to the login prompt. But when I tried to login with root or another user, I got the following error : login: login: could not determine audit condition Can you help me to repair the errors ? Thanks for your help. Alexandre