如何将grub输出到串口
edit /etc/default/grub and enable serial input and output support:
1 | ... |
Next add the GRUB_SERIAL_COMMAND variable and set the options for the serial connection. For COM1 (/dev/ttyS0) with baud rate of 115200 bit/s:
1 | ... |
Then update-grub
参考资料: