From owner-freebsd-questions@FreeBSD.ORG Sun Jan 14 19:56:31 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 9525316A415 for ; Sun, 14 Jan 2007 19:56:31 +0000 (UTC) (envelope-from dino_vliet@yahoo.com) Received: from web51108.mail.yahoo.com (web51108.mail.yahoo.com [206.190.38.150]) by mx1.freebsd.org (Postfix) with SMTP id 30B0D13C44C for ; Sun, 14 Jan 2007 19:56:31 +0000 (UTC) (envelope-from dino_vliet@yahoo.com) Received: (qmail 19121 invoked by uid 60001); 14 Jan 2007 19:56:28 -0000 DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.com; h=X-YMail-OSG:Received:Date:From:Subject:To:MIME-Version:Content-Type:Content-Transfer-Encoding:Message-ID; b=CJO/WEB7NNSWNjl4THrkFbZsR3Th4xx9DS/M8Rdw+l5dM7OuA9pTsO7pYxNP9zjDckaGtJtJ6+Ji5xFgzb9YJmLJsSvjm5gDVRkf+M4s3Lzcwqgfzip0DNa9Pr+PCJHJtjCbMuPWH1qQzISeF9IGtPOjaOG9lz1vy3v2Zv9JZH4=; X-YMail-OSG: ZVEtWiQVM1kVEhyn0DB7ph7h2VQ8l25WBnOJR8ZkaLR_QqqOHvpXvBeiTxK_Muju_KQwvUKr3YWpaClsnvdBWmZl528vrN666Pj3UXbzsS3RXyR90icMP1MV3eOgMJLNIsB2VEd9_LyHhsI- Received: from [82.170.181.144] by web51108.mail.yahoo.com via HTTP; Sun, 14 Jan 2007 11:56:27 PST Date: Sun, 14 Jan 2007 11:56:27 -0800 (PST) From: Dino Vliet To: freebsd-questions@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit Message-ID: <73161.84816.qm@web51108.mail.yahoo.com> Subject: 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 19:56:31 -0000 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? Upgrade procedure to the newest freebsd kernel and userland. 1.Make sure that the cvsup file (src-supfile) is adjusted in the right way. 2.Cd /usr/src/sys/amd64/conf which contains the file MYKERNEL 3.MYKERNEL is then adjusted, if necessary and copied to root/kernels/MYKERNEL 4.Copy everything under /etc to /root/etc 5.cvsup -g -L 2 src-supfile 6.cd /usr/src 7.make cleanworld 8.make buildworld 9.make buildkernel KERNCONF=MYKERNEL 10.Go into single user mode 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 12.cd /usr/src 13.make installkernel KERNCONF=MYKERNEL 14.Go into single user mode 15.cd /usr/src 16.mergemaster -p 17.make installworld 18.mergemaster -i 19.exit and reboot Is this ok? Or have I forgot about something? I'm running a freebsd 6.1 machine on a amd64 system with an adjusted kernel called MYKERNEL. Thanks inadvanced, Dino ____________________________________________________________________________________ Do you Yahoo!? Everyone is raving about the all-new Yahoo! Mail beta. http://new.mail.yahoo.com