Thank you pierre for your help.
I did your procedures but unfortunately, the problem is still exist. I get 
??????? in grub boot screen when enabling Arabic language in grub.cfg
Below is the current grub.cfg file:


# Begin /boot/grub/grub.cfg
set root=(hd0,3)
set locale_dir=(hd0,3)/boot/grub/locale
loadfont (hd0,3)/boot/grub/fonts/unicode.pf2
set lang=arabic
set language=arabic

set default=0
set timeout=5

menuentry "GNU/Linux, Linux 3.19-lfs-7.7" {
insmod ext2
set root=(hd0,3)
linux /boot/vmlinuz-3.19-lfs-7.7 root=/dev/sda3 ro
initrd /boot/initramfs-3.19.0.img
}

menuentry "Ubuntu" {
insmod ext2
set root=(hd0,2)
linux /boot/vmlinuz-3.13.0-24-generic root=/dev/sda2 ro
initrd /boot/initrd.img-3.13.0-24-generic
}


Best Regards,

Mostafa YasinLinux system engineer

> To: [email protected]
> From: [email protected]
> Date: Sun, 4 Oct 2015 11:31:22 +0200
> Subject: Re: [lfs-support] Grub2 issue.
> 
> On 04/10/2015 10:11, mostafa yasin wrote:
> > Dear support,
> > 
> > I would like to change Grub interface that appear during boot process to be 
> > in
> > Arabic language. I did the following procedures but the result was  a lot of
> > question marks "????????" are appeared in the grub interface.
> > 
> > step 1:-
> > cp /boot/grub/locale/en\@arabic /boot/grub/locale/arabic.mo
> > 
> > step 2:
> > [...]
> 
> I think you need the font for the arabic language. The .mo file is just the
> translation file, but it does not have a font.
> You may want to install the unifont from unifoundry. There are instructions
> for doing so at
> http://www.linuxfromscratch.org/hints/downloads/files/lfs-uefi.txt
> This hint is aimed at installing grub for UEFI, which is not what you want to
> do, I guess, but you can find how to set fonts in the paragraph "USING GRUB TO
> SET UP THE BOOT PROCESS". Once you have the font file in
> /usr/share/fonts/unifont, you have to rerun grub-install (do _not_ use the
> instructions in "INSTALLING GRUB TO THE EFI PARTITION").
> 
> Then you need to make grub aware of the font. You may try the file at
> "CONFIGURING GRUB" (the part between "insmod font" and "fi")
> 
> Hope it helps. I have not tried myself.
> 
> Pierre
> -- 
> http://lists.linuxfromscratch.org/listinfo/lfs-support
> FAQ: http://www.linuxfromscratch.org/blfs/faq.html
> Unsubscribe: See the above information page
> 
> Do not top post on this list.
> 
> A: Because it messes up the order in which people normally read text.
> Q: Why is top-posting such a bad thing?
> A: Top-posting.
> Q: What is the most annoying thing in e-mail?
> 
> http://en.wikipedia.org/wiki/Posting_style
                                          
-- 
http://lists.linuxfromscratch.org/listinfo/lfs-support
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page

Do not top post on this list.

A: Because it messes up the order in which people normally read text.
Q: Why is top-posting such a bad thing?
A: Top-posting.
Q: What is the most annoying thing in e-mail?

http://en.wikipedia.org/wiki/Posting_style

Reply via email to