Kernel not showing in grub2

Julie Sullivan kernelmail.jms at
Wed Sep 28 16:25:19 EDT 2011

Hi Scott

On Wed, Sep 28, 2011 at 2:11 AM, scott <redhowlingwolves at> wrote:
> I compiled a 3.0.0-rc7 kernel. Everything went smoothly except it
> doesn't show in the grub menu even after doing sudo update-grub. I see
> the kernel in /boot/grub/grub.cfg. Everything appears right with the
> UUID's and all. I noticed in /boot it doesn't list the abi-3.0-rc7.
> System-map initrd-img, vmlinux and config are all there.
> Would the missing abi- keep grub from recognizing it or am I barking up
> the wrong tree. If it is, how do I go about creating the abi short of
> recompiling.

I'm using Ubuntu and looking in my boot directory the only abi-* files
are those of the 3 distro-native kernels (in fact I only noticed they
existed when I read your email.) None of my own kernels have them (or
had them even before I upgraded to Ubuntu 11.04 as I recall). And all
the kernels (about 20-30) are installed and booting OK. So maybe it's
not that.

There are a couple of things you could check though:

- You're not naming your kernel something odd. You can build the
kernel fine of course and do a make modules_install, but when I've
misnamed a kernel (I've accidentally used underscores instead of
hyphens before) update-grub (which is run automatically on make
install on Ubuntu 11.04) complains and refuses to install it.

-  Your /boot isn't full. Mine maxes out at about 50 kernels with
their associated files. Again, the new kernel will not be installed if
it's full :-)

Assuming it's not either of those I can't immediately think of what
the problem is. Sorry - this is probably not especially helpful.


More information about the Kernelnewbies mailing list