View Single Post
  #2   (View Single Post)  
Old 15th August 2008
corey_james corey_james is offline
Uber Geek
 
Join Date: Apr 2008
Location: Brisbane, Australia
Posts: 238
Default

custom kernel http://www.freebsd.org/doc/en_US.ISO...nelconfig.html

more or less:
grab the src using cvsup
edit kernel config file
#cd /usr/src
#make buildkernel KERNCONF=MYKERNEL
# make installkernel KERNCONF=MYKERNEL


Updating your system:

http://www.freebsd.org/doc/en_US.ISO...makeworld.html

cut it short for ya:
use cvsup to get the updated sources
read /usr/src/UPDATING to see if you need to do anything special for the upgrade
# cd /usr/src
# make buildworld
# make buildkernel
# make installkernel
# reboot

# mergemaster -p
# cd /usr/src
# make installworld
# mergemaster
# reboot


Even though it's probably obvious i'm going to point out that freebsd is an OS not just a kernel ( like linux ) hence, you need to keep the userland and kernel in sync. ie. do NOT install an updated kernel without updating the userland and vice versa
__________________
"No, that's wrong, Cartman. But don't worry, there are no stupid answers, just stupid people." -- Mr. Garrison

Forum Netiquette
Reply With Quote