LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Fedora - Installation (https://www.linuxquestions.org/questions/fedora-installation-39/)
-   -   error: file '/grub2/locale/en.mo.gz' not found (https://www.linuxquestions.org/questions/fedora-installation-39/error-file-grub2-locale-en-mo-gz-not-found-948176/)

jshih 06-02-2012 01:55 PM

error: file '/grub2/locale/en.mo.gz' not found
 
Hi,

I replaced the current linux system and installed fedora 17 (x86_64) in my system.

After installed fedora 17, when I rebooted my pc,

1. grub does not detect that there is another system - window xp

2. there is an error - "file '/grub2/locale/en.mo.gz' not found"

during loading.

It should have dual systems in my pc, but for some reasons, grub can not find it.

There is no en.mo.gz file under /grub2/locale.

Some one please let me know how to solve the above two issues.

Thank you so much.

ali65 06-04-2012 01:54 PM

fresh install of Fedora 17 64
 
resulting the same problem

ali65 06-04-2012 01:55 PM

further googling:

https://bugzilla.redhat.com/show_bug.cgi?id=817187

jshih 06-07-2012 10:33 PM

The "can not find /grub2/locale/en.mo.gz" is solved.

Thank you so much.

After installed 64-bit fedora 17, it can not detect Windows XP.

Grub can not handle dual boot.

How can I solve this issue?

terry-duell 06-10-2012 12:12 AM

Quote:

Originally Posted by ali65 (Post 4695388)

I had the same problem and followed the above advice.
The error message disappeared, but now much of my grub menu is gibberish...ie it seems to be using font that doesn't translate into english.
There must be a better solution.

Cheers,
Terry

davbrennan 06-10-2012 11:37 AM

I had a similar problem. It turned out that /boot/grub2 had not updated between F16 -> F17. I ran grub2-install /dev/sda, this updated the grub2 directory and updated the locale files.

Regards

Dave

terry-duell 06-11-2012 01:00 AM

Quote:

Originally Posted by davbrennan (Post 4700054)
I had a similar problem. It turned out that /boot/grub2 had not updated between F16 -> F17. I ran grub2-install /dev/sda, this updated the grub2 directory and updated the locale files.

Curiouser and curiouser...mine was a clean install to a newly formatted disk.
I will do a bit of homework on grub2-install before I try that. I note there is no man page.

Thanks for your help.
Cheers,
Terry

terry-duell 06-11-2012 01:50 AM

Quote:

Originally Posted by terry-duell (Post 4700351)
I will do a bit of homework on grub2-install before I try that. I note there is no man page.

OK, I need a bit of help here, I'm not familiar with grub2 commands, so am reluctant to do something rash.
I have Fedora 17 installed on /dev/sdc
/dev/sdc1 is /boot
/dev/sdc2 is /home

To reinstall grub2, is it correct to run 'grub2-install /dev/sdc' ?

Cheers,
Terry

davbrennan 06-11-2012 02:54 AM

Yes that will re-write the content of /boot/grub2 and update the MBR on /dev/sdc

details at http://fedoraproject.org/wiki/GRUB_2

terry-duell 06-11-2012 06:05 PM

Quote:

Originally Posted by davbrennan (Post 4700419)
Yes that will re-write the content of /boot/grub2 and update the MBR on /dev/sdc

OK, did that, no reported errors, but grub menu is still (mostly) written in gibberish.
Just ignore it I guess, and it may be fixed when I install the next release.

Cheers,
Terry

davbrennan 06-11-2012 06:24 PM

I did notice that uk.mo file is what looks like Russian, en@quot.mo looks like the English version. May be worth looking in /etc/default/grub file to see what locale is set, if any

jshih 06-11-2012 08:58 PM

Does anyone have any ideas about how to configure for dual boot?

terry-duell 06-12-2012 01:11 AM

Quote:

Originally Posted by davbrennan (Post 4701004)
I did notice that uk.mo file is what looks like Russian, en@quot.mo looks like the English version. May be worth looking in /etc/default/grub file to see what locale is set, if any

OK, that was the right file...well it has fixed the gibberish.
locale isn't set in my /etc/default/grub file.
Many thanks for your help.

Cheers,
Terry


All times are GMT -5. The time now is 05:44 PM.