ELRepo Project For Yum Update Kernel

Welcome to the ELRepo Project

“For the community, by the community.”

Welcome to ELRepo, an RPM repository for Enterprise Linux packages. ELRepo supports Red Hat Enterprise Linux (RHEL) and its derivatives (Scientific Linux, CentOS & others).

The ELRepo Project focuses on hardware related packages to enhance your experience with Enterprise Linux. This includes filesystem drivers, graphics drivers, network drivers, sound drivers, webcam and video drivers.

Star Get started

Import the public key:

Detailed info on the GPG key used by the ELRepo Project can be found on https://www.elrepo.org/tiki/key (external link)
If you have a system with Secure Boot enabled, please see the SecureBootKey page for more information.

To install ELRepo for RHEL-7, SL-7 or CentOS-7:

To make use of our mirror system, please also install yum-plugin-fastestmirror.

To install ELRepo for RHEL-6, SL-6 or CentOS-6:

To make use of our mirror system, please also install yum-plugin-fastestmirror.



The elrepo-kernel channel provides both the long-term support kernels (which have been configured for RHEL-6 and RHEL-5) and the latest stable mainline kernels (which have been configured for RHEL-7 and RHEL-6) using sources available from the Linux Kernel Archives (external link). Please see the kernel-lt or kernel-ml pages for further details. This channel may be enabled in the /etc/yum.repos.d/elrepo.repo file or used with ‘yum –enablerepo=elrepo-kernel’.

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

yum –enablerepo=elrepo-kernel -y install kernel-lt


cd /usr/src/
tar xzvf linux-2.6.39.tar.gz
cd linux-2.6.39
cp /boot/config-`uname -r` .config
make menuconfig
make modules
make modules_install
make install
cp .config /boot/config-2.6.39
[root@localhost linux-2.6.39]# grep CONFIG_SYSFS .config

sed -i 's/default=1/default=0/' /boot/grub/grub.conf


yum -y install e4fsprogs


mkfs.ext4 /dev/sdb1


mount -t ext4 -o noatime /dev/sdb1 /data


mount -t ext4dev -o remount,noatime /dev/sdb1

.把现有分区修改成ext4 ( /dev/sda1 on /boot type ext3 (rw) [/boot] )

tune4fs -O extents,uninit_bg,dir_index,flex_bg /dev/sdb1
e4fsck /dev/sda1


/dev/VolGroup00/LogVol00   /   ext4dev  defaults.noatime  1   1
echo "/dev/sdb1  /data   ext4  noatime  0  0" >> /etc/fstab