custom kernel, make buildkernel and then?

Spiros Papadopoulos spap13 at googlemail.com
Wed Oct 11 02:16:27 PDT 2006


Sorry, forgot  to include the list

On 11/10/06, Spiros Papadopoulos <spap13 at googlemail.com> wrote:
>
> Hi,
>
> What i simply do is:
>
> 1. Enter the /usr/src/sys/*/conf directory
> 2. copy GENERIC to whatever name i wish (no new dirs, no links)
> 3. Alter the file to my needs
> 4. cd /usr/src
> 5. make buildkernel KERNCONF='name'
> 6. make installkernel KERNCONF='name'
> 7. shutdown -r now
>
> Maybe i am missing something here, but this is too simple and never gave
> me problems...
> why not trying to go for it and see the results.
>
> Regards, Spiros
>
>
>  On 11/10/06, Zbigniew Szalbot <zbyszek at szalbot.homedns.org> wrote:
> >
> > 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
> > _______________________________________________
> > freebsd-questions at freebsd.org mailing list
> > http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> > To unsubscribe, send any mail to "freebsd-questions-unsubscribe at freebsd.org
> > "
> >
>
>
>
> --
> Spiros Papadopoulos




-- 
Spiros Papadopoulos


More information about the freebsd-questions mailing list