時間がないので端折り気味で。
/boot/grup/menu.lst に太字部分を追加。
serial --unit=0 --speed=115200 --word=8 --parity=no --stop=1
terminal --timeout=10 console serial
#splashimage=(hd0,0)/grub/splash.xpm.gz
hiddenmenu
title CentOS (2.6.18-128.2.1.el5xen)
root (hd0,0)
kernel /xen.gz-2.6.18-128.2.1.el5 com1=115200
module /vmlinuz-2.6.18-128.2.1.el5xen ro root=/dev/VolGroup00/LogVol00 console=tty0 console=ttyS0,115200n8
module /initrd-2.6.18-128.2.1.el5xen.img
terminal --timeout=10 console serial
#splashimage=(hd0,0)/grub/splash.xpm.gz
hiddenmenu
title CentOS (2.6.18-128.2.1.el5xen)
root (hd0,0)
kernel /xen.gz-2.6.18-128.2.1.el5 com1=115200
module /vmlinuz-2.6.18-128.2.1.el5xen ro root=/dev/VolGroup00/LogVol00 console=tty0 console=ttyS0,115200n8
module /initrd-2.6.18-128.2.1.el5xen.img
あとは /etc/inittab にも以下の行を追加。
# Serial console
sc:12345:respawn:/sbin/agetty -L ttyS0 115200 vt100
sc:12345:respawn:/sbin/agetty -L ttyS0 115200 vt100
最後に /etc/securetty に以下の1行を追加。
ttyS0
以下のサイトを参考にさせていただきました。
ありがとうございます!
Server « blog.shimazu.org
http://blog.shimazu.org/archives/category/server
ふかふかの部屋 - TSR - Xen 関連
http://www1.plala.or.jp/fukafuka/trouble/xen.html