I have on some CentOS 7 installations /boot/grub2/grub2.cfg menuentry like this:
Code: Select all
# awk -F\' '$1=="menuentry " {print i++ " : " $2}' /etc/grub2.cfg
0 : CentOS Linux (3.10.0-514.6.1.el7.x86_64) 7 (Core)
1 : CentOS Linux (3.10.0-514.6.1.el7.x86_64) 7 (Core) with debugging
2 : CentOS Linux (3.10.0-514.2.2.el7.x86_64) 7 (Core)
3 : CentOS Linux (3.10.0-514.2.2.el7.x86_64) 7 (Core) with debugging
4 : CentOS Linux (3.10.0-327.36.3.el7.x86_64) 7 (Core) with debugging
5 : CentOS Linux (3.10.0-327.36.3.el7.x86_64) 7 (Core)
6 : CentOS Linux 7 (Core), with Linux 0-rescue-ee97a4ebc3874248953d6b0df376e91f
Thank you!