RHEL7: How to install the most recent stable kernel.

Share this link

As it is pretty complicated to compile a new kernel, the ELRepo project provides an easy way to install a recent kernel, if you want to. Its elrepo-kernel channel actually allows you to install the most recent stable kernel.

Start by installing the ELRepo repository.

Then, temporary enable the elrepo-kernel channel and install the most recent stable kernel:

# yum --enablerepo=elrepo-kernel install -y kernel-ml

After rebooting, you will be able to choose the new kernel.
If you don’t want to choose at boot, type:

# grub2-set-default 0

Source: Inspired from this great Linoxide tutorial where you can additionally learn how to compile a kernel!

In addition, Bob Cromwell provides a page about building Linux kernels.

1 Star2 Stars3 Stars4 Stars5 Stars (No Ratings Yet)
Loading...

Leave a Reply

Be the First to Comment!

Notify of
wpDiscuz

RHCSA7: Task of the day

Allowed time: 10 minutes.
Archive and compress the content of the /opt directory (create files if none exists).
Uncompress and unarchive the resulting file in /root

RHCE7: Task of the day

Allowed time: 8 minutes.
Set up an iScsi target based on a fileio backstore of 100MB called /opt/shareddata with CHAP authentication (username=usr/password=pwd), xfs filesystem and standard firewall configuration.

Poll for favorite RHEL 7 book

What is your favorite RHEL 7 book to prepare RHCSA & RHCE exams?

View Results

Loading ... Loading ...

Poll for most difficult RHCSA 7 topic

What do you think is the most difficult RHCSA 7 topic?

View Results

Loading ... Loading ...

Poll for most difficult RHCE 7 topic

What do you think is the most difficult RHCE 7 topic?

View Results

Loading ... Loading ...

Recent Comments