locale causes grubconfig to fail

Please post any bugs you have found
Post Reply
Message
Author
User avatar
MU
Posts: 13649
Joined: Wed 24 Aug 2005, 16:52
Location: Karlsruhe, Germany
Contact:

locale causes grubconfig to fail

#1 Post by MU »

Hi,

if you set your language with the new chooselocale -script, grubconfig does not work.

It does not react to menueselections.
Reason:
grubconfig uses /tmp/grubconfig/reply to find out what the user selected.

This file contains garbage like

Gdk-WARNING **: locale not supported by C library

or Font-errors.

Workaround:
use crubconfig from the commandline like this



export LANG=C
grubconfig


The script should be updated to use C as defaul LANG.

Mark

User avatar
BarryK
Puppy Master
Posts: 9392
Joined: Mon 09 May 2005, 09:23
Location: Perth, Western Australia
Contact:

#2 Post by BarryK »

I suppose that I could put
export LANG=C
inside the /usr/sbin/grubconfig script itself?

User avatar
MU
Posts: 13649
Joined: Wed 24 Aug 2005, 16:52
Location: Karlsruhe, Germany
Contact:

#3 Post by MU »

yes, that should fix it :)

Post Reply