How to Boot to the Command Line Interface

For some reasons, you may want to boot directly to the command line. You can easily do this by editing the /etc/default/grub file.

Edit your GRUB_CMDLINE_LINUX_DEFAULT= line, so it looks like this:

GRUB_CMDLINE_LINUX_DEFAULT="text"

To apply this changes, you have to update your grub:

$ sudo update-grub

At reboot, you will get only a terminal. To turn on your Grafical Environment, do the following:

For Gnome: sudo service gdm start

For KDE: sudo service kdm start

Liked it? Take a second to support Geekster on Patreon!
Tagged with: , , , ,
Posted in The Linux and Unix Articles!

Leave a Reply

Your email address will not be published. Required fields are marked *

*

Support LinuxG via Patreon
Support LinuxG.net on Patreon!
Subscribe

  

Subscribe to get the latest Linux news and how to guides directly on your e-mail!