Kernel Upgrade - Gentoo (December 2018)



0
586

This is a video detailing a kernel upgrade, from copying and upgrading the configuration file to compiling the kernel and configuring grub to recognize the upgraded kernel in the boot sector. Here is a list of instructive commands that I follow during this process: cp /usr/src/linux/.config ~/kernel-config-`uname -r` sudo eselect kernel list Available kernel symlink targets: [1] linux-4.14.83-gentoo * [2] linux-4.19.0-gentoo sudo eselect kernel set 2 sudo eselect kernel list Available kernel symlink targets: [1] linux-4.14.83-gentoo [2] linux-4.19.0-gentoo * cd /usr/src/linux sudo cp /boot/config-4.14.83-gentoo /usr/src/linux/.config sudo make olddefconfig ##This sets all new options to default recommended status sudo make silentoldconfig ##This option goes through all new changes and asks the user for input ## Example: Anticipatory I/O scheduler (IOSCHED_AS) [Y/n/m/?] (NEW) sudo make modules_prepare sudo emerge --ask @module-rebuild sudo make && sudo make modules_install && sudo make install sudo grub-mkconfig -o /boot/grub/grub.cfg

Published by: Morrow Sind Published at: 5 years ago Category: مردم و وبلاگ