How to make Ubuntu Linux boot to text mode?

My Ubuntu boots to GUI mode by default. How to make Ubuntu Linux boot to text mode?

If you are using Ubuntu older than 16 such as Ubuntu 24.04 LTS:

  1. Edit /etc/default/grub
    Change GRUB_CMDLINE_LINUX=... to GRUB_CMDLINE_LINUX="text".

  2. Backup your old grub config
    `$ sudo cp -n /etc/default/grub /etc/default/grub.bak-date +%s `

  3. Update grub
    $ sudo update-grub

If you are using Ubuntu 24.04 LTS which uses systemd, please follow this tutorial:

How to Change Systemd Boot Target on Linux

Editor’s note: This article has been updated to reflect current software versions as of 2026. Commands and package names have been revised accordingly.

Similar Posts

Leave a Reply

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