From b529863535ad1b7fa5739dcfd4d1dd756f2f64bb Mon Sep 17 00:00:00 2001 From: Konrad Bucheli Date: Tue, 2 May 2023 11:18:06 +0200 Subject: [PATCH] grub output over serial console --- admin-guide/troubleshooting/boot.md | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/admin-guide/troubleshooting/boot.md b/admin-guide/troubleshooting/boot.md index 0c2a4703..17b15b8f 100644 --- a/admin-guide/troubleshooting/boot.md +++ b/admin-guide/troubleshooting/boot.md @@ -24,3 +24,15 @@ The serial port should then be connected to a file on the datastore `serial_cons These files then can be accessed over `lxsup00.psi.ch:/data/serial_console`. +## Send Grub Output to Serial Port + +For sending out Grub debug information over the serial port to a file because it is to much to fit the screen or for later inspection, you might do the following: +- in the Grub menue type `c` to get to the command line +- configure the serial port with +``` +serial --unit=0 --speed=115200 +``` +- set the output to the serial port, run the debug command and set the output back: +``` +terminal_output serial; lsefi; terminal_output console +```