Follow Techotopia on Twitter

On-line Guides
All Guides
eBook Store
iOS / Android
Linux for Beginners
Office Productivity
Linux Installation
Linux Security
Linux Utilities
Linux Virtualization
Linux Kernel
System/Network Admin
Scripting Languages
Development Tools
Web Development
GUI Toolkits/Desktop
Mail Systems
Eclipse Documentation

How To Guides
General System Admin
Linux Security
Linux Filesystems
Web Servers
Graphics & Desktop
PC Hardware
Problem Solutions
Privacy Policy




Red Hat Enterprise Linux 9 Essentials Book now available.

Purchase a copy of Red Hat Enterprise Linux 9 (RHEL 9) Essentials

Red Hat Enterprise Linux 9 Essentials Print and eBook (PDF) editions contain 34 chapters and 298 pages

Preview Book

27.12.2. Serial console output from para-virtualized guests

This section describes how to configure a virtualized serial console for Red Hat Enterprise Linux para-virtualized guests.
Serial console output from para-virtualized guests can be received using the "virsh console" or in the " Serial Console " window of virt-manager. Set up the virtual serial console using this procedure:
  1. Log in to your para-virtualized guest.
  2. Edit /boot/grub/grub.conf as follows:
    Red Hat Enterprise Linux 5 i386 Xen (2.6.18-92.el5xen)
    	root (hd0, 0) kernel /boot/vmlinuz-2.6.18-92.el5xen ro root=LABEL=RHEL5_i386 console=xvc0 
    	initrd /boot/initrd-2.6.18-92.el5xen.img
  3. Reboot the para-virtualized guest.
You should now get kernel messages on the virt-manager "Serial Console" and/or "virsh console".
Logging the para-virtualized domain serial console output
The Xen daemon(xend) can be configured to log the output from serial consoles of para-virtualized guests.
To configure xend edit /etc/sysconfig/xend. Change the entry:
# Log all guest console output (cf xm console)
# Log all guest console output (cf xm console)
Reboot the host to activate logging the guest serial console output.
Logs from the guest serial consoles are stored in the /var/log/xen/console file.

  Published under the terms of the GNU General Public License Design by Interspire