grubby is provided by package grubby on RHEL based systems. To install grubby, run
yum install grubby
To list all kernels, run
grubby --info=ALL
To view the default kernel, run
grubby --default-kernel
To set a kernel default, you need to specify the vmlinux file, example
grubby --set-default /boot/vmlinuz-3.10.0-962.3.2.lve1.5.73.el7.x86_64
Or specify the index
grubby --set-default-index 2
Back to grub
Leave a Reply