View Single Post
  #2   (View Single Post)  
Old 2nd December 2017
shep shep is offline
Rc.conf Instructor
 
Join Date: May 2008
Location: Dry and Dusty
Posts: 1,136
Default

Quote:
$ config MYKERNEL
$ cd ../compile/MYKERNEL
$ make depend
$ make
After make successfully runs, you should have /usr/src/sys/arch/i386/compile/MYKERNEL/netbsd.

netbsd is the kernel. As root you can rename the old kernel, as a backup, and copy the new kernel into the root directory.

# mv /netbsd /netbsd.old
# cp /usr/src/sys/arch/i386/compile/MYKERNEL/netbsd /netbsd

See Compiling the kernel
Reply With Quote