Skip to contentSkip to conversation

Kernel not showing in grub2

DISCUSSION scott 3 participants 7 messages Sep 28, 2011 – Sep 29, 2011 1 message not in the archive

lore
Share & tools
lore

scott

author
#0 lore raw

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.

Thanks, Scott

#1 lore raw

Hi,

Quoted 9 lines · scott

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.

You can install something called "grub customizer" (just google for it)

Quoted 8 lines

Thanks, Scott

_______________________________________________
Kernelnewbies mailing list
Kernelnewbies at kernelnewbies.org
http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies

author
#2 lore raw
Quoted 2 lines · Prashant Shah

You can install something called "grub customizer" (just google for it)

I have grub-customizer already. It shows in the menu in that, too. I even manually added it to grub.cfg. I'm beginning to think something is wrong with grub in general. I think I'll reinstall grub and see what happens.

Thanks,Scott

author
#3 lore raw
Quoted 11 lines · scott
Quoted 2 lines · Prashant Shah

You can install something called "grub customizer" (just google for it)

I have grub-customizer already. It shows in the menu in that, too. I even manually added it to grub.cfg. I'm beginning to think something is wrong with grub in general. I think I'll reinstall grub and see what happens.

Thanks,Scott

Evidently is was something in grub. I reinstalled it and everything works as it should.

Thanks for all the help,
Scott

#4 lore raw
In reply to scott

Hi Scott

Quoted 9 lines · scott

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.

Cheers
Julie

author
#5 lore raw
Quoted 32 lines · Julie Sullivan

Hi Scott

Quoted 9 lines · scott

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 :-)

Quoted 6 lines

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

Cheers
Julie

No naming convention problems. /boot is not full either. I'm stumped on this one.

Thanks for the reply anyway, Scott

PS: Sorry for the post to your private email, Pritam. I hit the 'reply' button instead of 'reply-to-list'.

A message that is not in the archive (sent off-list or not yet received): CAE6Wm-tk98vYg3dphEBd1DuqVUB9q=chP4TVKTJjYT1sZhDLBw@mail.gmail.com

author
#7 lore raw
Quoted 30 lines · Pritam Bankar

Check the /lib/modules directory for corresponding entry for 3.0.0. sudo update-grub does only scanning of /boot directory and puts them in a list so its look like grub update error.
abi-3.0-rc7 will not create because its only present when your kernel comes from standard distro.
Anyway you can manually edit grub.cfg file.

Quoted 17 lines · scott

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.

Thanks, Scott

_______________________________________________
Kernelnewbies mailing list
Kernelnewbies at kernelnewbies.org
http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies