Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 31 Jan 2006 06:37:35 -0600
From:      Nikolas Britton <nikolas.britton@gmail.com>
To:        serge <websnaker@newmail.ru>
Cc:        questions@freebsd.org
Subject:   Re: GENERIC freebsd 5.4
Message-ID:  <ef10de9a0601310437l4cac0d87ia64fe276e8c5d3c5@mail.gmail.com>
In-Reply-To: <706275101.20060130225551@newmail.ru>
References:  <706275101.20060130225551@newmail.ru>

next in thread | previous in thread | raw e-mail | index | archive | help
On 1/30/06, serge <websnaker@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=3DMYKERNEL
> # make installkernel   KERNCONF=3DMYKERNEL
>
> *** 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



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