Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 22 Apr 2001 12:32:24 +0200
From:      Jens Schweikhardt <schweikh@schweikhardt.net>
To:        doc@FreeBSD.org
Subject:   Handbook installkernel request
Message-ID:  <20010422123224.A31760@schweikhardt.net>

next in thread | raw e-mail | index | archive | help

hello, world\n

I'm looking at the 4.2-R Handbook,
file:/usr/share/doc/handbook/kernelconfig-building.html

This chapter probably needs updating for latest kernels, in particular

    # cd /usr/src
    # make buildkernel KERNEL=MYKERNEL
    # make installkernel KERNEL=MYKERNEL

needs KERNCONF instead of KERNEL. And you should also add a paragraph
on /boot/device.hints because without it this is what happens:

root@hal9000:/usr/src # make installkernel KERNCONF=HAL9000 
cd /usr/obj/usr/src/sys/HAL9000;  MAKEOBJDIRPREFIX=/usr/obj  COMPILER_PATH=/usr/obj/usr/src/i386/usr/libexec:/usr/obj/usr/src/i386/usr/bin  LIBRARY_PATH=/usr/obj/usr/src/i386/usr/lib:/usr/obj/usr/src/i386/usr/lib  OBJFORMAT_PATH=/usr/obj/usr/src/i386/usr/libexec  PERL5LIB=/usr/obj/usr/src/i386/usr/libdata/perl/5.6.0 MACHINE=i386 make KERNEL=kernel install
You must set up a /boot/device.hints file first.
*** Error code 1

Stop in /usr/obj/usr/src/sys/HAL9000.
*** Error code 1

Stop in /usr/src.
*** Error code 1

Stop in /usr/src.

PS: I'm upgrading from 4.2-R to a -current system, and this may well be
not the scope of the 4.2-R handbook chapters; in this case feel free to
ignore this mail :-)

Regards,

	Jens
-- 
Jens Schweikhardt http://www.schweikhardt.net/
SIGSIG -- signature too long (core dumped)

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-doc" in the body of the message




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