booting ubuntu in text mode

by

back-up grub:

sudo cp /etc/default/grub /etc/default/grub-orig

edit the following in /etc/default/grub:

#GRUB_CMDLINE_LINUX_DEFAULT="quiet splash"

GRUB_CMDLINE_LINUX="text"

GRUB_TERMINAL=console

update grub:

sudo update-grub

Set systemd target. The multi-user.target unit groups many daemons and starts services such as NetworkManager.service and activates another target unit named basic.target

sudo systemctl set-default multi-user.target

check default target:

systemctl get-default

The above command links to: /etc/systemd/system/default.target

List all target units:

systemctl list-units --type target --all

To reset to graphical target:

sudo systemctl set-default graphical.target 

Tags

Leave a Reply

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