grub2 file not found error

Bug #355359 reported by dschaefer79
14
This bug affects 2 people
Affects Status Importance Assigned to Milestone
grub2 (Ubuntu)
Invalid
Undecided
Unassigned

Bug Description

Binary package hint: grub2

Link to topic on a forum I've opened
http://ubuntuforums.org/showthread.php?t=1115512

I desinstalled grub and installed grub 2 with grub-pc package and it worked until I launched upgrade-from-grub-legacy. Now when I reboot my pc it say file not found ?

Here is my grub.cfg, fdisk list and blkid list. It's the default file generated when installing grub2.

I've tried also this solution but it doesn't work. here the link:
http://ubuntuforums.org/archive/inde...t-1037538.html

I've tried after to launch update-grub no result.

I've tried to start grub2 as console holding down the C keyboard or press C multiple time but it doesn't work. 2-3 seconds after boot it shows me

Welcome to Grub text in black and backgroud in white e
Error: file not found
Entering rescue mode...
grub rescue>

and when I type help it shows me only this command.

boot
cat
chainloader
dump
exit
help
insmod
ls
lsmod
rmmod
root
set
unset

Thanks for help

Revision history for this message
dschaefer79 (dschaefer79) wrote :
Revision history for this message
dschaefer79 (dschaefer79) wrote :
description: updated
Revision history for this message
dschaefer79 (dschaefer79) wrote :
description: updated
Revision history for this message
Gordon Hopper (gohopper) wrote :

I think "file not found" refers to the grub.cfg file. Please post the output of "set" at the grub rescue prompt. Does the "prefix" look correct? You can change the prefix at the grub prompt with, for example

set prefix=(hd0,1)/boot/grub

Use the ls command to find the correct path. (Search works only if the search module is loaded). After the prefix is set correctly, then:

insmod normal
normal

will bring up the grub menu.

If that works, then the final step is to save the environment permanently. I don't know how to do that yet. (I'm having the same issue).

Revision history for this message
Felix Zielcke (fzielcke) wrote :

The $prefix variable is directly embed in the core.img
If you need to change it you have to recreate it with grub-mkimage.
But if it's wrong and your device.map is correct then this is a bug.

Revision history for this message
Dimitrios Symeonidis (azimout) wrote :

dschaefer79, is this still an issue for you? could you please answer the questions above?
thank you

Changed in grub2 (Ubuntu):
status: New → Incomplete
Revision history for this message
Zaur Nasibov (basicwolf) wrote :

Hello!
I had the same problem, but everything is OK now, after

set prefix=(hd0,1)/boot/grub
insmod normal
normal

The bug appeared this way:
1. installed Ubuntu 9.10 Beta from scratch (not dist-upgrade!).
2. updated the repositories (from Finnish mirror)
3. restarted the system...
that's when it happened.

Thank you for providing instructions on this issue. I was desperate to reinstall Ubuntu again :)

Revision history for this message
Zaur Nasibov (basicwolf) wrote :

Em... same thing again, same lines to boot.
It looks like the "cure" works fine every time, but.. is there a way to save grub's configuration and avoid typing set prefix= ... etc.?

Revision history for this message
Zaur Nasibov (basicwolf) wrote :

Ok, guys, I've found the solution:
You have to reinstall grup-common and grub-pc packages.
Hope that'll help you.

Revision history for this message
Rob Powell (robz7) wrote :

Yes had the same problem after deleting a partition. BasicWolf's solution worked perfectly.
Phew!
Many thanks.

Revision history for this message
Heimen Stoffels (vistaus) wrote :

I confirm this bug.

Changed in grub2 (Ubuntu):
status: Incomplete → Confirmed
Revision history for this message
Miquel Coll (miquel6) wrote :

Have you tried to reinstall grub from liveCD, as explained in https://help.ubuntu.com/community/Grub2#Reinstalling%20from%20LiveCD

This worked for me

Revision history for this message
Muhammad Takdir (muhammad-takdir) wrote :

fasoi, thanks.
It's work for me too. I used Live USB Maverick to fix my karmic grub.

Revision history for this message
rosencreuz (rosencreuz) wrote :

I have this problem after upgrading from 12.04 to 12.10 (quantal quetzal).
I don't have dual boot, never had. Only Ubuntu.
Upgrade process didn't raise any errors nor any questions about grub. Restart after upgrade resulted with grub rescue.
I upgraded to released version, not to beta.
"insmod normal" says file not found.

Revision history for this message
Phillip Susi (psusi) wrote :

This bug was incorrectly changed from incomplete to confirmed and the requested information was never provided, therefore I am now closing the bug.

Changed in grub2 (Ubuntu):
status: Confirmed → Invalid
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.