Sign up ×
Unix & Linux Stack Exchange is a question and answer site for users of Linux, FreeBSD and other Un*x-like operating systems. It's 100% free, no registration required.

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

1 Answer 1

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 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 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 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.