After 10.04 update (kernel) reboot fails

Asked by JImm Burk

I received an update to 10.04 on the 30th and when the system rebooted I now only get the line

GRUB>

If I hit the tab key it returns a number of commands, but the system does NOT load the kernel anymore only the this basic GRUB prompt.

What happened?? Suggestions???
Confused and concerned

Question information

Language:
English Edit question
Status:
Solved
For:
Ubuntu grub2 Edit question
Assignee:
No assignee Edit question
Solved by:
wojox
Solved:
Last query:
Last reply:
Revision history for this message
Paul Stewart (paulbrianstewart) said :
#1

What does it return?

Revision history for this message
JImm Burk (jimm-burk) said :
#2

Attached is the screen shot

Paul Stewart <email address hidden> wrote:

Your question #159823 on Ubuntu changed:
https://answers.launchpad.net/ubuntu/+question/159823

    Status: Open => Needs information

Paul Stewart requested more information:
What does it return?

--
To answer this request for more information, you can either reply to
this email or enter your reply at the following page:
https://answers.launchpad.net/ubuntu/+question/159823

You received this question notification because you asked the question.

-----
No virus found in this message.
Checked by AVG - www.avg.com
Version: 10.0.1375 / Virus Database: 1509/3672 - Release Date: 05/31/11

Revision history for this message
Best wojox (wojox) said :
#3

You can't post screen shots in Launchpad. You will need to do something like this:

set root=(hd0,0)

linux /vmlinuz root=/dev/sda1 ro

initrd /initrd.img

boot

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

First, try to reinstall boot loader from Ubuntu media: https://help.ubuntu.com/community/Grub2#Reinstalling%20from%20LiveCD

Revision history for this message
JImm Burk (jimm-burk) said :
#5

I tried the 1st option of the GRUB2 reinstalling help document and did not change the end result. This evening I will try the next section. However, I am not overly optimistic.

Revision history for this message
wojox (wojox) said :
#6

set root=(hd0,0)

That's your main problem there. Maybe try set root=(hd0,1) or changing those values around.

Revision history for this message
JImm Burk (jimm-burk) said :
#7

OK I got the system to boot like this
set root=(hd0,msdos1)
linux /vmlinuz root-/dev/sda1 ro
initrd /initrd.img
boot

Then I open a terminal and ran:
jimmb@Theoden:~$ sudo update-grub
[sudo] password for jimmb:
Generating grub.cfg ...
Found linux image: /boot/vmlinuz-2.6.38-8-generic
Found initrd image: /boot/initrd.img-2.6.38-8-generic
Found linux image: /boot/vmlinuz-2.6.32-32-generic
Found initrd image: /boot/initrd.img-2.6.32-32-generic
Found linux image: /boot/vmlinuz-2.6.32-31-generic
Found initrd image: /boot/initrd.img-2.6.32-31-generic
Found linux image: /boot/vmlinuz-2.6.32-28-generic
Found initrd image: /boot/initrd.img-2.6.32-28-generic
Found memtest86+ image: /boot/memtest86+.bin
done
jimmb@Theoden:~$ grub-probe -t device /boot/grub
/dev/sda1
jimmb@Theoden:~$ sudo grub-install --recheck /dev/sda
Installation finished. No error reported.

I am now trying to reboot the computer. But at least I know how to use the GRUB command like to get back to this condition.

Revision history for this message
JImm Burk (jimm-burk) said :
#8

It was sucessfully rebooted. YEA!!!!!!!

I still do not know what happened and somehow I have inadvertently upgraded to 11.04, BUT the system is up and running. So the problem is solved. Thank you everyone... It was a combination of all the responses that got me up and running again

YOU ROCK!!!!!

Revision history for this message
JImm Burk (jimm-burk) said :
#9

Thanks wojox, that solved my question.