General support questions
2 posts • Page 1 of 1
We have upgraded our System from RHEL6 to RHEL7 which uses grub2 boot loader however while booting the system we still can see that the boot loader is still looking for the legacy /boot/grub/grub.conf for selecting the kernel and if the file doesn't contains the current installed kernel, it just complains! however it should use the /boot/grub2/grub.cfg instead So any ideas how to tell the system , hey body please wake up and use grub2 configuration files instead ?
Therefore, you are a paying customer of Red Hat and should use their customer support to solve the issue. There is no upgrade option from CentOS 6 to CentOS 7.
That said, I've seen CentOS 7 in a VM, where the precreated image had /boot/grub/grub.conf. On installation of new kernel the 'grubby' does update bootloader config. Grubby did update the /boot/grub/grub.conf, but GRUB2 does read on boot the /boot/grub2/grub.cfg. Solution was simple: remove /boot/grub/grub.conf; after that grubby focuses on the correct config.
I was wondering who and how. Grub complains? It won't care about files that are not mentioned in the config, so that cannot be it.
Is it perhaps that "kernel to boot by default" has been saved to grubenv, but no such stanza is in the menu?