grub.cfg not updated after new kernel install
grub.cfg not updated after new kernel install
Hello All,
After a kernel update (via yum), the server boots on the freshly installed kernel.
Except for one of my servers. To make the server boot with the updated kernel I have to manually run grub2-mkconfig.
Is it a yum configuration problem ? a permissions problem ?
After a kernel update (via yum), the server boots on the freshly installed kernel.
Except for one of my servers. To make the server boot with the updated kernel I have to manually run grub2-mkconfig.
Is it a yum configuration problem ? a permissions problem ?
Re: grub.cfg not updated after new kernel install
If you are having problems with grub2 on CentOS 7, such as new kernels not being detected, you should check the symlink exists between /etc/grub2.cfg -> ../boot/grub2/grub.cfg (legacy BIOS) or /etc/grub2-efi.cfg -> ../boot/efi/EFI/centos/grub.cfg (UEFI systems)
The future appears to be RHEL or Debian. I think I'm going Debian.
Info for USB installs on http://wiki.centos.org/HowTos/InstallFromUSBkey
CentOS 5 and 6 are deadest, do not use them.
Use the FAQ Luke
Info for USB installs on http://wiki.centos.org/HowTos/InstallFromUSBkey
CentOS 5 and 6 are deadest, do not use them.
Use the FAQ Luke
Re: grub.cfg not updated after new kernel install
The symlink existed but the target ../boot/grub2/grub.cfg is missing.
The effective grub.cfg is located in /boot/grub.
I made the symlink point to this file (/etc/grub2.cfg -> ../boot/grub/grub.cfg).
Waiting for the next kernel update.
The effective grub.cfg is located in /boot/grub.
I made the symlink point to this file (/etc/grub2.cfg -> ../boot/grub/grub.cfg).
Waiting for the next kernel update.
Re: grub.cfg not updated after new kernel install
Was this a conversion from CentOS 6 to 7? That appears to be a grub legacy directory not a grub2 one.
The future appears to be RHEL or Debian. I think I'm going Debian.
Info for USB installs on http://wiki.centos.org/HowTos/InstallFromUSBkey
CentOS 5 and 6 are deadest, do not use them.
Use the FAQ Luke
Info for USB installs on http://wiki.centos.org/HowTos/InstallFromUSBkey
CentOS 5 and 6 are deadest, do not use them.
Use the FAQ Luke
Re: grub.cfg not updated after new kernel install
This is the default installation of a CentOS 7 VPS hosted by www.gandi.net.Was this a conversion from CentOS 6 to 7? That appears to be a grub legacy directory not a grub2 one.
Re: grub.cfg not updated after new kernel install
I fear you may have been sold something that isn't CentOS if it really uses /boot/grub/grub/cfg and not /boot/grub2/grub.cfg.
https://wiki.centos.org/AdditionalResources/OtherSpins
https://wiki.centos.org/fr/TipsAndTricks/BrokenVserver
https://wiki.centos.org/AdditionalResources/OtherSpins
https://wiki.centos.org/fr/TipsAndTricks/BrokenVserver
The future appears to be RHEL or Debian. I think I'm going Debian.
Info for USB installs on http://wiki.centos.org/HowTos/InstallFromUSBkey
CentOS 5 and 6 are deadest, do not use them.
Use the FAQ Luke
Info for USB installs on http://wiki.centos.org/HowTos/InstallFromUSBkey
CentOS 5 and 6 are deadest, do not use them.
Use the FAQ Luke
Re: grub.cfg not updated after new kernel install
Yes, it seems that the CentOS I got has been somewhat customized.
I must live with that.... as far as you don't ban me for using a bootleg CentOS
I must live with that.... as far as you don't ban me for using a bootleg CentOS
Re: grub.cfg not updated after new kernel install
This didn't solve the problem.I made the symlink point to this file (/etc/grub2.cfg -> ../boot/grub/grub.cfg).
I'm updating this thread just for the sake of completeness. I'm not seeking help, I'll will use grub2-mkconfig.