I need some help with gfxterm
I was exploring the new video subsystem of GRUB2 (1.94), I followed the instructions in GRUB wiki about using gfxterm.
This what I did:
insmod video insmod vbe insmod font font (fd1)/unifont.pff insmod gfxterm set gfxmode 1024x768x32 insmod terminal
OK, no errors till now, then:
terminal gfxterm
here I got that error:
error: Can't locate valid adapter for mode
and nothing changes.
BTW I'm trying this under qemu.
Signature · 5 lines
Khaled Hosny Egyptian GNU/Linux user Member of Arabeyes translation team [www.arabeyes.org] My Blog: [khalid_hosny.manalaa.net]
Quoted 10 lines · Khaled Hosny
I was exploring the new video subsystem of GRUB2 (1.94), I followed the instructions in GRUB wiki about using gfxterm.
This what I did:insmod video insmod vbe insmod font font (fd1)/unifont.pff insmod gfxterm set gfxmode 1024x768x32 insmod terminal
Quoted 6 lines
OK, no errors till now, then:
terminal gfxterm
here I got that error:
error: Can't locate valid adapter for mode
and nothing changes.
BTW I'm trying this under qemu.
Hi,
Well, perhaps QEMU just doesn't support that mode...
I tried this sequence with exception (set gfxmode=1024x768x32) in VMWare and it works nicely. You can specify "set gfxmode=1024x768" to auto detect best color mode.
You can use vbeinfo module to determine available modes.
insmod vbeinfo
vbeinfo
Thanks,
Vesa Jääskeläinen
Quoted 2 lines · Vesa Jääskeläinen
Hi,
Sorry for my late reply.
Quoted 6 lines
Well, perhaps QEMU just doesn't support that mode...
I tried this sequence with exception (set gfxmode=1024x768x32) in VMWare and it works nicely. You can specify "set gfxmode=1024x768" to auto detect best color mode.
Thanks for the tip, "set gfxmode=1024x768" works fine. I want to load these modules in "grub.cfg" file, puting them in the top of the file doesn't work but making a menu entery that load them works fine, is this normal ?
Now I'm able to display menu enteries in Arabic. Although grub2 deosn't support RTL nor Arabic shaping, a quicke workaround is to store the Arabic text in grub.cfg already Shapped by using a tool like fribidi2 (cvs branch) or "mu" [ftp://foolab.org/tmp/mu-fribidi.zip]
$ mu < grub.cfg > grub_ar.cfg
then coping "grub_ar.cfg" to grub/grub.cfg.
Here a screenshoot without RTL and shaping
[http://khalid_hosny.manalaa.net/files/khalid_hosny/images/grub3.preview.png]
, and this one with
[http://khalid_hosny.manalaa.net/files/khalid_hosny/images/grub2.png].
Also I wrote a mini-howto in Arabic
[http://khalid_hosny.manalaa.net/grub2_arabic_howto] if any one interested
Signature · 5 lines
Khaled Hosny Egyptian GNU/Linux user Member of Arabeyes translation team [www.arabeyes.org] My Blog: [khalid_hosny.manalaa.net]