I hope somebody can help me with this... Running Ubuntu 12.10 GNOME Remix
I am trying to get Grub2 to use a resolution of 1600x900...
I have checked vbeinfo and hwinfo --framebuffer which both provide:
Mode 0x037f: 1600x900 (+6400), 24 bits
This resolution has worked on previous Ubuntu and Fedora installs.
Here is my /etc/default/grub: http://paste.ubuntu.com/1308444/
Line 25 =GRUB_GFXMODE="1600x900"
As well as my /boot/grub/grub.cfg: http://paste.ubuntu.com/1308446/
Line 72 =set gfxmode=1600x900
I have tried using grub-customizer:
Why is it not taking effect?? I have tried different resolutions... Backgrounds and font colours are changeable.
Thank you for your insight.
When you set the mode, try to also include the bit depth in
/etc/default/grub
, e.g.:Also add this line:
Run
sudo update-grub
, reboot and let us know if it worked.I think
GRUB_GFXMODE
gets ignored (or at least it was at some point ago). You can always try the traditional way with vga codeFirst you install
hwinfo
:Then you get the vgacode with
hwinfo
(preferred resolution, 24 bits):You edit a line in your
/etc/default/grub
(or you just usegrub-customizer
) to includevga=0x0365
orvga=891
(0x365 is 869) :You update the grub configuration:
Reboot and let us know what happened
Just resolved the same issue for me. Here what I've done:
Disabled previous framebuffer (was vga16fb for me) and enabled uvesafb:
/etc/modprobe.d/blacklist-framebuffer.conf :
You can find what framebuffer is currently is use using
lsmod | grep fb
command./etc/modprobe.d/framebuffer.conf :
/etc/modules :
The next step is to put uvesafb into initrd image.
/etc/initramfs-tools/modules :
Re-create initrd:
sudo update-initramfs -u
For now, the hi-res console should be available after boot. Next task is to turn grub2 into hi-res mode. For some reasons, several important options was missing into my grub config file, so I added them into /etc/default/grub:
I'm not sure about next section, it may be not nesessary, but here what I've done to /etc/grub.d/00_header :
Almost at the top of the file there is a number of
if [ "x${GRUB_...
fallback operators. I've added two more:Now find the text
set gfxmode=${GRUB_GFXMODE}
in that file, and insert the following code as the next line:Again, I'm not sure if it nesessary for the latest grub2 (I have 1.98) Now update grub config file:
and everything should be working.
In my case there was other configuration file besides /etc/default/grub, /etc/default/grub.d/kali-themes.cfg (as you imagine it is Kali Linux, debian derivative, just like Ubuntu).
It had a line GRUB_GFXMODE="auto,1280x720,1280x800" that has been breaking everything. Now, deleteing it and doing update-grub fixed it on my real system.
Just note that some resolutions do not work with auto! They are some nonstandard ones, like 1150xsomething (on vmware, for example). You need to explicitly tell grub that in GRUB_GFXMODE.
Also note that in vmware that will never work because the GOP UEFI driver in Vmware does not support higher resolutions (see videoinfo command in uefi-grub command line).
Also note that only UEFI booting without CSM supports high resolutions in nvidia GPUs, BIOS VESA extensions are not supported, as nvidia still did not write that driver, but with UEFI it is not needed anymore.
Also note that even though in grub there can be 60 fps, there is no way to set 120 Hz or 100 Hz (at least IMHO), and that will mean non smooth switch to Linux Kernel screen, that is why you may want to directly boot kernel without grub. Read about EFISTUB kernel mode. It also will permit Secure Boot in many cases of signed kernels that debian supports.