How to boot ubuntu in text mode instead of graphical(X) mode
For ubuntu,
you need to open the /etc/default/grub file, locate the following line:
GRUB_CMDLINE_LINUX_DEFAULT="quiet splash"
and change it to:
GRUB_CMDLINE_LINUX_DEFAULT="quiet splash text"
and don’t forget to run ‘update-grub’ afterwards to update.