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

I want to rotate my console (not X Server) by 90 degrees (clockwise).

The following seems to work for me: echo 1 > /sys/class/graphics/fbcon/rotate; however, I'd prefer to use a kernel option in Grub, rather than including the above in the /etc/rc.local script.

The fbcon documentation outlines the following option that can be passed to the kernel: fbcon=rotate:<n>. Unfortunately, when I modify /etc/default/grub and modify the GRUB_CMDLINE_LINUX line like this:


... it doesn't work. I also ran update-grub before rebooting.

I've also tried this:


Still nothing. Any thoughts?

share|improve this question
Why don't you want to edit rc.local? – Emanuel Berg Mar 19 '13 at 23:05
up vote 5 down vote accepted

Figured this out. You may need to add video=efifb to ensure that the framebuffer console is used:

GRUB_CMDLINE_LINUX="video=efifb fbcon=rotate:1"
share|improve this answer
Big caveat: This only applies if your machine ships with an EFI-enabled BIOS. – aperezbios Jan 12 '15 at 23:47
Thanks for posting your solution! If this did indeed solve it for you, please accept it so the question can be marked as answered. – terdon Jan 12 '15 at 23:50
@aperezbios - Are you sure that's the case? I'm pretty sure that I've seen this working on a conventional BIOS system. – BMiner Jan 16 '15 at 19:31

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.