Skip to contentSkip to conversation

: Configure gPXE to use serial console

PATCH New Gianni Tedesco 1 participant 1 message Oct 25, 2010

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 : Configure gPXE to use serial console

Sometimes we would rather connect to an HVM's serial console than it's VGA display. In this case we cannot see or interact with the ethernet booting process. This is a bit annoying so let's just enable it.

tools/firmware/etherboot/Config +3 -0
diff -r 2e8bdff60d01 tools/firmware/etherboot/Config
@@ -6,3 +6,6 @@ CFLAGS += -DPXE_DHCP_STRICT
 
 CFLAGS += -UNO_POST_PROMPT
 CFLAGS += -DNO_POST_PROMPT
+
+CFLAGS += -UCONSOLE_SERIAL
+CFLAGS += -DCONSOLE_SERIAL=1