custom kernel, make buildkernel and then?

Zbigniew Szalbot zbyszek at
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 
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