Nuxified

FOSS technologies explained

  • Useful Articles
  • Blogs
  • Images
  • Tips
  • Archives

December 19, 2008

Changing boot resolution and color

How about a new tip? Smiling

Well, on GNU/Linux distributions (and probably other free UNIX like systems) using GRUB for their boot manager it is possible to change the resolution and color of the boot screen, regardless of whether there is a splash or not. If you’re using an advanced distribution like Arch, Slackware, Debian or Gentoo where you’re likely to at least occasionally use only the console, I found it nice to set a higher resolution so more stuff can fit on screen at the same time, and it also looks nicer. And if you’re using a “friendlier” distro like Ubuntu, Fedora or OpenSUSE you’re likely to have a splash and boot directly into graphical mode, but you could still want to increase the resolution of the boot screen.

So this is how it’s done.

Open /boot/grub/menu.lst with super user privileges. This can be done with either of these ways:

1. Open a “run command” or “run application” dialog (usually alt-f2) and run this:

gksudo gedit /boot/grub/menu.lst

gksudo gedit /boot/grub/menu.lst

. You can replace “gedit” with another editor you may have available (like kate, leafpad, mousepad etc.) and “gksudo” with “kdesudo” if you’re using KDE.

2. In command line, for those more familiar, opening the terminal (gnome-terminal or konsole) and running

nano /boot/grub/menu.lst

nano /boot/grub/menu.lst

. You may wish to use something else aside of nano like vi or emacs.

Edit the file by appending vga=XXX to the uncommented kernel lines (uncommented lines being those that don’t start with #) where “XXX” is the number corresponding to the resolution and color you wish to choose from the table below. (Example: vga=794 for 1280×1024 with 16 bit color).

 

VESA modes
Colors (depth) 640×480 800×600 1024×768 1280×1024 1600×1200
256 ( 8 bit) 769 771 773 775 796
32,768 (15 bit) 784 787 790 793 797
65,536 (16 bit) 785 788 791 794 798
16.8M (24 bit) 786 789 792 795 799

Any questions are welcome below in comments.

NOTE: For familiar users, I’ve deliberately made this novice friendly. Eye

Cheers

Share this:

  • Click to share on Twitter (Opens in new window)
  • Click to share on Facebook (Opens in new window)

Related

Article by libervisco / Community Blogs

Learn Unix

I run Unix Tutorial website and help anyone interested to pick up Unix skills. If you have questions or just want to share your ideas – please join the Unix Tutorial on Facebook.

Tech Stack Solutions

Tech Stack Solutions is my company that provides Unix support. Sign up or simply get in touch to find out how I can help!

Search this Website

You May Also Like

Recent Posts

  • Advice on using SUDO
  • FFmpeg 4.0
  • KDE Plasma 5.9.0 Release
  • How to Install Ubuntu Linux without a DVD or USB
  • How to Securely Save All Your Passwords with Keepass
  • 9 Signs You Should Use Linux on Your Computer
  • The Easiest Way to Optimize Your MySQL Database Performance
  • Setting up a Linux Web Development Environment in Windows
  • Hunting Down Disk Space Hogs on Linux Command Line
  • 6 Simple Android Apps for Monitoring and Managing Your Linux Server

Archives

Categories

  • Community Blogs
  • Images and Screenshots
  • News
  • Technical Topics
  • Useful Articles

Basic Unix Commands

Basic Unix Commands
  • ls command
  • mkdir command
  • man command in unix
  • cd command - change directory
  • uname command

Advanced Unix Commands

Advanced Unix Commands
  • ln command - symlinks
  • tune2fs unix command - filesystem parameters
  • du command - disk usage
  • lsb_release command
  • find unix command

Unix Reference

Unix Reference
  • SSH port forwarding
  • unix commands
  • visudo tutorial
  • mtime unix
  • lrwxrwxrwx
  • Unix Tutorial digest

Unix Books

Unix Tutorials

Unix How-Tos
  • check raspbian version
  • autostart in KVM
  • List files in Ubuntu package
  • check CentOS version
  • create bootable USB in MacOS
  • Useful Articles
  • Blogs
  • Images
  • Tips
  • Archives

Copyright © 2021 · Education Pro Theme on Genesis Framework · WordPress · Log in