From owner-freebsd-questions@FreeBSD.ORG Wed Oct 11 09:16:27 2006 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 6536C16A403 for ; Wed, 11 Oct 2006 09:16:27 +0000 (UTC) (envelope-from spap13@googlemail.com) Received: from nf-out-0910.google.com (nf-out-0910.google.com [64.233.182.184]) by mx1.FreeBSD.org (Postfix) with ESMTP id D086843D49 for ; Wed, 11 Oct 2006 09:16:23 +0000 (GMT) (envelope-from spap13@googlemail.com) Received: by nf-out-0910.google.com with SMTP id n15so635052nfc for ; Wed, 11 Oct 2006 02:16:22 -0700 (PDT) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=googlemail.com; h=received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:references; b=RRGROqmzXRFOKJpy3/mENvfgUlcP6ebZusyj4BStWNDEI61FQJIiIdHptcS/eCeHj8sFNDlpauLoKvnjnInwGyuvTFXtRMwjH8vJWCXVLTnzonkN41UW4NZa9PW2uAIUHsCnEagLdUXylrNoTJiiINPBIRFYbP/nfiYUINXCOrI= Received: by 10.49.8.4 with SMTP id l4mr2837506nfi; Wed, 11 Oct 2006 02:16:22 -0700 (PDT) Received: by 10.48.12.1 with HTTP; Wed, 11 Oct 2006 02:16:21 -0700 (PDT) Message-ID: Date: Wed, 11 Oct 2006 10:16:22 +0100 From: "Spiros Papadopoulos" To: "Zbigniew Szalbot" In-Reply-To: MIME-Version: 1.0 References: <20061011084014.W23849@192.168.11.51> <452CA3A0.9060002@locolomo.org> <20061011101745.D27448@192.168.11.51> <452CABEE.8040302@u.washington.edu> <452CACBC.7040507@u.washington.edu> <20061011104436.B27448@192.168.11.51> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: freebsd-questions@freebsd.org Subject: Re: custom kernel, make buildkernel and then? 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, 11 Oct 2006 09:16:27 -0000 Sorry, forgot to include the list On 11/10/06, Spiros Papadopoulos wrote: > > Hi, > > What i simply do is: > > 1. Enter the /usr/src/sys/*/conf directory > 2. copy GENERIC to whatever name i wish (no new dirs, no links) > 3. Alter the file to my needs > 4. cd /usr/src > 5. make buildkernel KERNCONF='name' > 6. make installkernel KERNCONF='name' > 7. shutdown -r now > > Maybe i am missing something here, but this is too simple and never gave > me problems... > why not trying to go for it and see the results. > > Regards, Spiros > > > On 11/10/06, Zbigniew Szalbot wrote: > > > > Hello again, > > > > On Wed, 11 Oct 2006, Garrett Cooper wrote: > > > > >> Easier just to go ln -s /root/kernel/LISTS /usr/src/sys/[arch]/conf/ > > . > > >> > > >> -Garrett > > > Err... omit that last period in the ln command. I just realized that > > could be > > > misleading. > > > > Thank you Garrett - I did > > ln -s /root/kernel/LISTS /usr/src/sys/i386/conf/ > > > > But the error is still there. However I realize now my mistake. I issued > > the above but it should have been kernels not kernel in the path. When I > > now try to make installkernel, it gives me this message: > > > > >>> Installing kernel > > -------------------------------------------------------------- > > cd /usr/obj/usr/src/sys/LISTS; MAKEOBJDIRPREFIX=/usr/obj > > MACHINE_ARCH=i386 MACHINE=i386 CPUTYPE= > > GROFF_BIN_PATH=/usr/obj/usr/src/tmp/legacy/usr/bin > > GROFF_FONT_PATH=/usr/obj/usr/src/tmp/legacy/usr/share/groff_font > > GROFF_TMAC_PATH=/usr/obj/usr/src/tmp/legacy/usr/share/tmac > > PATH=/usr/obj/usr/src/tmp/legacy/usr/sbin:/usr/obj/usr/src/tmp/legacy/usr/bin:/usr/obj/usr/src/tmp/legacy/usr/games:/usr/obj/usr/src/tmp/usr/sbin:/usr/obj/usr/src/tmp/usr/bin:/usr/obj/usr/src/tmp/usr/games:/sbin:/bin:/usr/sbin:/usr/bin > > > > make KERNEL=kernel install > > cd: can't cd to /usr/obj/usr/src/sys/LISTS > > *** Error code 2 > > > > Stop in /usr/src. > > *** Error code 1 > > > > Stop in /usr/src. > > > > The only thing in /usr/obj/usr/src/sys/ is the boot directory. Any > > advice? > > > > Thanks for your patience with me and thank you very much for your help! > > > > > > -- > > Zbigniew Szalbot > > _______________________________________________ > > freebsd-questions@freebsd.org mailing list > > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > > To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org > > " > > > > > > -- > Spiros Papadopoulos -- Spiros Papadopoulos