Sunday, 22 October 2017

Installation of Kernel from source file

Download the latest tar source files:

https://git.kernel.org/torvalds/t/linux-4.12-rc1.tar.gz

Copy the file to /usr/src location

  • tar -xvzf [file name]
  • cd /usr/src/
  •  make menuconfig\
Exit from the window and save the kernal

  • make bzImage
  • make
  • make modules
  • make modules_install
  • make install

Note:


 "make bzImage" command sometimes fails, install dependency libraries.

scripts/sign-file.c:23:30: fatal error: openssl/opensslv.h: No such file or directory
#include <openssl/opensslv.h>
compilation terminated.
make[1]: *** [scripts/sign-file] Error 1
make: *** [scripts] Error 2

yum install openssl / dnf install openssl

No comments:

Post a Comment

Related Posts Plugin for WordPress, Blogger...