Q. I'm trying to recompile my kernel by tying the following commands:
cd /usr/src/sys/i386/conf
cp GENERIC NEWKEN
vi NEWKEN
cd /usr/src
make buildkernel KERNCONF=NEWKEN
But I'm bumped with an error that read as follows:
make: don't know how to make buildkernel. Stop Error and Solution
How do I fix this error?
A. This is well known problem. You need an up to date and complete copy of the FreeBSD source including kernel at /usr/src and /usr/src/sys. To grab latest FreeBSD kernel source use cvsup or sysinstall command.
# sysinstall
Select > Configure > Distributions > Src > Select Base, Sys and all other required source code > Ok > Ok > Select Internet > FTP Main site and install the source code.
Once installed type the following command to compile the kernel:
# cd /usr/src
# make buildkernel KERNCONF=NEWKEN
# make installkernel KERNCONF=NEWKEN
# reboot
Featured Articles:
- 20 Linux System Monitoring Tools Every SysAdmin Should Know
- 20 Linux Server Hardening Security Tips
- My 10 UNIX Command Line Mistakes
- Linux: 20 Iptables Examples For New SysAdmins

- 25 PHP Security Best Practices For Sys Admins
- The Novice Guide To Buying A Linux Laptop
- 10 Greatest Open Source Software Of 2009
- Top 5 Email Client For Linux, Mac OS X, and Windows Users
- Top 20 OpenSSH Server Best Security Practices
- Top 10 Open Source Web-Based Project Management Software
- Top 5 Linux Video Editor Software
Facebook it - Tweet it - Print it -


{ 5 comments… read them below or add one }
Thanks
Salamo Alikom
even i install the source from sysinstall and make a shortcut link ti /sys ,i still get this error .
make: don’t know how to make bonnie. Stop
What is dis error about. Why do i get it. Giv me solution for dat…
[root@freebsd /usr/ports/benchmarks/bonnie]# make install bonnie
make: don’t know how to make bonnie. Stop
Why do i get dis
type
make install clean