LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Fedora > Fedora - Installation
User Name
Password
Fedora - Installation This forum is for the discussion of installation issues with Fedora.

Notices


Reply
  Search this Thread
Old 06-02-2012, 01:55 PM   #1
jshih
Member
 
Registered: Mar 2007
Posts: 47

Rep: Reputation: 15
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.
 
Old 06-04-2012, 01:54 PM   #2
ali65
LQ Newbie
 
Registered: Jun 2012
Posts: 2

Rep: Reputation: Disabled
fresh install of Fedora 17 64

resulting the same problem
 
Old 06-04-2012, 01:55 PM   #3
ali65
LQ Newbie
 
Registered: Jun 2012
Posts: 2

Rep: Reputation: Disabled
further googling:

https://bugzilla.redhat.com/show_bug.cgi?id=817187
 
Old 06-07-2012, 10:33 PM   #4
jshih
Member
 
Registered: Mar 2007
Posts: 47

Original Poster
Rep: Reputation: 15
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?
 
Old 06-10-2012, 12:12 AM   #5
terry-duell
Member
 
Registered: Jan 2007
Location: Melbourne, Australia
Distribution: Fedora 38 x86_64
Posts: 539

Rep: Reputation: 59
Quote:
Originally Posted by ali65 View Post
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
 
Old 06-10-2012, 11:37 AM   #6
davbrennan
LQ Newbie
 
Registered: Jun 2012
Posts: 3

Rep: Reputation: Disabled
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
 
Old 06-11-2012, 01:00 AM   #7
terry-duell
Member
 
Registered: Jan 2007
Location: Melbourne, Australia
Distribution: Fedora 38 x86_64
Posts: 539

Rep: Reputation: 59
Quote:
Originally Posted by davbrennan View Post
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
 
Old 06-11-2012, 01:50 AM   #8
terry-duell
Member
 
Registered: Jan 2007
Location: Melbourne, Australia
Distribution: Fedora 38 x86_64
Posts: 539

Rep: Reputation: 59
Quote:
Originally Posted by terry-duell View Post
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
 
Old 06-11-2012, 02:54 AM   #9
davbrennan
LQ Newbie
 
Registered: Jun 2012
Posts: 3

Rep: Reputation: Disabled
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

Last edited by davbrennan; 06-11-2012 at 02:57 AM. Reason: Link to documentation
 
Old 06-11-2012, 06:05 PM   #10
terry-duell
Member
 
Registered: Jan 2007
Location: Melbourne, Australia
Distribution: Fedora 38 x86_64
Posts: 539

Rep: Reputation: 59
Quote:
Originally Posted by davbrennan View Post
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
 
Old 06-11-2012, 06:24 PM   #11
davbrennan
LQ Newbie
 
Registered: Jun 2012
Posts: 3

Rep: Reputation: Disabled
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
 
Old 06-11-2012, 08:58 PM   #12
jshih
Member
 
Registered: Mar 2007
Posts: 47

Original Poster
Rep: Reputation: 15
Does anyone have any ideas about how to configure for dual boot?
 
Old 06-12-2012, 01:11 AM   #13
terry-duell
Member
 
Registered: Jan 2007
Location: Melbourne, Australia
Distribution: Fedora 38 x86_64
Posts: 539

Rep: Reputation: 59
Quote:
Originally Posted by davbrennan View Post
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
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
locale: Cannot Set LC_ALL to default locale: No such file or directory. asym Linux - General 11 10-24-2018 05:54 PM
[SOLVED] serious Grub2 problem, symbol grub_env_export not found qrange Debian 1 05-05-2011 01:03 AM
after-Installation errors. locale error. unsupported locale settings and two more gh0st Fedora 1 05-02-2008 05:06 AM
how to execute a script file? Have file/directory not found error sirius57 Linux - Software 2 11-21-2007 11:43 PM
bash: locale: command not found GabeF Linux - Software 1 07-10-2003 05:23 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Fedora > Fedora - Installation

All times are GMT -5. The time now is 10:25 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration