All of lore.kernel.org
 help / color / mirror / Atom feed
* perceived bug: no serial/vga simuldisplay
@ 2008-11-07 18:01 Joey Korkames
  2008-11-07 18:26 ` Colin D Bennett
  0 siblings, 1 reply; 3+ messages in thread
From: Joey Korkames @ 2008-11-07 18:01 UTC (permalink / raw)
  To: grub-devel


When migrating my Grub1 pxegrub setup to grub2 for testing, some of the new 
quirks in the serial system have bothered me...

Unlike Grub Legacy, where I can specifiy 
the serial console, and have the menu simul-displayed on both vga and serial 
(if port actually exists); Grub2 can't simul-display.

As a workaround, I have it display a timeout on vga and display 
the menu on serial if no vga input was received. Serial access is 
more important in my environment, hence why it has primacy.

 This stinks for the occasional vga user whose machine doesn't even 
have a serial port (tested on Laptop hardware and with Xen HVM). Grub2 is 
just unrecoverrably hung on a phantom port and the box must be 
physically rebooted (the default choice from the now-invisible menu does NOT 
auto-boot!).

Grub Legacy:
serial --unit=0 --speed=9600 --word=8 --parity=no --stop=1
terminal --timeout=10 serial console

Grub2: 
terminal console
#you have to light the console first before going to serial!

echo -n "Press ESC to bypass serial console and enter the menu via VGA console... "
if sleep --verbose --interruptible 3 ; then
  set grubconsole=serial
# serial --unit=0 --speed=9600 --word=8 --parity=no --stop=1
  serial
#I assume that this parameter autodetection is what this thread was actually about...
  terminal serial
else                                                                                                                                                 
  set grubconsole=vga                                                                                                                                  
fi


Best regards to the Grub2 crew,
Joey





^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2008-11-07 19:19 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-11-07 18:01 perceived bug: no serial/vga simuldisplay Joey Korkames
2008-11-07 18:26 ` Colin D Bennett
2008-11-07 19:19   ` Robert Millan

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.