\begin{exe} {Booting into Non-Graphical Mode Using GRUB}

   \begin{info}
      This exercise requires that it be run from the
      console (i.e., not over \textbf{SSH}).
   \end{info}

   \begin{enumerate}

      \item

      Reboot your machine and go into the \textbf{GRUB}
      interactive shell by hitting \textbf{e} (or whatever
      other key is required as listed on your screen.)

      \item

      Make your system boot into non-graphical mode.  How you
      do this depends on the system.

      On traditional systems that respect \textbf{runlevels}
      (which we will talk about in the next section) you can
      append a \verb?3?  to the kernel command line in the
      specific entry you pick from the \textbf{GRUB} menu of
      choices.  This will still work on \textbf{systemd}
      systems that still bother to emulate \textbf{SysVinit}
      runlevels.

      On some other systems you may need to append \verb?text?
      instead.

      \item
      Hit the proper key to make system continue booting.

      \item
      After the system is fully operational in non-graphical
      mode, bring it up to graphical mode.  Depending on your
      system, one of the following commands should do it:

      \begin{cmd}
$ sudo systemctl start gdm
$ sudo systemctl start lightdm
$ sudo telinit 5
$ sudo service gdm restart
$ sudo service lightdm restart
      \end{cmd}
   \end{enumerate}
\end{exe}

