Downgrading Linux to old Kernel

Updating to old kernel

 

1.# uname -a

Linux geeklab 3.8.13-94.el7uek.x86_64 #2 SMP Wed Feb 11 14:18:22 PST 2015 x86_64 x86_64 x86_64 GNU/Linux

 

 

2.# awk -F\' '$1=="menuentry " {print $2}' /etc/grub2.cfg

 

Oracle Linux Server, with Unbreakable Enterprise Kernel 3.8.13-94.el7uek.x86_64

Oracle Linux Server, with Unbreakable Enterprise Kernel 3.8.13-94.el7uek.x86_64 with debugging

Oracle Linux Server 7.1, with Linux 3.10.0-229.el7.x86_64

Oracle Linux Server 7.1, with Unbreakable Enterprise Kernel 3.8.13-55.1.6.el7uek.x86_64

Oracle Linux Server 7.1, with Linux 0-rescue-441e86c9ff854310a306bd33e56aae2b

 

  1. # grub2-set-default 3

 

  1. # grub2-mkconfig -o /boot/grub2/grub.cfg

Generating grub configuration file ...

Found linux image: /boot/vmlinuz-3.10.0-229.el7.x86_64

Found initrd image: /boot/initramfs-3.10.0-229.el7.x86_64.img

Found linux image: /boot/vmlinuz-3.8.13-94.el7uek.x86_64

Found initrd image: /boot/initramfs-3.8.13-94.el7uek.x86_64.img

Found linux image: /boot/vmlinuz-3.8.13-55.1.6.el7uek.x86_64

Found initrd image: /boot/initramfs-3.8.13-55.1.6.el7uek.x86_64.img

Found linux image: /boot/vmlinuz-0-rescue-441e86c9ff854310a306bd33e56aae2b

Found initrd image: /boot/initramfs-0-rescue-441e86c9ff854310a306bd33e56aae2b.img

done

 

5. Shutdown -r now