Update kernel 4.0.1 in debian 8 jessie from linux-4.0.1.tar.xz file
Kernel version 4.0.1 was released few days before Debian 8 Jessie was released. Jessie is not packed with kernel 4.0.1 (stable). So updating is a cool idea.
Step 1: Download the kernel 4.0.1 tar.xz file from www.kernel.org and copy in Desktop
Installation Process:
Step 2: Go to Desktop directory
cd Desktop
Step 3: Run unxz tool
unxz linux-4.0.1.tar.xz
Step 4: Unzip Tar
tar xvf linux-4.0.1.tar
Step 5: Open Kernel Directory
cd linux-4.0.1
Step 6: For a fresh installation, run
make menuconfig
Note: This might give an error message. Thus necessary library package needs to be installed.
apt-get install libncurses5-dev
Step 7: Run step 6
if it didn't work install all necessary packages, with
sudo apt-get install fakeroot build-essential kernel-package ncurses-bin ncurses-dev
Step 8: Run step 6
Blue screen appears. Check whether everything is OK. When finished - use tab to select "Exit" or "Cancel"
Step 9:
When it will exit you will see output in the terminal as in the end.
root@sandipn:/home/sandipn/kernel/linux-4.0.1# make menuconfig
HOSTCC .. .. .. .. .. ..
.. .. .. ..
.. .. .. .
.. .. .. .. .. .. .. .. .. .
.. .. .. .. .. .. .. .. .. . . . . .
# configuration written to .config
#
*** End of the configuration.
*** Execute 'make' to start the build or try 'make help'.
This isn't very much important. Only important one is the line
#configuration written to .config
Step 10: Clean unwanted files
make-kpkg clean
Step 11: Bild a Debian package (.deb extension) for dpkg tool,
fakeroot make-kpkg -j6 --initrd --revision=4.0.1 --append-to-version=-amd64 kernel_image kernel_headers
Compile:
time fakeroot make-kpkg -j6 --initrdevision=4.0.1 --append-to-version=-amd64 kernel_image kernel_headers
Step 12: Terminal starts to scroll with the command above.
.. .. .. .. ..
CC [M] fs/ext2/acl.o
CC [M] fs/ext2/xattr_security.o
.. .. .. ..
so on.
Step 13: At the end, install .deb package and reboot the system.
Step 14: Select new kernel from grub.
You will have successfully installed kernel 4.0.1
Comments
Post a Comment
Comments