在/boot/grub/grub.conf中添加console=ttyS0,9600n8
centos6.4修改后的grub.conf文件如下:
# grub.conf generated by anaconda
#
# Note that you do not have to rerun grub after making changes to this file
# NOTICE: You have a /boot partition. This means that
# all kernel and initrd paths are relative to /boot/, eg.
# root (hd0,0)
# kernel /vmlinuz-version ro root=/dev/mapper/VolGroup-lv_root
# initrd /initrd-[generic-]version.img
#boot=/dev/md127
default=0
timeout=5
splashimage=(hd0,0)/grub/splash.xpm.gz
hiddenmenu
title CentOS (2.6.32-358.el6.x86_64)
root (hd0,0)
kernel /vmlinuz-2.6.32-358.el6.x86_64 ro root=/dev/mapper/VolGroup-lv_root rd_NO_LUKS rd_LVM_LV=VolGroup/lv_swap crashkernel
=auto LANG=zh_CN.UTF-8 rd_MD_UUID=2a5ceb12:c94cb93a:be77ebd2:596edd7d rd_LVM_LV=VolGroup/lv_root rd_MD_UUID=ea9ec9d6:fa1e54e1:b50997
d2:0783075a KEYBOARDTYPE=pc KEYTABLE=us rd_NO_DM rhgb quiet console=ttyS0,9600n8
initrd /initramfs-2.6.32-358.el6.x86_64.img
阅读(1110) | 评论(0) | 转发(0) |