Rebuilding the Kernel

Nathan Kinkade nkinkade at fastmail.fm
Tue Sep 16 13:08:12 PDT 2003


On Tue, Sep 16, 2003 at 06:32:19PM +0000, Mark Luxton wrote:
> Hi all,
> 
> So I can get it right in my head (now there's a challenge).  The correct 
> steps for building a custom kernel is:
> 
>   1) update sources
>   2) rm -rf /usr/obj/*
>   3) make buildworld
>   4) edit kernel config file
>   5) make buildkernel
>   6) make installkernel
>   7) reboot
>   8) make installworld
>   9) mergemaster
> 
> Many Thanks
> 
> Mark.

I believe that's mostly it, but there are smaller steps that may be
important inbetween, like doing `chflags' on /usr/obj/* before removing
the files - all this is in the manual, though.  The steps outlined
above are in the handbook - in that order.  Take another look at the
handbook and if you still have problem reply with specific issues.

Nathan
-- 
gpg --keyserver pgp.mit.edu --recv-keys D8527E49
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 187 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-questions/attachments/20030916/6f8d5320/attachment.bin


More information about the freebsd-questions mailing list