关闭

打开Solaris的串口输出

1605人阅读 评论(0) 收藏 举报
编辑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
module$ /platform/i86pc/$ISADIR/boot_archive

The key is to get the grub to go to the console to allow you to select
which kernel you want and
then to add "-B console=ttya" to tell the kernel to use that same
console port.
 
0
0

查看评论
* 以上用户言论只代表其个人观点,不代表CSDN网站的观点或立场
    个人资料
    • 访问:597347次
    • 积分:10449
    • 等级:
    • 排名:第1636名
    • 原创:445篇
    • 转载:3篇
    • 译文:0篇
    • 评论:11条
    最新评论