Grub 1.97 beta4 not showing 2.6.31-20 and 19 in menu?

Asked by james

Hi,

my ubuntu 9.10 grub menu is not showing 2.6.31-20, and 2.6.31-19 in menu

I did sudo update-grub many times and the /boot/grub/menu.lst shows the list as

title Ubuntu 9.10, kernel 2.6.31-20-generic
title Ubuntu 9.10, kernel 2.6.31-20-generic (recovery mode)
title Ubuntu 9.10, kernel 2.6.31-19-generic
title Ubuntu 9.10, kernel 2.6.31-19-generic (recovery mode)
title Ubuntu 9.10, kernel 2.6.31-17-generic
title Ubuntu 9.10, kernel 2.6.31-17-generic (recovery mode)

but only 2.6.31-17, and 2.6.31-16 shows up while i boot and others are not there i have tried re-installation of the kernels but its not there
any help

Thanks

James

Question information

Language:
English Edit question
Status:
Solved
For:
Ubuntu Edit question
Assignee:
No assignee Edit question
Solved by:
actionparsnip
Solved:
Last query:
Last reply:
Revision history for this message
Best actionparsnip (andrew-woodhead666) said :
#1

sudo apt-get clean; sudo apt-get --reinstall install linux-image-2.6.31-20-generic

Revision history for this message
james (jamesvar-70) said :
#2

Hi

I tried that, but still it is missing from the start menu

thanks

Revision history for this message
Andrew Gaydon (andrew-gaydon) said :
#3

Are you using Grub 2 or Grub 1 ?

If you are using Grub 2 take a look at this http://www.dedoimedo.com/computers/grub-2.html#mozTocId293325

Revision history for this message
Andrew Gaydon (andrew-gaydon) said :
#4

If you are using Grub 2 take a look at this http://www.dedoimedo.com/computers/grub-2.html#mozTocId293325

I don't believe that it uses the menu.lst anymore, but I could be wrong.

Revision history for this message
james (jamesvar-70) said :
#5

Thanks,

i could solve it, i had to install grub 2, now it is showing latest kernels, as noted by you it is not using menu.lst

sudo apt-get install grub2

Revision history for this message
james (jamesvar-70) said :
#6

Thanks actionparsnip, that solved my question.

Revision history for this message
actionparsnip (andrew-woodhead666) said :
#7

Glad you got the gold dude :)

Revision history for this message
Abdullah (abdallah82) said :
#8

Hello everyone,
I am having a Ubuntu nightmare. I am relatively new to the whole Linux thing. I just updated my Ubuntu from the update manager today and after I restarted I keep getting the following error:

"Error: You need to load kernel first."

My boot menu shows the following:
GNU Grub version: 1.97~Beta4
"Ubuntu, Linux 2.6.31-21-generic"
"Ubuntu, Linux 2.6.31-21-generic (recovery mode)"
"Ubuntu, Linux 2.6.31-20-generic"
"Ubuntu, Linux 2.6.31-20-generic (recovery mode)"
"Ubuntu, Linux 2.6.31-14-generic"
"Ubuntu, Linux 2.6.31-14-generic (recovery mode)"
"Windows 7 (loader) (on dev/sda1)"

The only two that work are the last two.

So I chose "Ubuntu, Linux 2.6.31-14-generic" and booted normally.

From there I typed actionparsnip's suggested solution:
sudo apt-get clean; sudo apt-get --reinstall install linux-image-2.6.31-21-generic

As you see I suited actionparsnip's solution to my version.

The command downloaded something and made some fixes/updates and everything and seemed to have worked fine.

The system asked me to reboot, and here I am stuck:
Now the boot menue shows the grup prompt which seems like:

Minimal BASH-like line editing supported...
sh:grub>

NOTES: I originally installed Ubuntu alongside Windows 7 using Wubi. I can paste the contents "wubildr.cfg" if this helps.

I had to go back to my Windows 7 to post this. Please helpy me wake up from this nightmare. I have worked day and night to configure Ubuntu to suite my needs :(

I appreciate your help.