If your computer system is booting slowly or your splash screen is not shown it could be that usplash has created a splash screen incorrectly. This tip will show you how to remove incorrect resolution in Grub configuration file to improve your booting performance.

  • Step 1: Identify what the resolution and color on your machine in the following table

# +--------------------------------------------+
# | 640x480 800x600 1024x768 1280x1024
# ------+--------------------------------------------+
# 256 | 769 771 773 775 |
# 32K | 784 787 790 793 |
# 64K | 785 788 791 794 |
# 16M | 786 789 792 795 |
# +--------------------------------------------------+
For example: if you know the color is 64K and the resolution is 1024x768, you will get a value of 791 for VGA.

  • Step 2: Edit /boot/grub/menu.lst file
sudo gedit /boot/grub/menu.lst
  • Step 3: Search "splash" and move to that line, like this
kernel /boot/vmlinuz-2.6.22-14-generic root=UUID=bc93b5ac-7bfa-4dc6-a121-efffdae0057a ro vga=792 splash
  • Step 4: Replace the wrong value (e.g. 792) with a correct one (e.g. 791) and save the file
  • Step 5: Edit /etc/usplash.conf file
  • Step 6: Change to your resolution and save the file. e.g. in this case
# Usplash configuration file
xres=1024
yres=768
  • Step 7: Get you kernel version
uname -r
The result looks like this
2.6.22-14-generic

  • Step 8: Rebuild the bootsplash screen, e.g. like this
sudo update-initramfs -u -k 2.6.22-14-generic
  • Step 9: Reboot your computer
Source: UbuntuGuide

6 comments

  1. Jim // 10/29/07, 11:26 PM  

    So what do we do for a screen res of 1280x800?

  2. Rancy // 10/30/07, 10:47 PM  

    I am very new and need explicit instructions: where, when, etc.
    Do I enter this in the terminal or the screen that comes up after the first command?

  3. VnTutor // 10/31/07, 10:16 PM  

    In the second step, you edit /boot/grub/menu.lst in your Gnome editor. You can use any text editor you like e.g. nano, vim
    The command: sudo gedit /boot/grub/menu.lst is executed in your terminal.

    In the third step, you are standing inside your text editor and you should search what line you want to modify.

    Next step, you replace a new value for VGA, save the file and close it.

    And go to next step ...

    I have a lot of posts in my blog for beginners, please have a look around. But I have a small tip is that you should make a copy of anythings which you want to change, modify, or customize.

  4. jprijatelj // 11/3/07, 4:00 PM  

    As Jim said: what what's the value if I have resolution of 1440*900 ?? I can't relly help with this howto tip if I can't figure it out what's my value for VGA.

  5. olga9999 // 11/6/07, 8:44 AM  

    I'm just new reading this blog, and in fact I started reading the blog because of the Gimp tutorials not Ubuntu, but as I also read some other places and today I have found this that could be of use to the people with weird resolutions

    Fix Video Resolution, Howto

    It's a tutorial about changing the resolution and it includes a section in which it refers about how to do it in the cases discuss here. The tutorial comes from the Ubuntu documentation website and it might have been mentioned in the blog already, in which case I would like to apologised for repeating it. I just thought about leaving the link as it was very specific to the issues discuss in this post.

    The Ubuntu documentation website might have also been mentioned but just in case I leave the link, too.

    Ubuntu documentation

  6. Seb // 1/7/08, 8:06 AM  

    By the way, there is a package in the universe repositories called "startupmanager" which gives you a simple window to configure usplash.

    To install, use synaptic package manager or type in a terminal:

    sudo apt-get install startupmanager

    Once installed, there should be a new entry in the menu System >> Administration

    Hope that helps :p