PDA

View Full Version : Kernels corrupted?



bg3075
27th May 2009, 01:16 AM
I can no longer boot into any kernel but "(2.6.27.21-170.2.56.fc10.i686)", see in grub.conf code below. Is there a way to reinstall newer kernel?



# grub.conf generated by anaconda
#
# Note that you do not have to rerun grub after making changes to this file
# NOTICE: You have a /boot partition. This means that
# all kernel and initrd paths are relative to /boot/, eg.
# root (hd0,0)
# kernel /vmlinuz-version ro root=/dev/VolGroup00/LogVol00
# initrd /initrd-version.img
#boot=/dev/sda
default=0
timeout=5
splashimage=(hd0,0)/grub/splash.xpm.gz
hiddenmenu
title Fedora (2.6.27.24-170.2.68.fc10.i686)
root (hd0,0)
kernel /vmlinuz-2.6.27.24-170.2.68.fc10.i686 ro root=/dev/VolGroup00/LogVol00 rhgb quiet crashkernel=128M
initrd /initrd-2.6.27.24-170.2.68.fc10.i686.img
title Fedora (2.6.27.24-170.2.68.fc10.i686.debug)
root (hd0,0)
kernel /vmlinuz-2.6.27.24-170.2.68.fc10.i686.debug ro root=/dev/VolGroup00/LogVol00 rhgb quiet crashkernel=128M
initrd /initrd-2.6.27.24-170.2.68.fc10.i686.debug.img
title Fedora (2.6.27.21-170.2.56.fc10.i686.debug)
root (hd0,0)
kernel /vmlinuz-2.6.27.21-170.2.56.fc10.i686.debug ro root=/dev/VolGroup00/LogVol00 rhgb quiet
initrd /initrd-2.6.27.21-170.2.56.fc10.i686.debug.img
title Fedora (2.6.27.21-170.2.56.fc10.i686)
root (hd0,0)
kernel /vmlinuz-2.6.27.21-170.2.56.fc10.i686 ro root=/dev/VolGroup00/LogVol00 rhgb quiet crashkernel=128M
initrd /initrd-2.6.27.21-170.2.56.fc10.i686.img
title Fedora (2.6.27.5-117.fc10.i686)
root (hd0,0)
kernel /vmlinuz-2.6.27.5-117.fc10.i686 ro root=UUID=18be41d8-ac99-4afb-be3b-22424a75b5b1 rhgb quiet
initrd /initrd-2.6.27.5-117.fc10.i686.img
title Other
rootnoverify (hd1,0)
chainloader +1

Iron_Mike
27th May 2009, 01:43 AM
The latest kernel I have is: 2.6.29.3-60.fc10.i686, install it and get rid of those other entries.

Yum update kernel

bg3075
27th May 2009, 02:05 AM
The latest kernel I have is: 2.6.29.3-60.fc10.i686, install it and get rid of those other entries.

Yum update kernel

Thanks Iron_Mike,

I tried to update the kernel, returned "no packages marked for update" (probably need to get rid of the corrupt, newer, kernel first and then update, right?). Sorry, a newbie here...what is the way to get rid of kernels, without screwing something up?

Will updating the kernel via Yum require compiling after update?

Iron_Mike
27th May 2009, 03:13 AM
Thanks Iron_Mike,

I tried to update the kernel, returned "no packages marked for update" (probably need to get rid of the corrupt, newer, kernel first and then update, right?). Sorry, a newbie here...what is the way to get rid of kernels, without screwing something up?

Will updating the kernel via Yum require compiling after update?

To help you out a bit, install Yumex, a graphical interface for yum a little bit more intuitive. When you open a terminal window, then change to root and type:

"yum update" it comes back with no packages to be updated?

Mike