当前位置: 技术问答>linux和unix
如何让Solaris通过串口输出
来源: 互联网 发布时间:2016-03-22
本文导语: 我安装了OpenSolaris,我想让串口打印启动过程的信息,不知道如何设置。波特率是多少? | 编辑grub的配置文件menu.list (/boot/grub/menu.lst) # To enable grub serial console to ttya uncomment the following...
我安装了OpenSolaris,我想让串口打印启动过程的信息,不知道如何设置。波特率是多少?
|
编辑grub的配置文件menu.list (/boot/grub/menu.lst)
# To enable grub serial console to ttya uncomment the following lines
# and comment out the splashimage line below
# WARNING: don't enable grub serial console when BIOS console serial
# redirection is active!!!
serial --unit=0 --speed=9600
terminal serial
#
# Uncomment the following line to enable GRUB splashimage on console
#splashimage /boot/grub/splash.xpm.gz
同时:
title Solaris Nevada snv_61 X86
kernel$ /platform/i86pc/kernel/$ISADIR/unix -B console=ttya,ttya-mode="9600,8,n,1,-"
module$ /platform/i86pc/$ISADIR/boot_archive
# To enable grub serial console to ttya uncomment the following lines
# and comment out the splashimage line below
# WARNING: don't enable grub serial console when BIOS console serial
# redirection is active!!!
serial --unit=0 --speed=9600
terminal serial
#
# Uncomment the following line to enable GRUB splashimage on console
#splashimage /boot/grub/splash.xpm.gz
同时:
title Solaris Nevada snv_61 X86
kernel$ /platform/i86pc/kernel/$ISADIR/unix -B console=ttya,ttya-mode="9600,8,n,1,-"
module$ /platform/i86pc/$ISADIR/boot_archive