Increase The Default Linux Console (Terminal) Resolution

Posted 1923 days ago - Debian

If you're one of the few elite that refuse to run Linux with a window manager, you might have the urge to resize the bloated resolution of the console/terminal sessions. Fortunately, this is a very easy process, but requires restarting, unless there's some elite command I'm unaware of.

Alright, assuming you're using the GRUB boot loader, open the menu config file in your favorite text editor.

# vi /boot/grub/menu.lst

Scroll down toward the bottom and look for the line that reads:

## ## End Default Options ##

You'll see something like this below the line above. This is where your GRUB boot loader menu is configured.

title           Debian GNU/Linux, kernel 2.6.18-5-686
root            (hd0,1)
kernel          /boot/vmlinuz-2.6.18-5-686 root=/dev/hda2 ro
initrd          /boot/initrd.img-2.6.18-5-686
savedefault

At the end of the the third line labeled kernel, add vga=791 to increase the resolution to 1024 x 768. Here's how the modified menu option should look.

title           Debian GNU/Linux, kernel 2.6.18-5-686
root            (hd0,1)
kernel          /boot/vmlinuz-2.6.18-5-686 root=/dev/hda2 ro vga=791
initrd          /boot/initrd.img-2.6.18-5-686
savedefault

Save the changes, and restart.

# shutdown -r -t 0 now

At the boot menu, select the option you've modified (typically the first available choice), and enjoy the new resolution. If you're unsatisfied with 791, there are a number of alternatives.

Word Count: 260

Tags: , ,

Click Here to Submit a Comment

Permalink / Last Modified:

Support Nullamatix.com:

See Also:

  • 04/11/2010 -- Howto: XCache in a Lighttpd Chroot on Debian
    Excerpt: "Whether you're pressed for resources on a virtual/dedicated server, or simply looking for ways to improve web application performance, XCache is guaranteed to produce the desired result. Within minutes of installing XCache: page load times were cut in half, ..."
  • 08/31/2009 -- Howto: Insert Bash Command Output Into MySQL
    Excerpt: "A BlogStorm reader emailed me today, Hello, I am replying to your post on http://www.blogstorm.co.uk/how-to-scrape-pages-with-coldfusion/ Wanted to see your experience in page scraping, may need your help on a project. HOw much did you do beyond the ..."
  • 08/14/2009 -- Howto: Tail Lighttpd Logs with Style using Sed
    Excerpt: "Although extremely useful, http server access logs are a mess in their raw form. If you're interested in watching your http server logs in real time with formatting rules and pretty colors, this post is for you. Teh Scr1pt Create a new file to put the l33t ..."
  • 07/31/2009 -- Howto: Lock Your Screen in dwm with WindowsKey+L
    Excerpt: "A couple months ago I gave up all those fancy buttons, panels, widgets, icons, and other miscellaneous crap that make using a computer annoying, for a more simplistic approach. The dynamic window manager from suckless provides anything the casual web surfer ..."

Leave a Reply