grub的sol

it2022-05-05  134

grub的sol

http://smcijohnny.blogspot.com/2015/06/linuxsolserial-over-lan.htmlhttps://www.hiroom2.com/2016/06/07/centos-7-grub2-and-linux-with-serial-consolehttps://kernelmanic.com/2015/10/14/enable-serial-console-on-centosrhel-7https://access.redhat.com/documentation/en-US/Red_Hat_Enterprise_Linux/7/html/System_Administrators_Guide/sec-GRUB_2_over_a_Serial_Console.htmlhttps://wiki.archlinux.org/index.php/working_with_the_serial_consolehttps://www.certdepot.net/rhel7-get-started-grub2http://strugglers.net/~andy/blog/2015/12/11/installing-debian-by-pxe-using-supermicro-ipmi-serial-over-lan/

bios设置

开启COM1

开启SOL

/etc/default/grub (centos7)

GRUB_TIMEOUT=5 GRUB_DISTRIBUTOR="$(sed 's, release .*$,,g' /etc/system-release)" GRUB_DEFAULT=saved GRUB_DISABLE_SUBMENU=true GRUB_CMDLINE_LINUX="crashkernel=auto rhgb quiet console=ttyS1,115200" GRUB_DISABLE_RECOVERY="true" GRUB_TERMINAL="serial" GRUB_SERIAL_COMMAND="serial --speed=115200 --unit=0 --word=8 --parity=no --stop=1"

unit: 0 COM1, 1 COM2 ttyS0: COM1 ttyS1: COM2

服务器由于COM1物理占用,连接需要用ttyS1

grub2-mkconfig -o /boot/grub2/grub.cfg

posted on 2016-12-21 17:35 北京涛子 阅读( ...) 评论( ...) 编辑 收藏

转载于:https://www.cnblogs.com/liujitao79/p/6208489.html

相关资源:XenServer中VMware的Console的连接方法

最新回复(0)