From owner-freebsd-questions@FreeBSD.ORG Fri Jan 2 17:00:43 2004 Return-Path: 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 0033A16A4CE for ; Fri, 2 Jan 2004 17:00:42 -0800 (PST) Received: from be-well.no-ip.com (lowellg.ne.client2.attbi.com [66.30.200.37]) by mx1.FreeBSD.org (Postfix) with ESMTP id 9C31443D5A for ; Fri, 2 Jan 2004 17:00:41 -0800 (PST) (envelope-from freebsd-questions-local@be-well.ilk.org) Received: by be-well.no-ip.com (Postfix, from userid 1147) id 4C48F11; Fri, 2 Jan 2004 20:00:41 -0500 (EST) Sender: lowell@be-well.ilk.org To: Rob References: <3FF53261.7020100@users.sourceforge.net> From: Lowell Gilbert Date: 02 Jan 2004 20:00:41 -0500 In-Reply-To: <3FF53261.7020100@users.sourceforge.net> Message-ID: <44oetlvoau.fsf@be-well.ilk.org> Lines: 26 User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.3 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii cc: freebsd-questions@freebsd.org Subject: Re: How to build diskless kernel? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 03 Jan 2004 01:00:43 -0000 Rob writes: > I'm following the instructions in the handbook for diskless boot. > In Chapter 19.6.1.4 "Building a Diskless Kernel", it says: > > "Build the kernel (See Chapter 9), and copy it to the tftp directory ..." > > I have two problems here: > 1. Chapter 9 only explains how to build and install a kernel on a > running machine, where 'install' puts everything in root directory. Right. So you do the "build" part and not the "install" part, and copy the kernel to the appropriate spot. > 2. When it says above "copy it", what is "it" here? A file? Or files > and directories (e.g. /modules/) ? And where is "it", after doing the > 'build' command as explained in Chapter 9? "It" is the kernel. A file named "kernel". If you follow the first kernel-building procedure in the section (currently) number 9.3, then instead of the final step ("make install"), just try "ls kernel". -- Lowell Gilbert, embedded/networking software engineer, Boston area: resume/CV at http://be-well.ilk.org:8088/~lowell/resume/ username/password "public"