> Try adding below lines on top of your grub.cfg:
Are you talking about this file: /etc/default/grub ?
This is what I have on my Fedora 26 VM (CLI transcript follows):
[root@localhost grub.d]# cd /etc/default
[root@localhost default]# ls -al
total 28
drwxr-xr-x. 2 root root 4096 Jun 7 06:24 .
drwxr-xr-x. 160 root root 12288 Jun 7 23:52 ..
-rw-rw-r--. 1 root root 262 May 14 19:54 grub
-rw-r--r--. 1 root root 1756 Jun 5 16:10 nss
-rw-r--r--. 1 root root 119 Feb 12 01:42 useradd
[root@localhost default]# cat grub
GRUB_TIMEOUT=5
GRUB_DISTRIBUTOR="$(sed 's, release .*$,,g' /etc/system-release)"
GRUB_DEFAULT=saved
GRUB_DISABLE_SUBMENU=true
GRUB_TERMINAL_OUTPUT="console"
GRUB_DISABLE_RECOVERY="true"
[root@localhost default]# pwd
/etc/default
In such a case, which is, I think, one Politically Correct, the following must be done:
[1] Whenever I modify /etc/defualt/grub, I run grub2-mkconfig -o /boot/grub2/grub.cfg ;
[2] Rebuild Coreboot!
Hello Dhanasekar,
What is the content of your /etc/default/grub ?
Should be the following (or similar):
GRUB_TIMEOUT=5
GRUB_DISTRIBUTOR="$(sed 's, release .*$,,g' /etc/system-release)"
GRUB_DEFAULT=saved
GRUB_TERMINAL="serial"
GRUB_SERIAL_COMMAND="serial --speed=115200 --unit=1 --word=8 --parity=no --stop=1"
GRUB_TERMINAL_INPUT="serial"
GRUB_TERMINAL_OUTPUT="serial"
GRUB_DISABLE_RECOVERY="true"
Zoran