I wanted to find out how to change the resolution of the terminal screens in Ubuntu, and after a bit of Googling, here’s the answer…
From Ubuntu Forums by Nythain:
you need to edit your /boot/grub/menu.lst file and make a couple appropriate changes.
first, figure out what vga=XXX mode you want, this will determine the resolution, you can find a chart easily enough online anywhere by googling “grub resolution chart” or something similar.
then, you would edit the above mentioned grub file, and look for a line that looks like
#defoptions=quiet splash
though quiet and splash might not be there, who knows… but add right after it, vga=XXX so it looks like
#defoptions=quiet splash vga=XXX
now you could stop here, save the file, and sudo update-grub, which will create a new menu.lst using the automagic settings, including the vga=XXX that you added.
reboot, and voila, hopefully a much more readable TTY
As for the grub vga values, I found this at justlinux forums
depth------640x480-----800x600-----1024x768-----1280x1024
256----------769----------771-----------773-------------775
32000-------784----------787-----------790-------------793
65000-------785----------788-----------791-------------794
16.7 Mill.----786----------789-----------792-------------795
I edited /boot/grub/menu.lst several times until I found the best value which works on my computer. Sadly, 1280×1024 wouldn’t work, so eventually I settled for 1024×768, which is still a big improvement for me. What I finally ended up with is the following entry:
title Ubuntu 8.04.1, kernel 2.6.24-19-generic
root (hd0,0)
kernel /boot/vmlinuz-2.6.24-19-generic root=UUID=56070267-fb16-4318-a9ce-3dd7d8d5253b ro quiet splash vga=791
initrd /boot/initrd.img-2.6.24-19-generic
Use that as an example to understand what I changed, but for goodness sake, don’t copy and paste it, there’s a good chance it won’t work for you, and you may not be able to boot anymore.
After making the change, all I did was reboot, and it worked. I didn’t need to run sudo update-grub like the forum suggested… I’m not sure if you need to or not. Read the man page, I can’t be bothered.