no Ubuntu 10.04 in grub menu

Asked by Harish

I upgraded yesterday from Ubuntu 9.10 to 10.04 update everythin went fie... but after the installation when I restarted in the grub menu i couldn't find Ubuntu 10.04 listed over there.. only 9.10 was available... so i clicked 9.10 and it came to the screen where it mounts hd (0,6).. it showed an error that no drive to mount and then chroot invalid directory and after these error messages it goes into 10.04.. can u help me find how to get Ubuntu 10.04 in my grub menu.. menu.lst also doesn't have ubuntu 10.04..only 9.10 is shown...

Question information

Language:
English Edit question
Status:
Answered
For:
Ubuntu grub Edit question
Assignee:
No assignee Edit question
Last query:
Last reply:

This question was reopened

Revision history for this message
Harish (harish2105-mba) said :
#1

please guys help me in this regard too...

Revision history for this message
delance (olivier-delance) said :
#2

In /boot/grub/menu.lst, add after "## ## End Default Options ##" these lines

title Ubuntu 10.04 LTS, kernel 2.6.32-21-generic
uuid ef3449fc-7813-48fe-a458-1c611b17fce4
kernel /boot/vmlinuz-2.6.32-21-generic root=UUID=ef3449fc-7813-48fe-a458-1c611b17fce4 ro xforcevesa quiet splash
initrd /boot/initrd.img-2.6.32-21-generic
quiet

title Ubuntu 10.04 LTS, kernel 2.6.32-21-generic (recovery mode)
uuid ef3449fc-7813-48fe-a458-1c611b17fce4
kernel /boot/vmlinuz-2.6.32-21-generic root=UUID=ef3449fc-7813-48fe-a458-1c611b17fce4 ro xforcevesa single
initrd /boot/initrd.img-2.6.32-21-generic

You have to change "ef3449fc-7813-48fe-a458-1c611b17fce4" with your own disk uuid.
When you was talk to update grub, you probably selected option "Keep Old".

Revision history for this message
Harish (harish2105-mba) said :
#3

Thanks delance, that solved my question.

Revision history for this message
Harish (harish2105-mba) said :
#4

Hey Delance.. I made a mistake I changed the UUID in the second line only of both the para.. forgot the third line and saved it.. and also i disabled the other versions.. so now if i login it shows Error 15... so plz help me.. i am not able 2 go into ubuntu @ all...

Revision history for this message
delance (olivier-delance) said :
#5

Use a LiveCd and mount hard drive.
After localize new place of menu.lst.
And fix UUID.

Revision history for this message
Harish (harish2105-mba) said :
#6

Please Delance... can you list out the steps how to do it... how to localize new place of menu.lst...

Revision history for this message
delance (olivier-delance) said :
#7

I'm too busy these days. Sorry. If you want more help, I'm affraid you will have to wait friday.

Insert Ubuntu Cd into tray.
Choose "Try Ubuntu without using it".
You should after be in a live session of Ubuntu.

To get UUID

   ls -l /dev/disk/by-uuid/

To go to menu.lst

   cd /media

You should see one or many disk.

   ls disk* # I'm not sure of name of device

Choose one with "boot" folder inside, and go inside

   cd diskalpha # replace alpha by true name of disk
   cd grub/menu.lst
   sudo chmod a+w menu.lst
   gedit menu.lst

Revision history for this message
J Posey (jpo) said :
#8

In my installation of 10.04, there is no file grub.lst

Perhaps the answer to this problem lies in question 110874?

Revision history for this message
delance (olivier-delance) said :
#9

Yes. In 10.04 you have Grub2.

Can you copy/paste in a terminal:
     sudo parted -l; sudo blkid
and paste the result.
Can you also tell me on which partition are 9.10 and 10.04 ?

And next time awake me friday, by posting a new message.
I have solved lot of issues of people with 10.04, but I have other activities at evening during week.
I also gained better knowledge of Grub2 that I didn't handle.

Can you help with this problem?

Provide an answer of your own, or ask Harish for more information if necessary.

To post a message you must log in.