How to build diskless kernel?
Lowell Gilbert
freebsd-questions-local at be-well.ilk.org
Fri Jan 2 17:00:43 PST 2004
Rob <nospam at 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"
More information about the freebsd-questions
mailing list