Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

The day before yesterday, I opened Ubuntu.

I always go to the update manager first. After I loaded the updates and tried to re-start, I got a command line prompt saying grub_. I have never encountered any thing like this before.

The only way that I can get out of grub_ is to disconnect all the power going to my Compaq laptop. Is there a way to fix this? I am running 11.10.

share|improve this question
add comment

1 Answer

This occurs when GRUB stage1 runs and is followed eventually by stage2 which also runs but halts without displaying the GRUB menu. It is not a system hang but is a working GRUB shell prompt that is preceded by simple editing instructions.

What I think is happening...

The text "grub> " (including the trailing space) and the text of the GRUB shell editing instructions can be seen with a binary file editor in the messages section of the binary file /boot/grub/stage2. Those particular pieces of text do not appear in the binary file /boot/grub/stage1 nor any of the stage1.5 image files. So having the boot process abort to this grub> prompt is good circumstantial evidence that stage2 is at least successfully starting. For example, one of the first tasks of stage2 is to read the file /boot/grub/grub.conf to create the GRUB menu. If grub.conf is not found or is corrupted or is badly misconfigured, booting is suspended ending at this GRUB shell command prompt where commands may be entered manually.

This situation requires correction of the problem with grub.conf. Re-installing GRUB does nothing for a missing or busted grub.conf file. Nevertheless, other reasons for this event apparently happen and are amenable to simply re-installing GRUB as the first example below demonstrates. Therefore, re-installing GRUB should always be tried for this situation if no obvious problem with the grub.conf file can be found.

http://fedoraforum.org/forum/showthread.php?t=214548 http://fedoraforum.org/forum/showthread.php?t=29835 http://fedoraforum.org/forum/showthread.php?t=150590 http://fedoraforum.org/forum/showthread.php?t=2195 http://fedoraforum.org/forum/showthread.php?t=155361 http://fedoraforum.org/forum/showthread.php?t=195339

share|improve this answer
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.