A message for Linux.com registered users: We are in the process of making changes to the Linux forums. From Monday, 8/13/18 at 6:00 PM PT to Tuesday, 8/14/18 at 4:00 PM PT, you will be unable to access the forums. They will re-launch as soon as possible on Tuesday, 8/14/18 with new features and improved functionality. Thank you for your patience and stay tuned for the new improved forums.

December 3, 2016

Lab 3.1: Booting into Non-Graphical Mode Using Grub (CentOS 7)

There doesn't seem to be a way to achieve this via Grub on CentOS 7.  I tried the following in Grub:

1. Appending "3" 

2. Appending "text"

3. Appending "systemd.unit=multi-user.target"

1 & 2 produced errors stating each was not recognised.  3 continued to boot into grapical mode.

To get into a non-graphical environment I had to change the default target via `systemctl` before restarting, like this:

systemctl set-default multi-user.target

This allowed me to boot into non-graphical/ runlevel 3 mode and to complete the exercise by restarting the graphical environment with:

sudo telinit 5

However this doesn't seem to meet the requirement of "Booting into non-graphical mode using GRUB".  Has anyone using CentOS 7 been able to do this?

Click Here!