I want to change the console resolution (in tty1, tty2 etc.) by using "GRUB_GFXPAYLOAD_LINUX=" in /etc/default/grub.
"1280x1024x32" is the highest resolution I can get from "vbeinfo"(and is also the one I want to use in tty consoles)
However, no matter what option I put under "GRUB_GFXPAYLOAD_LINUX=", the same (pretty low) resolution is being used in tty:s (and it is lower than 1280x1024).
So no matter if I use:
GRUB_GFXPAYLOAD_LINUX=1280x1024x32
or
GRUB_GFXPAYLOAD_LINUX=800x600x32
in /etc/default/grub
and then do
- Code: Select all
grub-mkconfig -o /boot/grub/grub.cfg
the tty resolution remains unchanged. Why is that?
FYI, "GFXPAYLOAD=keep" is already specified in grub.cfg by default, so I've also tried to just change "GRUB_GFXMODE=" in /etc/default/grub" to the resolution I want but the console resolution remains unchanged.
Here is my grub.cfg
(As I mentioned, "gfxpayload=keep" is already specified in this file by default but seems to have no effect when used in conjunction with "GRUB_GFXMODE=")
- Code: Select all
#
# DO NOT EDIT THIS FILE
#
# It is automatically generated by grub-mkconfig using templates
# from /etc/grub.d and settings from /etc/default/grub
#
### BEGIN /etc/grub.d/00_fonts ###
### END /etc/grub.d/00_fonts ###
### BEGIN /etc/grub.d/00_header ###
if [ -s $prefix/grubenv ]; then
load_env
fi
set default="${saved_entry}"
if [ "${prev_saved_entry}" ]; then
set saved_entry="${prev_saved_entry}"
save_env saved_entry
set prev_saved_entry=
save_env prev_saved_entry
set boot_once=true
fi
function savedefault {
if [ -z "${boot_once}" ]; then
saved_entry="${chosen}"
save_env saved_entry
fi
}
function load_video {
insmod vbe
insmod vga
insmod video_bochs
insmod video_cirrus
}
insmod part_msdos
insmod ext2
set root='(hd0,msdos3)'
search --no-floppy --fs-uuid --set=root 919928c8-38fc-4cfb-a481-848e6cc638e2
if loadfont /usr/share/grub/unicode.pf2 ; then
set gfxmode=800x600x32
load_video
# vga= is deprecated, grub2 handles this just fine
# making grub2 res == linux fb res
set gfxpayload=keep
insmod gfxterm
insmod part_msdos
insmod ext2
set root='(hd0,msdos1)'
search --no-floppy --fs-uuid --set=root de5a9375-6ded-473d-9ec3-204becb81072
set locale_dir=($root)/grub/locale
set lang=sv_SE
insmod gettext
fi
terminal_output gfxterm
if sleep --interruptible 0 ; then
set timeout=5
fi
### END /etc/grub.d/00_header ###
### BEGIN /etc/grub.d/05_distro_theme ###
insmod part_msdos
insmod ext2
set root='(hd0,msdos1)'
search --no-floppy --fs-uuid --set=root de5a9375-6ded-473d-9ec3-204becb81072
insmod png
if background_image /grub/default-splash.png ; then
set color_normal=white/black
set color_highlight=magenta/black
else
set menu_color_normal=cyan/blue
set menu_color_highlight=white/blue
fi
### END /etc/grub.d/05_distro_theme ###
### BEGIN /etc/grub.d/10_linux ###
menuentry 'Sabayon GNU/Linux, med Linux x86_64-2.6.39-sabayon' --class sabayon --class gnu-linux --class gnu --class os {
load_video
insmod gzio
insmod part_msdos
insmod ext2
set root='(hd0,msdos1)'
search --no-floppy --fs-uuid --set=root de5a9375-6ded-473d-9ec3-204becb81072
echo 'Läser in Linux x86_64-2.6.39-sabayon ...'
linux /kernel-genkernel-x86_64-2.6.39-sabayon ro init=/linuxrc splash=silent,theme:sabayon vga=791 console=tty1 quiet domdadm resume=swap:UUID=bc2fe8fd-2149-4cd1-b5c3-75bd7ecf0b61 real_resume=UUID=bc2fe8fd-2149-4cd1-b5c3-75bd7ecf0b61 root=UUID=919928c8-38fc-4cfb-a481-848e6cc638e2 docrypt
echo 'Läser in initial ramdisk ...'
initrd /initramfs-genkernel-x86_64-2.6.39-sabayon
}
menuentry 'Sabayon GNU/Linux, med Linux x86_64-2.6.39-sabayon (återställningsläge)' --class sabayon --class gnu-linux --class gnu --class os {
load_video
insmod gzio
insmod part_msdos
insmod ext2
set root='(hd0,msdos1)'
search --no-floppy --fs-uuid --set=root de5a9375-6ded-473d-9ec3-204becb81072
echo 'Läser in Linux x86_64-2.6.39-sabayon ...'
linux /kernel-genkernel-x86_64-2.6.39-sabayon ro single init_opts=single init=/linuxrc splash=verbose,theme:sabayon vga=791 console=tty1 quiet domdadm resume=swap:UUID=bc2fe8fd-2149-4cd1-b5c3-75bd7ecf0b61 real_resume=UUID=bc2fe8fd-2149-4cd1-b5c3-75bd7ecf0b61 root=UUID=919928c8-38fc-4cfb-a481-848e6cc638e2 docrypt
echo 'Läser in initial ramdisk ...'
initrd /initramfs-genkernel-x86_64-2.6.39-sabayon
}
### END /etc/grub.d/10_linux ###
### BEGIN /etc/grub.d/20_linux_xen ###
### END /etc/grub.d/20_linux_xen ###
### BEGIN /etc/grub.d/30_os-prober ###
### END /etc/grub.d/30_os-prober ###
### BEGIN /etc/grub.d/40_custom ###
# This file provides an easy way to add custom menu entries. Simply type the
# menu entries you want to add after this comment. Be careful not to change
# the 'exec tail' line above.
### END /etc/grub.d/40_custom ###
### BEGIN /etc/grub.d/41_custom ###
if [ -f $prefix/custom.cfg ]; then
source $prefix/custom.cfg;
fi
### END /etc/grub.d/41_custom ###
So what can I do about this?
Any help appreciated.

