Comment 1 for bug 34355

Revision history for this message
Colin Watson (cjwatson) wrote : Re: [Bug 34355] Too easy to confuse debian-installer to write to one TTY but read from another

On Fri, Mar 10, 2006 at 08:07:55PM -0000, Ross Younger wrote:
> In short, the installer main menu shouldn't automatically open on the
> _current_ virtual console if you have switched to another, and it
> certainly shouldn't read from one VC and display on another.

I noticed this one a while back too. It's particularly noticeable when
using Kickstart, which has an interesting quirk in that it brings up an
early menu, does some stuff, and then shuts that down and brings up the
real main menu; if you switch to a different VC in that time then the
main menu will come up on that VC.

The problem I encountered when I last tried to fix this was that the
/etc/inittab we use is used for both virtual-console and serial-console
installations. If I explicitly hardcode main-menu to start up on vc/1,
then that breaks on serial consoles.

I think the best way to deal with this will be to make the bootstrap
init script try to figure out whether you're on a serial console, and if
so substitute in a different inittab. This may also help with
http://lists.debian.org/debian-boot/2006/01/msg01021.html, which
discusses difficulties on serial-console-only machines.