Welcome to the Linux Foundation Forum!

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

Posts: 11

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:


  1. 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:


  1. 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?

Welcome!

It looks like you're new here. Sign in or register to get started.
Sign In

Comments

  • Posts: 916
    edited December 2016

    I just did this on a CentOS 7 virtual machine and had no problem.  Did you append the " 3" to the line that starts with "linux16 ...."   (after hitting 'e' and then scrolling down to the line., and hitting CTL-x afterwards)

  • Hi coop,  thanks for that!  It turns out a new line had started before the end of the grub config (I didn't notice the indentation).  So I just had to go up one line.

    Thanks again! :)

  • Posts: 916
    edited December 2016

    glad to help

Welcome!

It looks like you're new here. Sign in or register to get started.
Sign In

Welcome!

It looks like you're new here. Sign in or register to get started.
Sign In

Categories

Upcoming Training