Newbie trying to build a new world

Nelis Lamprecht nelis at
Thu Feb 5 03:38:54 PST 2004

On Thu, 2004-02-05 at 13:15, 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

if that's all you typed then it's incorrect. Try:

ln -s /root/kernels/MOAK /usr/src/sys/i386/conf/MOAK

which basically just creates a shortcut to the original file residing in

>  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.

that's fine, though the only time you really should boot into single
user mode is when you doing a install world. Doesn't hurt though.

> 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

see above.

> Is there something wrong in MOAK (see attachment)???
> Hope that somebody can offer me some help. 
> Many thanks Nicolas

you may also want to read /usr/src/UPDATING

Nelis Lamprecht
"Unix IS user friendly.. It's just selective about who its friends are."
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 187 bytes
Desc: This is a digitally signed message part
Url :

More information about the freebsd-questions mailing list