To disable graphical booting in CentOS 7, some suggest that we need to edit file /etc/default/grub as follows:
Remove “rhgb quiet” from the line beginning with “GRUB_CMDLINE_LINUX”, as shown below:
GRUB_CMDLINE_LINUX="crashkernel=auto rd.lvm.lv=centos/root rd.lvm.lv=centos/swap"
However, this does not work.
THE RIGHT WAY:
The following will produce the results we are looking for:
Step 1 – Using the “plymouth-set-default-theme” command, see what the current setting is. By default, it is set to “charge”. I edited file /etc/default/grub, so it is currently set to “text”:
text
However, this setting does not give us verbose boot at startup.
Step 2 – To produce verbose booting, we need to set this value to “details”:
# dracut -f
(This will take a minute before your prompt is returned as it rebuilds the cache).
Double-check your settings:
details
Step 3 – Test your changes by rebooting your system: