From owner-freebsd-questions@FreeBSD.ORG Thu Nov 26 13:56:04 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 5D22D1065670 for ; Thu, 26 Nov 2009 13:56:04 +0000 (UTC) (envelope-from s4mmael@gmail.com) Received: from mail-fx0-f218.google.com (mail-fx0-f218.google.com [209.85.220.218]) by mx1.freebsd.org (Postfix) with ESMTP id ED57C8FC1D for ; Thu, 26 Nov 2009 13:56:03 +0000 (UTC) Received: by fxm10 with SMTP id 10so649900fxm.14 for ; Thu, 26 Nov 2009 05:56:03 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:date:message-id:subject :from:to:content-type; bh=7AU2C/q5Ex7Mz08c1nWQ3Q9i9KKjMQ5Oi4oj75LEP28=; b=S8ZTBZdKZbX4zA8Cc/LY76soJIFAuk5/1/y7gsIJsFomNOC7MKqXGtuQZJn0L+Qlsy wNR4Wbozm//6zvDPmJjsA8EPKEai2rPrhzbersGgxAUMhEgCkgPefl1QYi40L4p35Ko+ MzpNjJfal40uVBx4yCy2UNg+02AfyacLRpkSQ= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:date:message-id:subject:from:to:content-type; b=hR00rJkS/nUadvMEGMwAnPy7zQf82+iJSXGYPsKWStb15ypaCBIfPXWZPrYZ8SoaL/ LXE2Wo7Uy0L/zhBKlk+3IFnYT35uAVI/3+XUvg4cGt48rnDBIQMk0LISawgZAuu+2Ay8 ZXZK1TrQ8SXuIFi5Y5W2bIlGJijSB1wBwfzug= MIME-Version: 1.0 Received: by 10.223.76.91 with SMTP id b27mr1420559fak.16.1259242321258; Thu, 26 Nov 2009 05:32:01 -0800 (PST) Date: Thu, 26 Nov 2009 16:32:01 +0300 Message-ID: <6e38aed80911260532y732a43d4i9386bb09eee5fa8@mail.gmail.com> From: S4mmael To: freebsd-questions@freebsd.org Content-Type: text/plain; charset=ISO-8859-1 Subject: freebsd-update with MYKERNEL kernel configuration 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: Thu, 26 Nov 2009 13:56:04 -0000 Hi all! I've got a problem while upgrading FreeBSD 7.2-RELEASE-p3 -> FreeBSD 8.0-RELESE with freebsd-update(8). First of all I made a copy of the most configuration files. Then I made: # freebsd-update -r 8.0-RELEASE upgrade All went good, except the message, that because of MYKERNEL kernel configuration I should upgrade my kernel before "freebsd-upgrade install". Then I was looking for the way of kernel upgrade, but found nothing. How could I build 8.0 kernel in FreeBSD 7.2? Of course, there were 7.2 sources in /usr/src and I didn't find any sources in /var/db/freebsd-update/. It's the first my question. Thus I decided to upgrade all except the kernel and then rebuild the kernel (that worked good while upgrading 7.1 -> 7.2). I made as mentioned in hanbook: # freebsd-upgrade install # shutdown -r now # freebsd-upgrade install There were many errors "bad sistem call" on th last command. After all I discovered that much files from / were lost (I didn't find any grep, bzcat and so on). On boot kernel can't find fsck_ufs, so automatic mounting fails. If mounted by hand, there is no way to login because of some init error. Single user mode works. "freebsd-update roolback" can't find any backup. Shell scripts can't find "test" (it really doesn't exists in /bin/[ ) and fails. How can I restore the system? I've FreeBSD 7.1 CD. Thank's in advance for your help.