|
FreeBSD General Other questions regarding FreeBSD which do not fit in any of the categories below. |
|
Thread Tools | Display Modes |
|
|
|||
commands to build a kernel
What command do i use to build a kernel?
I have edited my GENERIC kernel and now i need to build it. make buildkernel KERNCONF=MYKERNEL doesnt work config MYKERNEL doesnt work either. cany one one help me? |
|
||||
When in doubt, read the Handbook chapter on doing just that.
There is a reason the Handbook was written ... |
|
|||
The handbook is good advice but it don't tell you how to do it this way or how to clean-up, if I remember correctly. It's the long way. You can watch what happen in each step. You can do the && thing you find in the hand book latter. This is more fun!
The exact steps are: cd /usr/src/sys/amd64/conf make LINT /usr/sbin/config GENERIC_90 cd ../compile/GENERIC_90 make cleandepend make depend make make install rm -frv /usr/src/sys/amd64/compile/GENERIC_90 # clean-up I did this at lease a hundred 100 times... .... |
Thread Tools | |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Problem during kernel-build for a 6.x-to-7 upgrade | clevershark | FreeBSD Installation and Upgrading | 2 | 1st February 2009 10:45 PM |
execute commands from xinitrc | rex | FreeBSD General | 3 | 22nd October 2008 10:24 PM |
No DRI + GLX commands? | Hrr4 | FreeBSD General | 5 | 21st September 2008 10:05 AM |
Unable to build custom kernel [Wrong configuration?] | jrick | FreeBSD General | 3 | 31st July 2008 01:53 PM |
Cisco IOS commands ?? | jb_daefo | Off-Topic | 7 | 5th June 2008 01:53 AM |