Skip to content

Instantly share code, notes, and snippets.

@sebk
Created November 25, 2011 10:03
Show Gist options
  • Save sebk/1393183 to your computer and use it in GitHub Desktop.
Save sebk/1393183 to your computer and use it in GitHub Desktop.
change TTY resoulution for grub 2
Source: http://seraphyn.teiko.org/archives/996-Debian-Squeeze-TTY-Aufloesung-Schriftgroesse.html
available settings:
hwinfo --framebuffer
edit /etc/default/grub
set GRUB_GFXMODE
e.g. GRUB_GFXMODE=1024x768
edit /etc/grub.d/00_header from
if loadfont `make_system_path_relative_to_its_root "${GRUB_FONT_PATH}"` ; then
set gfxmode=${GRUB_GFXMODE}
load_video
insmod gfxterm
fi
to
if loadfont `make_system_path_relative_to_its_root "${GRUB_FONT_PATH}"` ; then
set gfxmode=${GRUB_GFXMODE}
set gfxpayload=keep
load_video
insmod gfxterm
fi
run update-grub2
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment