GENERIC freebsd 5.4

Nikolas Britton nikolas.britton at gmail.com
Tue Jan 31 04:37:36 PST 2006


On 1/30/06, serge <websnaker at newmail.ru> wrote:
> Hi.
>
> I have compiled a kernel but it is not loaded. In a manual it is written that after
> installation is formed two catalogues /boot/kernel and /boot/kernel.old.
> But it has not taken place. My actions:
>
> # cd /usr/src/sys/i386/conf
> # mkdir /root/kernels/MYKERNEL
> # cp GENERIC /root/kernels/MYKERNEL
> # ln -s /root/kernels/MYKERNEL
>
> # cd /usr/src
> # make buildkernel KERNCONF=MYKERNEL
> # make installkernel   KERNCONF=MYKERNEL
>
> *** Error code 2
>
>
>

Do it the old way:

# cd /usr/src/sys/i386/conf
# config MYKERNEL
# cd ../compile/MYKERNEL
# make cleandepend
# make depend
# make
# make install
# reboot


More information about the freebsd-questions mailing list