Boot Ubuntu 16.04 in Console Mode/Text Mode
Problem : Why I needed Ubuntu in console mode ?
While practicing HADOOP Installation in cluster mode , I was always ending up in creating a VM which is GUI enabled.
As already stated my laptop configuration is 4GB RAM constraint I was experiencing very slow system processing when 2 VMs were started at the same time as both were loading GUI interface of Ubuntu.
So thought came to my mind, for DATANODE there is no requirement of GUI so how can I disable it !!!
After reading about it I came to know changing GRUB settings this can be done .
So here is the procedure of doing the same.
very very imp: Take a backup of current grub file. sudo cp /etc/default/grub /etc/default/grub.orig
1) sudo vim /etc/default/grub
Make the following changes in grub file.
1) Comment #GRUB_CMDLINE_LINUX_DEFAULT="quiet splash"
2) GRUB_CMDLINE_LINUX="text"
3) Uncomment GRUB_TERMINAL=console
Changes looks like this
Save file .
2) Update GRUB to make changes to grub.cfg file
Issue
update-grub
3) In Ubuntu version 16.04 issue this command so that change takes place for each user login
sudo systemctl set-default multi-user.target
4) Shutdown and start system . Ubuntu will be available in console mode.