From owner-freebsd-questions@FreeBSD.ORG Sat Jan 19 09:15:01 2008 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 D4E4A16A417 for ; Sat, 19 Jan 2008 09:15:01 +0000 (UTC) (envelope-from zszalbot@gmail.com) Received: from fk-out-0910.google.com (fk-out-0910.google.com [209.85.128.188]) by mx1.freebsd.org (Postfix) with ESMTP id 5910413C467 for ; Sat, 19 Jan 2008 09:15:01 +0000 (UTC) (envelope-from zszalbot@gmail.com) Received: by fk-out-0910.google.com with SMTP id b27so1069616fka.11 for ; Sat, 19 Jan 2008 01:15:00 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; bh=DiiFMtaz/N4fsBBILoxVFjHO+w1Hfh8Nohng1EiwNlk=; b=A2YJJmiD/O6GMr7fVW0ImwyRIT4uxXNzde2dblGOOTrt9KSeW0ocQd9Fhe7I7kqJpH6SfXmr1uKlexNJKopLucXaRAZwRR7DhyY3UMuPIRn2CoSmSELDpd7OFP4lJpKSbxRsUFOJwKzoKMTamB3+1unH369tSMSMrVwU9NrsOGE= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=irI3Z/HRXUq3NUCEaKobi+/z8+Oz6B9Lpppdv8d5t7ncmcv7L3+M/Fw7m4sh4cJsWPN4vL+v4oP34YrJz719DAIkwcMpGtp1eLCY39Ds05PjqOt4ArpWykRhuIo4r/QLMt/qqjPpPoVVuQu48JtsUZskF8VnQbSrgOgCRU/XK0U= Received: by 10.78.201.10 with SMTP id y10mr6089391huf.11.1200734099790; Sat, 19 Jan 2008 01:14:59 -0800 (PST) Received: by 10.78.130.5 with HTTP; Sat, 19 Jan 2008 01:14:59 -0800 (PST) Message-ID: <94136a2c0801190114u46f872eas8f6afd5e52dd73b1@mail.gmail.com> Date: Sat, 19 Jan 2008 10:14:59 +0100 From: "Zbigniew Szalbot" To: "Manolis Kiagias" In-Reply-To: <47912AE1.6000603@otenet.gr> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <94136a2c0801181417w395f7532w4761fc76388ed60@mail.gmail.com> <47912AE1.6000603@otenet.gr> Cc: freebsd-questions@freebsd.org Subject: Re: going from 6.2 to 6.3 and custom kernel 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: Sat, 19 Jan 2008 09:15:01 -0000 Hello again, > > How do I update the kernel manually then? > > > > Do I have to fetch the latest source and then follow the advice given here? > > > > http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/kernelconfig-building.html > > > > Thanks! > > > > Zbigniew Szalbot > > > > > It will not update your kernel, but if you do freebsd-update install you > will get an updated GENERIC kernel in /boot/GENERIC. > > This is what I did: > > freebsd-update -r 6.3-RELEASE upgrade > > (got the warning you mentioned) > > freebsd-update install > > Got a message about installing kernel updates. Got a new generic kernel > in /boot/GENERIC (check to see this exists!) > > Depending on whether you have console access to the machine or not: > > 1. If you don't have console access (you are doing this remotely), mv > /boot/kernel /boot/mykernel.old and mv /boot/GENERIC /boot/kernel and > reboot. This is because you can't (normally) interrupt the loader > remotely - unless someone does it for you. Continue from step 3. > > 2. If you are in front of the machine, reboot. Stop the boot sequence > when the boot loader comes up, and escape to loader prompt. Type: > > unload > load /boot/GENERIC/kernel > boot > > 3. You are now running a 6.3-RELEASE kernel, albeit a GENERIC one. Run > freebsd-update install again to install the rest of the system. > > 4. Recompile your custom kernel the usual way, i.e. I do have to fetch the latest sources before building a custom kernel, don't I? > > make buildkernel KERNCONF=MYKERNEL > make installkernel KERNCONF=MYKERNEL > reboot > > 5. You are done! Thanks! Zbigniew Szalbot