3

automagically add new kernels to grub

view full story
linux-howto

http://forums.fedoraforum.org – I'm sure there is a thread on this somewhere, but after looking though the first 100+ search results, I can't seem to find it. After a kernel update today, I noticed that new kernels are not being added to my grub menu.lst (so consequently, I was running an older kernel). Any obvious reason why this would happen (kernels being installed normally, with yum update)? I thought the whole process was supposed to be automagic. Would it have anything to do with the fact that I just kept my F11 menu.lst, and added a F12 kernel to it when I installed F12 (to a separate partition), then eventually (today, finally) removed the f11 kernels from it? Here's my menu.lst, in case it's useful: Code: # 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,6) #          kernel /vmlinuz-version ro root=/dev/sda3 rdblacklist=nouveau #          initrd /initrd-version.img #boot=/dev/sda default=1 timeout=5 splashimage=(hd0,6)/grub/splash.xpm.gz #hiddenmenu title Fedora 12 (2.6.31.6-166.fc12.x86_64)     root (hd0,6)     kernel /vmlinuz-2.6.31.6-166.fc12.x86_64 ro root=/dev/sda6 rhgb quiet rdblac     initrd /initramfs-2.6.31.6-166.fc12.x86_64.img title Fedora 12 (2.6.31.12-174.2.19.fc12.x86_64)     root (hd0,6)     kernel /vmlinuz-2.6.31.12-174.2.19.fc12.x86_64 ro root=/dev/sda6 rhgb quiet     initrd /initramfs-2.6.31.12-174.2.19.fc12.x86_64.img thanks. (HowTos)