custom kernel, make buildkernel and then?

Zbigniew Szalbot zbyszek at szalbot.homedns.org
Wed Oct 11 01:55:46 PDT 2006


Hello again,

On Wed, 11 Oct 2006, Garrett Cooper wrote:

>> Easier just to go ln -s /root/kernel/LISTS /usr/src/sys/[arch]/conf/ .
>> 
>> -Garrett
> Err... omit that last period in the ln command. I just realized that could be 
> misleading.

Thank you Garrett - I did
ln -s /root/kernel/LISTS /usr/src/sys/i386/conf/

But the error is still there. However I realize now my mistake. I issued 
the above but it should have been kernels not kernel in the path. When I 
now try to make installkernel, it gives me this message:

>>> Installing kernel
--------------------------------------------------------------
cd /usr/obj/usr/src/sys/LISTS;  MAKEOBJDIRPREFIX=/usr/obj 
MACHINE_ARCH=i386  MACHINE=i386  CPUTYPE= 
GROFF_BIN_PATH=/usr/obj/usr/src/tmp/legacy/usr/bin 
GROFF_FONT_PATH=/usr/obj/usr/src/tmp/legacy/usr/share/groff_font 
GROFF_TMAC_PATH=/usr/obj/usr/src/tmp/legacy/usr/share/tmac 
PATH=/usr/obj/usr/src/tmp/legacy/usr/sbin:/usr/obj/usr/src/tmp/legacy/usr/bin:/usr/obj/usr/src/tmp/legacy/usr/games:/usr/obj/usr/src/tmp/usr/sbin:/usr/obj/usr/src/tmp/usr/bin:/usr/obj/usr/src/tmp/usr/games:/sbin:/bin:/usr/sbin:/usr/bin 
make KERNEL=kernel install
cd: can't cd to /usr/obj/usr/src/sys/LISTS
*** Error code 2

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

Stop in /usr/src.

The only thing in /usr/obj/usr/src/sys/ is the boot directory. Any advice?

Thanks for your patience with me and thank you very much for your help!


--
Zbigniew Szalbot


More information about the freebsd-questions mailing list