How to Build and Install #latest Stable Linux Kernel Version from Source Code in #tamil | 2024
How to Build Kernel from Source Code
1. Download the Source Code – from – wget + https link
2. Extract the Source Code – tar xvf
3. Install Required Packages
sudo apt-get install git fakeroot build-essential ncurses-dev xz-utils libssl-dev bc flex libelf-dev bison
4. Configure Kernel – Generate .config file
cd linux-version
cp -v /boot/config-$(uname -r) .config [or] make localmodconfig
5. To make changes to the configuration file – “make menuconfig”
$ scripts/config –disable SYSTEM_TRUSTED_KEYS
$ scripts/config –disable SYSTEM_REVOCATION_KEYS
$ scripts/config –set-str CONFIG_SYSTEM_TRUSTED_KEYS “”
$ scripts/config –set-str CONFIG_SYSTEM_REVOCATION_KEYS “”
6. Build the Kernel – fakeroot make -j8
check the status: $ echo $?
7. Install the required modules – sudo make modules_install
8. Finally, install the kernel – sudo make install
9. Update the Bootloader
Update the initramfs to the installed kernel version
sudo update-initramfs -c -k [__version__]
sudo update-grub
10. Reboot and Verify Kernel Version
uname -mrs
#latest #2024 #linux #linuxkernel #kernelbuild #customkernel
[ad_2]
source