Centos6.5 Upgrade Linux Kernel
1. Upgrade the kernel to 3.10.x.Method 1: Install yum
cd /etc/yum.repos.d wget http://www.hop5.in/yum/el6/hop5.repoyum install kernel-ml-aufs kernel-ml-aufs-devel
Method 2: rpm installation (recommended)
rpm -ivh kernel-ml-aufs-3.10.5-3.el6.x86_64.rpm kernel-ml-aufs-devel-3.10.5-3.el6.x86_64.rpm
You can download rpm at http://down.51cto.com/data/4103250.2. Modify default = 0 in/etc/grub. conf.
default=0 timeout=5 splashimage=(hd0,0)/grub/splash.xpm.gz hiddenmenu title CentOS (3.10.5-3.el6.x86_64) root (hd0,0) kernel /vmlinuz-3.10.5-3.el6.x86_64 ro root=UUID=2d12dbef-aa63-4ad4-98bf-5beb0f9bfc48 rd_NO_LUKS rd_NO_LVM LANG=en_US.UTF-8 rd_NO_MD SYSFONT=latarcyrheb-sun16 crashkernel=auto KEYBOARDTYPE=pc KEYTABLE=us rd_NO_DM rhgb quiet initrd /initramfs-3.10.5-3.el6.x86_64.img title CentOS (2.6.32-358.el6.x86_64) root (hd0,0) kernel /vmlinuz-2.6.32-358.el6.x86_64 ro root=UUID=2d12dbef-aa63-4ad4-98bf-5beb0f9bfc48 rd_NO_LUKS rd_NO_LVM LANG=en_US.UTF-8 rd_NO_MD SYSFONT=latarcyrheb-sun16 crashkernel=auto KEYBOARDTYPE=pc KEYTABLE=us rd_NO_DM rhgb quiet initrd /initramfs-2.6.32-358.el6.x86_64.img
3. restart the system
reboot
4. Verify the kernel version
[root@vmname1 ~]# uname -r3.10.5-3.el6.x86_64
5. Check whether the kernel supports aufs.
[root@vmname1 ~]# grep aufs /proc/filesystemsnodevaufs