$ grub-mkfont -output =terminus24.pf2 /usr/share/fonts/X11/misc/ter-u24n_ $ grub-mkfont -output =terminus20.pf2 /usr/share/fonts/X11/misc/ter-u20n_ $ grub-mkfont -output =terminus16.pf2 /usr/share/fonts/X11/misc/ter-u16n_ $ grub-mkfont -output =terminus12.pf2 /usr/share/fonts/X11/misc/ter-u12n_ $ dpkg -L xfonts-terminus | grep 8859-1.pcf | grep n_iso
$ sudo apt-get update sudo apt-get install xfonts-terminus This is less useful at the command line where you can run videoinfo and see what's available, but it's a huge boon in scripts. Each will be tried in order until it finds a working mode: so try the 'good' modes first and make sure to have a good fallback: Just setting a new value isn't enough: you have to restart the graphical terminal by switching to another terminal mode and then back to gfxterm.Ī useful feature of gfxterm is that it accepts multiple, comma-separated resolutions. Make sure the value you set is a valid one from the output of videoinfo. Grub> terminal_output console terminal_output gfxterm NOTE that the videoinfo command won't show you the available modes until you've loaded the all_video driver.
The output varies considerably from machine to machine.
There was an intro, including information on the video drivers available and lots of other modes - none of which were 1280x800, presumably because GRUB doesn't support that even if the monitor prefers it.
Since I have to copy this by hand (GRUB doesn't have screen capture that I'm aware of), I've excised a great deal of the output. The one with the leading '*' is the currently chosen mode. To find out what video modes are available (and which one is being used):Ġx117 1024 x 768 x 16 (2048) Direct color, mask: 5/6/5/0 pos: 11/5/0/0 In fact it's probably best you load the font explicitly. My guess is that you don't have to specify the font because GRUB will load it automatically? Do make sure it's available though or this probably won't work. Grub> loadfont $prefix/fonts/unicode.pf2 # this doesn't seem to be necessary? GRUB defaults to the equivalent of an 80x25 terminal, but the pseudo-graphical modes allow higher resolutions (meaning more text on screen), user-defined fonts, and background images. For a long time I've been using a block of code I didn't understand from someone else's grub.cfg to get GRUB into its pseudo-graphical mode.