Difference between revisions of "Compiling a new GhostBSD kernel"

From GhostBSD Wiki
Jump to: navigation, search
(Created page with "Install Subversion application. sudo pkg install FreeBSD-svn-12.0.s20180802153734 Fetch the latest kernel support files. sudo svn checkout svn://svn.freebsd.org/base/rele...")
 
 
(One intermediate revision by the same user not shown)
Line 1: Line 1:
 +
{{Navbar Kernel Competence}}
 +
 +
 
Install Subversion application.
 
Install Subversion application.
  
Line 23: Line 26:
 
  sudo make installkernel KERNCONF=GHOSTBSD
 
  sudo make installkernel KERNCONF=GHOSTBSD
 
  shutdown -r now
 
  shutdown -r now
 +
 +
 +
[[Category:Kernel]]

Latest revision as of 15:55, 29 August 2020

Kernel Competence
Sysctl Kldstat Third-party Kernel Modules
Kernel Modules FreeBSD Ports: Kld Kenv
Compiling a new GhostBSD kernel
Back to the Icon Disti GhostBSD.pngSystem


Install Subversion application.

sudo pkg install FreeBSD-svn-12.0.s20180802153734

Fetch the latest kernel support files.

sudo svn checkout svn://svn.freebsd.org/base/releng/12.0 /usr/src

Copy the generic kernel configuration to a new file, and add a link.

sudo cp /usr/src/sys/amd64/conf/GENERIC  /root/GHOSTBSD
cd /usr/src/sys/amd64/conf
sudo ln -s /root/GHOSTBSD .

Edit the GHOSTBSD kernel configuration file to one's liking.

sudo vi GHOSTBSD

Build and install the new kernel

cd /usr/src
sudo make buildkernel KERNCONF=GHOSTBSD
sudo make installkernel KERNCONF=GHOSTBSD
shutdown -r now