FreeBSD Update from source

After installing the 14.1 point release I decided to follow the stable/14 branch.

First step was to pull the source code and checkout to the stable branch. After that build world and build the kernel. I used 4 jobs as my processor has 4 cores. Use this command accordingly to your core/thread number.

Curious to see how my AMD Ryzen 9 7950x3d performs !!

  1. cd /usr/src/
  2. git clone –branch stable/14 https://git.FreeBSD.org/src.git
  3. make -j4 -DNO_CLEAN buildworld
  4. make -j4 -DNO_CLEAN buildkernel
  5. make installkernel
  6. shutdown -r now
  7. cd /usr/src
  8. make installworld
  9. shutdown -r now

Kernel build in 716 seconds ~ 11 minutes

Voilà !


Leave a comment

Discover more from /root

Subscribe now to keep reading and get access to the full archive.

Continue reading