Unix & Linux Stack Exchange is a question and answer site for users of Linux, FreeBSD and other Un*x-like operating systems. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

The Linux kernel documents that you can choose to boot Linux with VESA framebuffer consoles instead of the default 80x25 text mode consoles.

For text application testing purposes, one may need both modes simultaneously. For instance, ALT+1 to ALT+3 in 80x25 text mode and ALT+4 to ALT+6 in framebuffer mode.

Is there a way to achieve dual mode text displays in a single boot?

share|improve this question
up vote 4 down vote accepted

If you boot the kernel in text mode (standard on x86), you can change the VESA mode after boot with vbetool, using the vbemode action.

If you boot the kernel in framebuffer mode (standard on non-x86), you can change the resolution at runtime with fbset.

When you press ALT+L, etc., the kernel probably sends SIGWINCH to the INIT process (pid 1). The default init program probably generates a kbrequest event, you may be able to pick up on that by modifying /etc/inittab and have init run a script that sets the mode for you.

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.