Skip site navigation (1)Skip section navigation (2)
Date:      02 Jan 2004 20:00:41 -0500
From:      Lowell Gilbert <freebsd-questions-local@be-well.ilk.org>
To:        Rob <nospam@users.sourceforge.net>
Cc:        freebsd-questions@freebsd.org
Subject:   Re: How to build diskless kernel?
Message-ID:  <44oetlvoau.fsf@be-well.ilk.org>
In-Reply-To: <3FF53261.7020100@users.sourceforge.net>
References:  <3FF53261.7020100@users.sourceforge.net>

next in thread | previous in thread | raw e-mail | index | archive | help
Rob <nospam@users.sourceforge.net> 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"



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?44oetlvoau.fsf>