Text-based interaction with Linux generally occurs using a TTY, which is connected to and authenticated with getty
and login
. How are the most early boot messages displayed on a monitor? Does the graphics card driver create a TTY for the early boot messages? I know when I boot an embedded system these messages appear on a serial console, which as far as I know, is a type of TTY.
Linux – How are Linux boot messages displayed before login
bootlinux-kernellogintty
Best Answer
/dev/console
is used.Lookup the
register_console()
function in the kernel source: http://lxr.free-electrons.com/source/kernel/printk/printk.c#L2437