GNU/Linux Arch Build New Kernel from Source Code Guide
Hi! The Tutorial Shows You Step-by-step How to Build and Install a New Custom Kernel from Source Code in Arch GNU/Linux Desktop.
Especially relevant: this Arch Kernel Setup make use of the latest Linux Kernel Source Code.
Important to know how this Setup does Not change your existing System and so in any case you will be able to startup with the current Kernel from the GRUB Splash Screen.
For further advanced Kernel Configuration instructions you may see the Linux Kernel Documentation.
Finally for a Non Bootable System before see How to chroot on Arch GNU/Linux Tutorial.
1. Installing Requirements
Now Install Required Packages
First, upgrade Arch System with:
sudo pacman -SyyuAuthenticate with the User Admin Pass.
If Got “User is Not in Sudoers file” then see: How to Enable sudo. Reboot:
sudo rebootThen to install the Build Essential Group play:
sudo pacman -Sy --needed base-develAnd again the recommended:
sudo pacman -Sy xmlto kmod inetutils bc libelf git cpio perl tar xz