Hello.
GRUB failed to load the message catalog at boot if /boot is an individual
partition.
The message catalogs is loaded from the hard-coded path (/boot/grub[2]/locale)
in grub.cfg but the path should be /grub[2]/locale on such environments.
The attached patch fixes this problem.
Thanks.
--
__________________________________________________
_/_/ Tomohiro "Tomo-p" KATO <[email protected]>
_/_/ Team Gedoh Network http://www.teamgedoh.net/
_/_/ Key fingerprint: 3347 89D9 5B87 29E6 33A2 30C1 B12F A313 30C4 13F0
diff --git a/util/grub.d/00_header.in b/util/grub.d/00_header.in
index 93a9023..f6fac3a 100644
--- a/util/grub.d/00_header.in
+++ b/util/grub.d/00_header.in
@@ -193,7 +193,7 @@ EOF
# Gettext variables and module
if [ "x${LANG}" != "xC" ] && [ "x${LANG}" != "x" ]; then
cat << EOF
- set locale_dir=\$prefix/locale
+ set locale_dir=`make_system_path_relative_to_its_root "\$prefix/locale"`
set lang=${grub_lang}
insmod gettext
EOF