From owner-freebsd-newbies@FreeBSD.ORG Fri Jul 16 17:34:18 2004 Return-Path: Delivered-To: freebsd-newbies@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 1F5BF16A4CE for ; Fri, 16 Jul 2004 17:34:18 +0000 (GMT) Received: from mail.gmx.net (imap.gmx.net [213.165.64.20]) by mx1.FreeBSD.org (Postfix) with SMTP id 3BC2543D48 for ; Fri, 16 Jul 2004 17:34:17 +0000 (GMT) (envelope-from mayday@gmx.net) Received: (qmail 5248 invoked by uid 65534); 16 Jul 2004 17:34:15 -0000 Received: from p508A9728.dip0.t-ipconnect.de (EHLO [192.168.0.12]) (80.138.151.40) by mail.gmx.net (mp016) with SMTP; 16 Jul 2004 19:34:15 +0200 X-Authenticated: #431110 From: Benjamin Sobotta To: bsd hack Date: Fri, 16 Jul 2004 19:38:31 +0000 User-Agent: KMail/1.6.2 References: <20040716161241.39163.qmail@web21506.mail.yahoo.com> In-Reply-To: <20040716161241.39163.qmail@web21506.mail.yahoo.com> MIME-Version: 1.0 Content-Disposition: inline Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Message-Id: <200407161938.31990.mayday@gmx.net> cc: freebsd-newbies@freebsd.org Subject: Re: Regarding FreeBSD Custom Kernel X-BeenThere: freebsd-newbies@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Gathering place for new users List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 16 Jul 2004 17:34:18 -0000 On Friday 16 July 2004 16:12, bsd hack wrote: > Hi All, > I have a few basic questions regarding building a custom Kernel: > > (1) Once I configure, make and make install the custom kernel... it will > get written to /boot/kernel. Now I have already made a backup of the > working kernel. what I need to know is when I get the boot loader > menu(when it counts from 1 to 10) is there any way in which I can Include > another option for my Custom Kernel. I want the default to remain as the > working kernel... and I want an option for my Custom kernel in the menu... No need to make a backup. The previous is automatically copied to /boot/kernel.old. Besides you don't use configure, make, make install to compile and install a new kernel but "make buildkernel KERNCONF=YOURKERNEL" and "make installkernel KERNCONF=YOURKERNEL". http://www.de.freebsd.org/doc/en_US.ISO8859-1/books/handbook/kernelconfig-building.html > > (2) Secondly I dont understand the boot prompt and the loader prompt > completely. at the boot prompt I guess I can specify the kernel I want to > load. So lets say I have my custom kernel in the directory > /boot/mydir/custom-kernel. so how do I specify at the boot prompt or the > loader prompt to load the custom kernel > well theoretically you type at boot prompt: "unload kernel" "boot mydir" I'm not really sure what happens if you rename the kernel itself. Personally I would ONLY copy or move the directory. > (3) And finally I had downloaded the source code of freeBSD and I > configured, did a make and a make install without making any changes > ...(Just to get it started!) ... when I rebooted the system it failed to > recognize the disk and so I reinstalled FreeBSD again...( hadnt enabled any > debug options so could not recover any information!!)... Is there anything > that "HAS" to be done before installing the new kernel? > Kernel and "world" should be in sync. So if you download the sources you want to reinstall world _and_ kernel. This is especially important when there were version changes in between. http://www.de.freebsd.org/doc/en_US.ISO8859-1/books/handbook/synching.html http://www.de.freebsd.org/doc/en_US.ISO8859-1/books/handbook/makeworld.html > any help will be appreciated. I hope this helps a little bit since I'm also not an expert.... :) Ben > > Thank you > HKR > > > > > --------------------------------- > Do you Yahoo!? > Yahoo! Mail is new and improved - Check it out! > _______________________________________________ > freebsd-newbies@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-newbies > To unsubscribe, send any mail to "freebsd-newbies-unsubscribe@freebsd.org"