Linux - Virtualization and CloudThis forum is for the discussion of all topics relating to Linux Virtualization and Linux Cloud platforms. Xen, KVM, OpenVZ, VirtualBox, VMware, Linux-VServer and all other Linux Virtualization platforms are welcome. OpenStack, CloudStack, ownCloud, Cloud Foundry, Eucalyptus, Nimbus, OpenNebula and all other Linux Cloud platforms are welcome. Note that questions relating solely to non-Linux OS's should be asked in the General forum.
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.
Any suggestions on how to get my vm guest serial console to be the same size as the xterm I login from would be appreciated. Details below. Thanks in advance.
I have a Debian 6 x86_64 host running a Debian 6 i686 guest created using virt-install. All is working fine except the serial console. It seems to be stuck at vt100/80column/25line/noscroll. I created/used many vm guests with vnc console before. This is my first time using a serial console.
After the guest is booted, I login to the guest as root using the guest console with "virsh console testvm" from an "xterm -g 99x66 -sl 10000 -sb" on the host. Commands like "ps -elf" are cut off at 80 columns but will using all 66 lines. Commands like "ps -elf | grep ." will using all 99 columns. Curses based applications such as vim do some type of term reset and only use 80x25.
T0:23:respawn:/sbin/getty -L ttyS0 38400 linux
testvm% stty -a >> rows=0,columns=0
testvm (bash)% set >> LINES=24 COLUMNS=80 TERM=linux
If I manually set LINES/COLUMNS and export them, still no change.
Same results with csh.
Same results at the grub prompt (help uses 80x66, but menu uses 80x25).
Same results with i686 host and x86_64 guest (all debian 6).