Saturday, February 1, 2014

Boot Ubuntu Linux faster by reducing TTY virtual consoles

Most of us never use all the virtual consoles(TTY) that is provided with most Linux distribution. Why leave it there and let it eat memory. You can decrease startup time by removing unwanted virtual console or TTY.

Removing some virtual consoles or reducing TTY is very easy.

Just follow the procedure below:

  • sudo -s
  • vi /etc/default/console-setup
  • change ACTIVE_CONSOLES=”/dev/tty[1-6]” to your choice. Lets say if you want only two TTY or virtual console then change to ACTIVE_CONSOLES=”/dev/tty[1-2]”
  • cd /etc/event.d
  • Comment on all the lines in ttyx file that you dont need. In this example tty3-tty6

Reboot to see the change.
download
alternative link download

No comments:

Post a Comment

Note: Only a member of this blog may post a comment.