Solved

how to change the text console to 50 lines instead of 25

Posted on 2001-07-24
7
208 Views
Last Modified: 2010-04-20
as title
0
Comment
Question by:adrianmak
  • 3
  • 3
7 Comments
 
LVL 2

Expert Comment

by:_marko_
ID: 6316831
Edit /etc/lilo.conf and change
vga=something

to
vga=ask

Run /sbin/lilo and reboot.

Now when you restart it should show the compatible VGA modes. Eg:

1.  80x25
2.  80x43
3.  132x25
4.  132x43

Remember the precending number on the mode you want to use and after you've rebooted you should edit /etc/lilo.conf again and change
vga=ask

to
vga=your_chosen_number

Run /sbin/lilo again to install the new settings.

Marko
0
 

Author Comment

by:adrianmak
ID: 6317114
does it only take effect on local console ?
What about remote console e.g. telnet
0
 
LVL 2

Accepted Solution

by:
_marko_ earned 5 total points
ID: 6317198
It's only on the local console. In remote sessions it is up to the client program to adjust it's window. For example PuTTY can be resized anyway one likes.

As for telnet, you really shouldn't use it anymore. If the server has an sshd-daemon running then you should use SSH.

Anyways, try to download PuTTY at this site:
http://www.chiark.greenend.org.uk/~sgtatham/putty/download.html

It supports both telnet and SSH protocols.

If you want to resize the console on telnet/ssh session between two Linuxes/UNICES then I unfortunately don't have the answer.

Marko
0
IT, Stop Being Called Into Every Meeting

Highfive is so simple that setting up every meeting room takes just minutes and every employee will be able to start or join a call from any room with ease. Never be called into a meeting just to get it started again. This is how video conferencing should work!

 

Expert Comment

by:Jossiah
ID: 6319421
Prolly the easiest way to resize a telnet screen is to use the above suggestion on the remote machine as well presuming of course that the telnet is from the CLI. If not, we'd need more info, such as the WM and Xwindows versions used.
0
 

Author Comment

by:adrianmak
ID: 6320426
I add the option vga=ask at lilo.conf and then run lilo to update
but when reboot, no prompt ask me for vga mode
it just stop at the graphical kernel selection screen

I am using RH 7
0
 

Author Comment

by:adrianmak
ID: 6320428
This is my lilo.conf

boot=/dev/hda
map=/boot/map
install=/boot/boot.b
prompt
timeout=50
vga=ask
message=/boot/message
linear
default=linux-2.4.3

image=/boot/vmlinuz-2.2.18pre11-va1.1
        label=linux
        read-only
        root=/dev/hda2

image=/boot/vmlinuz-2.4.3
        label=linux-2.4.3
        read-only
        root=/dev/hda2
0
 
LVL 2

Expert Comment

by:_marko_
ID: 6321357
I'm not so sure of RH7, but this works in Mandrake 8.0:

Run setup (in Mandrake that's located at  /usr/X11R6/bin/setup)

Choose "Boot configuration" and from there you can choose "LILO with text menu". I'm sure RH has something similar.

Marko
0

Featured Post

Complete Microsoft Windows PC® & Mac Backup

Backup and recovery solutions to protect all your PCs & Mac– on-premises or in remote locations. Acronis backs up entire PC or Mac with patented reliable disk imaging technology and you will be able to restore workstations to a new, dissimilar hardware in minutes.

Join & Write a Comment

Daily system administration tasks often require administrators to connect remote systems. But allowing these remote systems to accept passwords makes these systems vulnerable to the risk of brute-force password guessing attacks. Furthermore there ar…
rdate is a Linux command and the network time protocol for immediate date and time setup from another machine. The clocks are synchronized by entering rdate with the -s switch (command without switch just checks the time but does not set anything). …
Connecting to an Amazon Linux EC2 Instance from Windows Using PuTTY.
This demo shows you how to set up the containerized NetScaler CPX with NetScaler Management and Analytics System in a non-routable Mesos/Marathon environment for use with Micro-Services applications.

746 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

12 Experts available now in Live!

Get 1:1 Help Now