[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#444026: grub-installer: serial console should timeout



Package: grub-installer
Version: 1.22
Severity: minor

We have some dell boxes with BIOS set to redirect console output to
serial after boot (that's the default).

When using a proper serial console, this breaks the display (so that
you can't see the grub messages).  This is fair enough.

However, since there is no timeout set, it "hangs" the box at this
point which is suboptimal.  There is an easy fix - specify a timeout
(this is _separate_ from the normal grub timeout option which is also
set FWIW).

By changing the grub config from:
serial --unit=0 --speed=57600 --word=8 --parity=no --stop=1
terminal serial 

to
serial --unit=0 --speed=57600 --word=8 --parity=no --stop=1
terminal --timeout=10 serial 

then the boot continues after 10 seconds.  When the box is remotely
admined this saves considerable hassle :-)

Should just be a couple of extra words in get_serial_console function.

Adrian
-- 
Email: adrian@smop.co.uk  -*-  GPG key available on public key servers
Debian GNU/Linux - the maintainable distribution   -*-  www.debian.org




Reply to: