Ask Your Question
1

vga=0x307 is deprecated, but can't get gfxmode to work

asked Nov 08 '11

caddr gravatar image caddr
13 1 1 4

updated Nov 10 '11

I've tried setting in /etc/default/grub

GRUB_GFXMODE=1280X1024x16
GRUB_GFXPAYLOAD_LINUX=keep
GRUB_TERMINAL=gfxterm

rebuilt grub.cfg with

grub2-mkconfig -o /boot/grub2/grub.cfg

But it doesn't work.

How does this work?

Thanks.

Comments

Ok, with the magic of creating a 'font' as per instructions from @kiilerix, the above entries in the /etc/default/grub now works. Thanks! I had to also add the GRUB_TERMINAL=gfxterm line above.

caddr (Nov 10 '11)

6 Answers

Sort by ยป oldest newest most voted
1
caddr has selected this answer as correct

answered Nov 08 '11

kiilerix gravatar image kiilerix
69 3

updated Nov 10 '11

Configuration of graphical boot loader with grub2 is currently a big tricky.

First you have to convert a font, for example with:

grub2-mkfont --output=/boot/grub2/unicode.pf2 /usr/share/fonts/dejavu/DejaVuSansMono.ttf

Then, in /etc/default/grub add:

GRUB_TERMINAL=gfxterm

and then you run:

grub2-mkconfig -o /boot/grub2/grub.cfg

and reboot

link
0

answered Nov 13 '11

ZenDark gravatar image ZenDark flag of Spain
324 3 11
http://mitoolbox.blogspot...

Thanks!!! I was searching for this...

And if you put the next line, you'll get verne background image at boot (I was missing this from my old fedora 15) GRUB_BACKGROUND=/boot/verne.tga

/boot/verne.tga converted from verne.jpg

link
0

answered Nov 13 '11

hedayat gravatar image hedayat
1

Apparently, the GRUB_TERMINAL=gfxterm line is no longer required (actually it generates an error message when loading grub2).

link
0

answered Nov 12 '11

skytux gravatar image skytux flag of Brazil
487 1 6 19
http://gracca.tk/

this solution from @kiilerix doesn't work for me in F16 x86_64, fonts didn't change...any ideas?

link
0

answered Nov 08 '11

evillagr gravatar image evillagr flag of Chile
21 1

tuxdna solution works fine. You can use any .ttf.

link
0

answered Nov 08 '11

tuxdna gravatar image tuxdna
56 1 2 7
https://tuxdna.wordpress....

@caddr

Was your issue resolved? If yes, could you post the solution here.

I found a nice article on the topic:

http://harrison3001.blogspot.com/2009/09/grub-2-graphical-boot-tips-to-set.html#.TrlQHT2ZBMY

link

Your answer

Please start posting your answer anonymously - your answer will be saved within the current session and published after you log in or create a new account. Please try to give a substantial answer, for discussions, please use comments and please do remember to vote (after you log in)!
[hide preview]

Question tools

Follow
1 follower

subscribe to rss feed

Stats

Asked: Nov 08 '11

Seen: 1,305 times

Last updated: Nov 13 '11