how to install kernel on ubuntu | linux

Опубликовано: 29 Август 2026
на канале: roots infotainment
263
2

in this video i will show you
how you can install another kernel (old or new) along with existing kernel . this method works with other linux distros like centos , red hat as well.
just change the package manager accordingly.
switch between installed kernels
resolve the grub menu now appearing at boot time issue.

prerequisites:

sudo apt-get install bc
sudo apt-get install gcc
sudo apt-get install make
sudo apt-get install flex
sudo apt-get install bison
sudo apt-get install openssl libssl-dev
##if required run this # sudo apt --fix-broken install
sudo apt install libncurses-dev
sudo apt-get -y install elfutils

-- changes in .config file

CONFIG_MODULE_SIG=y to n
comment the below lines:
CONFIG_SYSTEM_TRUSTED_KEYS
CONFIG_DEBUG_INFO_BTF