That is easy. I just tested it and it works.
Open /boot/grub/grub.cfg in your text editor (mine is gedit - I don't know what your CENTOS 7 uses...)
Code:
gksu gedit /boot/grub/grub.cfg
Go the the first "menuentry" line, and copy that menuentry.
This is what mine looks like:
Code:
menuentry 'Linux Mint 17.2 Cinnamon 64-bit, 3.16.0-38-generic (/dev/sda2)' --class ubuntu --class gnu-linux --class gnu --class os {
recordfail
savedefault
gfxmode $linux_gfx_mode
insmod gzio
insmod part_msdos
insmod ext2
set root='hd0,msdos2'
if [ x$feature_platform_search_hint = xy ]; then
search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos2 --hint-efi=hd0,msdos2 --hint-baremetal=ahci0,msdos2 a2cd308e-2307-4bb4-8382-b54b792b8a79
else
search --no-floppy --fs-uuid --set=root a2cd308e-2307-4bb4-8382-b54b792b8a79
fi
linux /boot/vmlinuz-3.16.0-38-generic root=UUID=a2cd308e-2307-4bb4-8382-b54b792b8a79 ro radeon.dpm=1
initrd /boot/initrd.img-3.16.0-38-generic
}
Now open /etc/grub.d/40_custom in your text editor.
Paste your menuentry at the end of the file.
Add CONSOLE ONLY to the title line:
Like this:
Code:
menuentry 'Linux Mint 17.2 Cinnamon CONSOLE ONLY (/dev/sda2)'
You can always change the text inside the quote marks any way you like.
Then edit the line that starts with "linux"
Remove "quiet splash" if that is there. Add "text"
Like this:
Code:
linux /boot/vmlinuz-3.16.0-38-generic root=UUID=a2cd308e-2307-4bb4-8382-b54b792b8a79 ro radeon.dpm=1 text
Save and exit the text editor and update grub
Reboot to test