Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum. |
Notices |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
 |
03-11-2006, 04:14 AM
|
#1
|
Member
Registered: Jan 2005
Distribution: Debian
Posts: 104
Rep:
|
how do I change the command line resulution?
hi,
how do I change the command line resulution on debian?
During boot up the command line resolution and font is ok, but half way through the boot up process it says something like "adjusting font" and the font and resolution is pretty ugly.
I once have svgatextmode installed, but deleted it, since it didn't give me what I needed.
-sunpascal
|
|
|
03-11-2006, 04:52 AM
|
#2
|
LQ Guru
Registered: Nov 2003
Location: N. E. England
Distribution: Fedora, CentOS, Debian
Posts: 16,298
Rep:
|
You can append a line such as "vga=788" to your kernel section in your bootloader config file e.g.
Code:
title Mandriva 2006
kernel (hd0,0)/boot/vmlinuz root=/dev/hda1 resume=/dev/hda5 splash=silent vga=788
initrd (hd0,0)/boot/initrd.img
This thread has a list of vga modes and their corresponding resolution.
|
|
|
03-11-2006, 08:17 AM
|
#3
|
Member
Registered: Jan 2005
Distribution: Debian
Posts: 104
Original Poster
Rep:
|
thanks for your reply.
I am using grub by the way.
Are you sure, that the problem is with the boot loader, because the command line resolution is good right after the boot loader is done. It is only later that it gets messed up.
-pascal
|
|
|
03-11-2006, 09:17 AM
|
#4
|
LQ Guru
Registered: Nov 2003
Location: N. E. England
Distribution: Fedora, CentOS, Debian
Posts: 16,298
Rep:
|
The vga modes work on grub and lilo. I am not sure exactly what the problem is, but tinker with your vga settings to see if there is a difference.
|
|
|
03-11-2006, 09:27 AM
|
#5
|
Member
Registered: Jan 2005
Distribution: Debian
Posts: 104
Original Poster
Rep:
|
were do I edit the config for grub though?
|
|
|
03-11-2006, 09:28 AM
|
#6
|
Member
Registered: Jan 2005
Distribution: Debian
Posts: 104
Original Poster
Rep:
|
do I have to run grub after making changes?
|
|
|
03-11-2006, 09:33 AM
|
#7
|
LQ Guru
Registered: Nov 2003
Location: N. E. England
Distribution: Fedora, CentOS, Debian
Posts: 16,298
Rep:
|
Your grub config file should be /boot/grub/menu.lst (/boot/grub.conf on some systems). You don't need to run the grub command after editing the grub config file.
|
|
|
03-11-2006, 09:51 AM
|
#8
|
Member
Registered: Jan 2005
Distribution: Debian
Posts: 104
Original Poster
Rep:
|
can I just add vga=ask to the following?
Code:
title Debian GNU/Linux, kernel 2.4.27-2-386
root (hd0,1)
kernel /boot/vmlinuz-2.4.27-2-386 root=/dev/hda2 ro
initrd /boot/initrd.img-2.4.27-2-386
savedefault
boot
sorry, I'm afraid of messing up my pc...
|
|
|
03-11-2006, 10:00 AM
|
#9
|
Member
Registered: May 2003
Location: S.F. Bay Area
Distribution: Ubuntu 9.04 AMD64
Posts: 595
Rep:
|
Depending on the kind of terminal you're running (xterm, Eterm, rxvt, [whatever]-term), you might be able to adjust the font settings for the terminal itself.
I run Eterm and it has a "Font" pull-down menu I can use to change the font.
When you open a terminal window, see if the name of the kind of terminal appears in the window title. Once you know if you're running xterm or whatever, do a "man [terminal type]" to see what your configurability options are.
For example, " man xterm" listed several options relating to fonts, colors, and so on.
Peace...
|
|
|
03-11-2006, 10:20 AM
|
#10
|
LQ Guru
Registered: Nov 2003
Location: N. E. England
Distribution: Fedora, CentOS, Debian
Posts: 16,298
Rep:
|
Quote:
can I just add vga=ask to the following?
|
Yes you can but remember that if you use vga=ask, you will be asked for the resolution ech time you boot your system.
|
|
|
All times are GMT -5. The time now is 09:59 AM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|