RHEL7: How to install the most recent stable kernel.

Share this link

Presentation

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.

Installation Procedure

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!

Additional Resources

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

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

Leave a Reply

Upcoming Events (Local Time)

There are no events.

RHCSA7: Task of the day

Allowed time: 5 minutes.
Create a user account named "tony" with password “redhat” and belonging to a secondary group called “team”.

RHCE7: Task of the day

Allowed time: 10 minutes.
Set up a caching-only DNS server to forward DNS queries.

Follow me on Twitter

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 ...