Hello,
I ran a yum update on a centos 5 machine. I then removed some old kernel
files, 2.6.x.14 and 2.6.x.10 older kernels. The issue is i got the error
"Grub can not create template". I checked /boot and it is now empty.
If i
reboot this box it certainly will have an issue. I'm running the latest
kernel 2.6.x.15 i believe it is. Can anyone tell me how to fix this?
Thanks.
Dave.
Bart Schaefer
2007-Nov-26 03:38 UTC
[CentOS] CentOS /boot kernel files removed after rpm upgrades
On Nov 25, 2007 3:16 PM, Dave <dmehler26 at woh.rr.com> wrote:> I ran a yum update on a centos 5 machine. [...] I checked /boot and it is now empty.Start by checking /var/cache/yum to see if the RPMs for your most recently installed kernel are still there. If they are, use "rpm -ivh --oldpackage ..." to re-install, and that should re-populate /boot. If they're not in the cache, you'll need to manually download them from mirrors.centos.org and then proceed with rpm -i. I also suggest that you "yum install yum-utils" and use package-cleanup to manage your old kernel files from now on.