一 修改BIOS

 

设置 virtual serial port  为com1

设置 BIOS serial console& EMS ,设置port的baud rate。

 

二 /etc/grub.conf 修改配置

#boot=/dev/cciss/c0d0
default=0
timeout=5
#splashimage=(hd0,0)/grub/splash.xpm.gz
hiddenmenu
title Red Hat Enterprise Linux Server (2.6.18-272.el5xen)
        root (hd0,0)
        kernel /xen.gz-2.6.18-272.el5 com1=115200,8n1 xencons=ttyS console=com1 sync_console
        module /vmlinuz-2.6.18-272.el5xen ro root=/dev/VolGroup00/LogVol00 rhgb text console=ttyS0 nofb
        module /initrd-2.6.18-272.el5xen.img

xen系统通常通过grub来启动。GRUB kernel是xen本身,这里是“/xen.gz-2.6.18-272.el5 ”。 Dom0的kernel image在grub里作为第一个module存在,这里是“/vmlinuz-2.6.18-272.el5xen ”。xen kernel可以接收许多额外的参数。

 

参数参见:

RHLE XEN配置Virtual Serial Port

三 修改/etc/inittab

添加如下行,用来启动agetty来接收在ttyS0上
S0:2345:respawn:/sbin/agetty -L  ttyS0 115200 vt100

 

四 修改/etc/securetty


ttyS0
ttyS1

相关文章:

  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2021-12-02
  • 2022-12-23
  • 2021-07-14
  • 2022-12-23
  • 2022-12-23
猜你喜欢
  • 2022-12-23
  • 2022-12-23
  • 2021-11-30
  • 2021-05-14
  • 2021-11-08
  • 2021-07-07
  • 2021-11-26
相关资源
相似解决方案