Modify your file /etc/default/grub with
/etc/default/grub
GRUB_CMDLINE_LINUX_DEFAULT="text"
and do sudo update-grub. The machine will boot in text mode.
sudo update-grub
To start the graphical interface you do
sudo service gdm start