From owner-freebsd-questions@FreeBSD.ORG Sun Jan 14 20:15:28 2007 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 25F9516A416 for ; Sun, 14 Jan 2007 20:15:28 +0000 (UTC) (envelope-from reko.turja@liukuma.net) Received: from www.liukuma.net (www.liukuma.net [62.220.235.15]) by mx1.freebsd.org (Postfix) with ESMTP id DBF8813C457 for ; Sun, 14 Jan 2007 20:15:27 +0000 (UTC) (envelope-from reko.turja@liukuma.net) Received: from rivendell (c-980471d5.019-61-68617010.cust.bredbandsbolaget.se [213.113.4.152]) (using TLSv1 with cipher RC4-MD5 (128/128 bits)) (No client certificate requested) by www.liukuma.net (Postfix) with ESMTP id 11CCC549D; Sun, 14 Jan 2007 22:15:26 +0200 (EET) Message-ID: <045401c73818$ba7bbaf0$0a0aa8c0@rivendell> From: "Reko Turja" To: "Dino Vliet" , References: <73161.84816.qm@web51108.mail.yahoo.com> Date: Sun, 14 Jan 2007 22:15:25 +0200 MIME-Version: 1.0 Content-Type: text/plain; format=flowed; charset="iso-8859-1"; reply-type=original Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2900.3028 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.3028 Cc: Subject: Re: advice on compiling a new kernel & upgrading to the latest sources 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: Sun, 14 Jan 2007 20:15:28 -0000 From: "Dino Vliet" To: Sent: Sunday, January 14, 2007 9:56 PM Subject: advice on compiling a new kernel & upgrading to the latest sources > Hi folks, > from different sources I have written my steps to > compile a new kernel & upgrade to the latest sources. > Can anyone have a look into them and tell me if I > won't run into troubles or if there are better ways to > achieve the same? //snip The order how things are done is slightly different, I kept the numbers original though,but the sequence is: > 12.cd /usr/src > 13.make installkernel KERNCONF=MYKERNEL Reboot after installing the new kernel. New kernel isn't there just after droppping to singleuser, but you need to boot. > 11.If the new kernel doesn't boot reboot and hit the > space bar at the boot prompt and boot kernel.old If > the new kernel boots OK mount -a Check that new kernel acts somewhat sane (some programs might fail though due changed kernel interfaces, like top or ps for example - I do go full multiuser to check this) > 14.Go into single user mode > 15.cd /usr/src > 16.mergemaster -p > 17.make installworld > 18.mergemaster -i > 19.exit and reboot Shouldn't be need for reboot after this, just hit ctrl-D and enjoy the updated system. Updated scripts are executed only after machine goes into full multiuser. -Reko