Increase The Default Linux Console (Terminal) Resolution

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.

Additional Posts Worth Reading

 

3 Comments »

collapse Comment by Billy D.
2008-02-23 20:55:36

Thanks, this is exactly what I was looking for!

 
collapse Comment by tony
2008-02-27 07:05:07

if you want 1280×1024, you can use vga=795

collapse Comment by Guy Patterson
2008-02-27 07:45:50

Tony,

nice, thanks for the info, j00 r0ck. Any comments on the new theme? :D

 
 
Name (required)


E-mail (required - never shown publicly)


URI - Web Site Address






Subscribe

Site of The Day

Sponsors

Categories

Recent Comments

  • Arthur: I can’t even be an Ebay affiliate. Tried various ways but still declined. Any help or suggestions?
  • chicago web design: I can’t imagine that these will last very long before Google banishes them all. But for now...
  • D.Ksyte: Anyone involved with cron job scheduling might find this resource useful. Cron Sandbox at HxPI is an...
  • FoNiX: “…decode md5″ is not possible, only bruteforce: generate hash and compare with original.
  • Z@$#: plz plz decript this hash for me any one….its really important…. 2CAD28C7C619F27DDE7B83C4999795BA
  • Joe: Thanks for writing this up. I tried the second method…however after the debian install the screen looks...
  • Scott: Was this issue ever resolved? I just started having a problem a couple weeks ago. I don’t do any kind of...
  • Prashant Patel: I had integrated Sp3 in Xp But finding one problem. In the Task Manager Process windows many services...
  • Ed: This looks like a real ‘leet’ linux command but it misses the point. Why would a hacker keep the name of...
  • Sudesh: My account was disabled but I followed their guideline and in one sec it was back on :) Here is the...

Top Commentators

Miscellaneous

  • Add to Technorati Favorites