The file is the /etc/default/grub
Ubuntu. Login to text mode. It is not need to remove GUI from the system.
You can leave it and just make your default boot as a text mode and if once you need a GUI you can restore it so easy.
open /etc/default/grub as and add text to the
sudo nano /etc/default/grub
And in the file, change this line:
Then update your Grub
Your system will then always boot to text mode.
If you once want to use GUI you can easly make light works
sudo service lightdm start
Grub Customizer is a graphical interface to configure the GRUB2/BURG settings and menuentries
* move, remove or rename menuentries (they stey updatable by update-grub)
* edit the contents of menuentries or create new ones (internally it edits the 40_custom)
* support for GRUB2 and BURG
* reinstallation of the bootloader to MBR
* settings like default operating system, kernel params, background image and text colors etc.
* changing the installed operating system by running on a live cd
What is new in version 3.0.1
- entries can be moved free now
- integrated settings dialog
- new partition chooser
- context menu
- multi selection
- trash instead of checkboxes
- entry editor
- graphical error handlung
- reset functionality
- warning when trying to remove script- or system entries
Install Grub Customizer 3.0.1 in ubuntu
Open the terminal and run the following commands
sudo add-apt-repository ppa:danielrichter2007/grub-customizer
sudo apt-get update
sudo apt-get install grub-customizer