Difference between revisions of "Installing new kernel from source code"
From Notes_Wiki
m |
m |
||
Line 1: | Line 1: | ||
[[Main Page|Home]] > [[CentOS]] > [[CentOS 6.x]] > [[Miscellaneous OS configuration]] > [[Installing new kernel from source code]] | |||
To install new kernel from source code follow these steps: | To install new kernel from source code follow these steps: | ||
Line 11: | Line 10: | ||
[[Main Page|Home]] > [[CentOS]] > [[CentOS 6.x]] > [[Miscellaneous OS configuration]] > [[Installing new kernel from source code]] | |||
Latest revision as of 15:49, 22 July 2022
Home > CentOS > CentOS 6.x > Miscellaneous OS configuration > Installing new kernel from source code
To install new kernel from source code follow these steps:
- Download latest kernel source
- Use 'make xconfig' to create .config file in current folder. You can also use 'make menuconfig' or 'make gconfig' etc. Use 'make help' to get complete list
- Use 'make all' to make everything
- Use 'sudo make modules_install install' to install the modules as well as the kernel. This also adds a line to /etc/grub.conf as desired
Home > CentOS > CentOS 6.x > Miscellaneous OS configuration > Installing new kernel from source code