如果你很高興/要使用的「當前」的內核,那麼你可以啓用elrepo
並安裝kernel-ml
檢查/etc/yum.repos.d/elrepo.repo
- 如果你沒有一個再看看; http://elrepo.org/tiki/tiki-index.php這將給你如何添加和啓用企業Linux回購和啓用內核部分的說明。
如果需要,您應該可以一路升級到4.11.1。 kernel-ml安裝與舊的kernel-x文件兼容,可以共存於一個系統上。 Kernel-ml也有固件,頭文件和庫文件。
yum info kernel-ml
Name : kernel-ml
Arch : x86_64
Version : 4.11.1
Release : 1.el6.elrepo
Size : 184 M
Repo : installed
From repo : elrepo-kernel
Summary : The Linux kernel. (The core of any Linux-based operating system.)
URL : https://www.kernel.org/
License : GPLv2
Description : This package provides the Linux kernel (vmlinuz), the core of any
: Linux-based operating system. The kernel handles the basic functions
: of the OS: memory allocation, process allocation, device I/O, etc.
一旦你安裝了新的內核,你需要檢查你的grub.conf
文件,它告訴OS的內核(如果你有幾個安裝)從啓動。該文件應位於; /etc/grub.conf
朝向文件頂部的某處應該是行default=x
,其中x
通常爲0
或1
在此之下,您可能有一個內核列表。列表中的第一個通常是最新的,然後是0
,然後他們在列表中排序。
示例grub.conf
引導內核4.11.1-1;
default=0
timeout=5
splashimage=(hd0,0)/grub/splash.xpm.gz
hiddenmenu
title CentOS (4.11.1-1.el6.elrepo.x86_64)
root (hd0,0)
kernel /vmlinuz-4.11.1-1.el6.elrepo.x86_64 ro root=/dev/mapper/vg_xs-lv_root rd_NO_LUKS rd_LVM_LV=vg_xs/lv_swap LANG=en_US.UTF-8 rd_NO_MD SYSFONT=la
tarcyrheb-sun16 crashkernel=auto KEYBOARDTYPE=pc KEYTABLE=uk rd_LVM_LV=vg_xs/lv_root rd_NO_DM audit=0
initrd /initramfs-4.11.1-1.el6.elrepo.x86_64.img
title CentOS (4.11.0-1.el6.elrepo.x86_64)
root (hd0,0)
kernel /vmlinuz-4.11.0-1.el6.elrepo.x86_64 ro root=/dev/mapper/vg_xs-lv_root rd_NO_LUKS rd_LVM_LV=vg_xs/lv_swap LANG=en_US.UTF-8 rd_NO_MD SYSFONT=la
tarcyrheb-sun16 crashkernel=auto KEYBOARDTYPE=pc KEYTABLE=uk rd_LVM_LV=vg_xs/lv_root rd_NO_DM audit=0
initrd /initramfs-4.11.0-1.el6.elrepo.x86_64.img
任何人都可以幫我嗎? – Arav