Difference between revisions of "Installing new kernel from source code"

From Notes_Wiki
(Created page with "=Installing new kernel from sources code= To install new kernel from source code follow these steps: #Download latest kernel source #Use '<tt>make xconfig</tt>' to create .co...")
 
m
Line 1: Line 1:
<yambe:breadcrumb self="Installing new kernel from source code">Miscellaneous OS configuration|Miscellaneous OS configuration</yambe:breadcrumb>
=Installing new kernel from sources code=
=Installing new kernel from sources code=


Line 6: Line 7:
#Use '<tt>make all</tt>' to make everything
#Use '<tt>make all</tt>' to make everything
#Use '<tt>sudo make modules_install install</tt>' to install the modules as well as the kernel. This also adds a line to /etc/grub.conf as desired
#Use '<tt>sudo make modules_install install</tt>' to install the modules as well as the kernel. This also adds a line to /etc/grub.conf as desired
<yambe:breadcrumb self="Installing new kernel from source code">Miscellaneous OS configuration|Miscellaneous OS configuration</yambe:breadcrumb>

Revision as of 07:54, 21 August 2018

<yambe:breadcrumb self="Installing new kernel from source code">Miscellaneous OS configuration|Miscellaneous OS configuration</yambe:breadcrumb>

Installing new kernel from sources code

To install new kernel from source code follow these steps:

  1. Download latest kernel source
  2. 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
  3. Use 'make all' to make everything
  4. 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






<yambe:breadcrumb self="Installing new kernel from source code">Miscellaneous OS configuration|Miscellaneous OS configuration</yambe:breadcrumb>