grub entry after new kernel installation
Hi,
few days ago I installed new kernel with yum (official CentOS repo): Code:
grep kernel /var/log/yum.log Code:
# uname -r Code:
default=0 Thank you |
I don't know why the older kernel is loading and I find that odd becuase the output clearly shows you installed a new one.
At one point I had 5 kernels in my Grub Menu so I change the limit to =2 by editing the /etc/yum.conf file. If you set it to one I don't know which kernel Grub will list first. When your system boots you should be able to choose which kernel you want to boot with your arrow keys- This might help. http://www.if-not-true-then-false.co...-red-hat-rhel/ |
Quote:
Very strange. I manage several CentOS machines, it's the first time I have this kind of issue. |
Are you multi-booting?
It could be that another distro has "control" of the bootloader (ie the last system to `grub-install` will determine which distro's grub.cfg is parsed). If you post the content of /boot/grub/grub.cfg (rather than grub.conf) we could be sure. I don't use CentOS, however -- did you run `update-grub` (or `grub-mkconfig -o /boot/grub/grub.cfg`)? From grub.conf: Quote:
|
Quote:
What was the exact command you used? the normal command would not do that Code:
su - or did you try REPLACING the default kernel with a different one ? if you did that you would need to also replace the headers and the source then rebuild the bootimage ( cent6 uses "dracut" ) |
Quote:
Quote:
Code:
# ls /boot/grub/ Quote:
---------- Post added 12-09-14 at 04:47 PM ---------- Quote:
|
I noticed another strange thing.
I went to housing provider (luckily it is in the city where I live :) and rebooted the machine. At grub prompt, I have JUST ONLY entry (2.6.32-71.el6.x86_64). This is my complete grub.conf: Code:
# grub.conf generated by anaconda Code:
# mount This server has "hardware" sata raid. What do you think? |
All times are GMT -5. The time now is 07:50 PM. |