Newbie trying to build a new world

Kent Stewart kstewart at
Thu Feb 5 03:30:28 PST 2004

On Thursday 05 February 2004 03:15 am, Nicolas wrote:
> Hello.
> I am a newbie trying to build a new kernel. I have been following the
> handbook step by step but I still do something wrong. I copied
> GENERIC and did some changes and called my new kernel MOAK. I put it
> into /root/kernels and typed: ln -s /root/kernels/MOAK
>  I cvsuped src all and ports all.
> Then and did: make -j4 buildworld.
>  No problem.
> Then I rebooted and went into single user mode and typed:
> make buildkernel KERNCONF=MOAK.
> Then I get this output:
> config: /usr/src/sys/i386/conf/MOAK:274: syntax error
> Error code 1
> stop in /usr/src
> error code 1
> Stop in /usr/src
> Is there something wrong in MOAK (see attachment)???
> Hope that somebody can offer me some help.
> Many thanks Nicolas

Well, it is telling you that it doesn't like the "options PNPBIOS". That 
is an option for 4.x. For right now, I would just comment it out.

BTW, booting to single user mode to build the kernel doesn't help. You 
want to do that when you do the installworld. Part of the reason for 
booting to single user mode is to test the new kernel and you haven't 
installed it at this point.


Kent Stewart
Richland, WA

More information about the freebsd-questions mailing list