Boot Ubuntu in console mode

ubuntu_logo_81x81There can be several reasons why one would want to boot to the terminal. It can be a way to get familiar with the cmdline or a distraction-free environment for a developer. Note that you can always switch to the first virtual console using <Ctrl-Alt-F1>.

Steps

  1. Backup your existing GRUB configuration
    $ cp /etc/default/grub ~/grub.orig
  2. Modify the following line (must be root or sudoer)
    GRUB_CMDLINE_LINUX_DEFAULT=”quiet splash”
    to
    GRUB_CMDLINE_LINUX_DEFAULT=”text”

    If you have any other boot parameters leave them. Just replace quiet splash with text.

  3. Uncomment the following line
    #GRUB_TERMINAL=console
    to
    GRUB_TERMINAL=console
  4. Run
    $ sudo update-grub
  5. Reboot and you will be greeted in the console mode

To get back to the graphical mode

  1. Run
    $ service lightdm start
  2. Press <Ctrl-Alt-F7>.

Comment

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s