Grub2 Boot Slackware/Salix @ Higher Resolution

Post Reply
User avatar
Posts: 303
Joined: 13. Aug 2010, 04:53
Location: Ct. USA

Grub2 Boot Slackware/Salix @ Higher Resolution

Post by sqlpython » 6. Jul 2013, 04:26

If you are booting with Grub2 and the Screen Resolution is LARGE font then it is ugly..
Plus some the lines are broken or wrap in a confusing array to the Next line.
Not easy to read your boot messages is it?

Rather then a screen resolution of 640x480 and LARGE fonts maybe 1024x768 or smaller would make you happier. The solution is not that difficult. Just 1 alternation each in two different config files.

While this is Easy I do not recommend that a New User make these changes.
The intermediate user might do well to back up these files BEFORE the changes.

The two files are

Open your file Manager .. Dolphin or Thunar or PCfileMan as the Super / root User.
You can accomplish this is KDE as

Code: Select all

kdesu dolphin
In Xfce as

Code: Select all

gksu thunar
Now when you Right click on the files selected and choose the Editor to Open each you will be root and may Edit and Save these files and the changes.

Change these files like so
In /boot/grub/grub.cfg
Simply Add one line in bold/large below the same line location as you see here
if loadfont /usr/share/grub/unicode.pf2 ; then
set gfxmode=1024x768

set gfxpayload=keep
insmod gfxterm

In /etc/grub.d/00_header
Alter only one line... Add nothing extra....
Here change the resolution in to read as this does in BOLD below
if [ "x${GRUB_TIMEOUT}" = "x" ] ; then GRUB_TIMEOUT=5 ; fi
if [ "x${GRUB_GFXMODE}" = "x" ] ; then GRUB_GFXMODE=1024x768 ; fi
That is all!
You will now have the Grub2 booting to a Console and Starting Each OS selected with a Smaller font.
While simple, if you make an error you can get unexpected Grub2 boot results..
Debian ( Stretch 9, Sid ) Salix OpenBox 14.1, Gentoo, Calculate

Post Reply