Change boot screen resolution [duplicate]

Possible Duplicate:
Enabling Nvidia driver messes up splash screen

How I can change the boot screen resolution in Ubuntu 12.04 to 1680 1050? The resolution now is very small


Solution 1:

Try this:

  1. We will have to edit grub configuration. Open a terminal and paste this:

    sudo gedit /etc/default/grub

    Hit Enter. It will open grub preferences in Gedit.

  2. Locate the line # GRUB_GFXMODE=800x600 (resolution may be different).

You have to change the resolution to actual resolution of your screen, for example mine is 1240x1024. Next step is to uncomment this line (remove the # and and the empty space if is, so the letter G of the word GRUB will be the first letter in this line). After u r done, save the file and close.

3 . Now paste this line in terminal:

sudo gedit /etc/grub.d/00_header .

Hit Enter. It will open a text file with a lot of stuff. Use the search option at the top of the window to locate this line:

set gfxmode=${GRUB_GFXMODE}

After you successfully find it, you will have to add this line: set gfxpayload=keep just under the . Make it look like this:

set gfxmode=${GRUB_GFXMODE}
set gfxpayload=keep

Now, save the file and close.

4 . In terminal paste:

sudo update-grub 

Hit Enter, it will generate new grub.cfg file so the changes you made will be saved.

Reboot and enjoy your new boot screen resolution.

In case you don't know what is your screen resolution

Go to System settings - Displays