From The World according to Vissie
Jump to navigation Jump to search

Add the following 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:

if [ "x${GRUB_GFXMODE}" = "x" ] ; then GRUB_GFXMODE=1680x1050x24 ; fi
if [ "x${GRUB_GFXPAYLOAD_LINUX}" = "x" ] ; then GRUB_GFXPAYLOAD_LINUX=1680x1050x24 ; fi

Now find the text set gfxmode=${GRUB_GFXMODE} in that file, and insert the following code as the next line:

set gfxpayload=${GRUB_GFXPAYLOAD_LINUX}

Again, I'm not sure if it nesessary for the latest grub2 (I have 1.98) Now update grub config file:

sudo update-grub2

and everything should be working.

Boot with the nomodeset kernel command line parameter.