# Grub.cfg has no menuentry on RL9.5 - fresh install

**URL:** <https://forums.rockylinux.org/t/grub-cfg-has-no-menuentry-on-rl9-5-fresh-install/17156>\
**Category:** Rocky Linux Help & Support\
**Created:** [January 13, 2025, 12:14am UTC](https://forums.rockylinux.org/t/grub-cfg-has-no-menuentry-on-rl9-5-fresh-install/17156 "2025-01-13T00:14:59Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![RP.RL9](https://avatars.discourse-cdn.com/v4/letter/r/6f9a4e/32.png) [@RP.RL9](https://forums.rockylinux.org/u/RP.RL9)\
**Post date:** [January 13, 2025, 12:14am UTC](https://forums.rockylinux.org/t/grub-cfg-has-no-menuentry-on-rl9-5-fresh-install/17156/1 "2025-01-13T00:14:59Z")

</div>

I did a fresh install on DL380 G9. It has one HP RAID card 880i and two NVME PCI cards (2 NVME SSDs). The OS was installed on the NVME disks as root-mirror. With UEFI boot.

Everything looks good. except grub.cfg does not has any menuentry lines. So I get some error while booting and then it immediately boots into RL9.5

Following is noted:

```auto
# grubby --info=ALL
index=0
kernel="/boot/vmlinuz-5.14.0-503.14.1.el9_5.x86_64"
args="ro crashkernel=1G-4G:192M,4G-64G:256M,64G-:512M resume=UUID=xx-xx-xx-aec7-xx rd.md.uuid=xx:xx:xx:xx rd.md.uuid=xx:xx:xx:xx rd.md.uuid=xx:xx:xxx:xx rhgb quiet"
root="UUID=xx-xx-44da-ac50-xx"
initrd="/boot/initramfs-5.14.0-503.14.1.el9_5.x86_64.img $tuned_initrd"
title="Rocky Linux (5.14.0-503.14.1.el9_5.x86_64) 9.5 (Blue Onyx)"
id="xx-5.14.0-503.14.1.el9_5.x86_64"
index=1
kernel="/boot/vmlinuz-0-rescue-xx"
args="ro crashkernel=1G-4G:192M,4G-64G:256M,64G-:512M resume=UUID=xx-xx-xx-aec7-xx rd.md.uuid=xx:xx:xx:xx rd.md.uuid=xx:xx:xx:xx rd.md.uuid=xx:xx:xx:xx rhgb quiet"
root="UUID=xx-xx-44da-ac50-xx"
initrd="/boot/initramfs-0-rescue-xx.img"
title="Rocky Linux (0-rescue-xx) 9.5 (Blue Onyx)"
id="xx-0-rescue"

```

But no entry here:…

```auto
# grep menuentry /boot/grub2/grub.cfg 
if [x"${feature_menuentry_id}" = xy]; then
  menuentry_id_option="--id"
  menuentry_id_option=""
export menuentry_id_option
	menuentry 'UEFI Firmware Settings' $menuentry_id_option 'uefi-firmware' {

```

devices look like this:

```auto
# lsblk
NAME MAJ:MIN RM SIZE RO TYPE MOUNTPOINTS
sda 8:0 0 8.2T 0 disk  
sdb 8:16 0 2.7T 0 disk  
└─sdb1 8:17 0 2.6T 0 part  
sdc 8:32 0 2.7T 0 disk  
sdd 8:48 0 2.7T 0 disk  
sde 8:64 1 14.9G 0 disk  
└─sde1 8:65 1 14.9G 0 part  
nvme1n1 259:0 0 476.9G 0 disk  
├─nvme1n1p1 259:1 0 128.1G 0 part  
│ └─md126 9:126 0 128G 0 raid1 [SWAP]
├─nvme1n1p2 259:2 0 100.1G 0 part  
│ └─md124 9:124 0 100G 0 raid1 /var
├─nvme1n1p3 259:3 0 1G 0 part  
│ └─md125 9:125 0 1023M 0 raid1 /boot
├─nvme1n1p4 259:4 0 601M 0 part  
│ └─md123 9:123 0 600.9M 0 raid1 /boot/efi
└─nvme1n1p5 259:5 0 150.1G 0 part  
  └─md127 9:127 0 150G 0 raid1 /
nvme0n1 259:6 0 476.9G 0 disk  
├─nvme0n1p1 259:7 0 128.1G 0 part  
│ └─md126 9:126 0 128G 0 raid1 [SWAP]
├─nvme0n1p2 259:8 0 100.1G 0 part  
│ └─md124 9:124 0 100G 0 raid1 /var
├─nvme0n1p3 259:9 0 1G 0 part  
│ └─md125 9:125 0 1023M 0 raid1 /boot
├─nvme0n1p4 259:10 0 601M 0 part  
│ └─md123 9:123 0 600.9M 0 raid1 /boot/efi
└─nvme0n1p5 259:11 0 150.1G 0 part  
  └─md127 9:127 0 150G 0 raid1 /

```

/boot listing:

```auto
# ls -ltr /boot
total 258332
drwx------. 3 root root 4096 Jan 1 1970 efi
-rw-------. 1 root root 8876141 Nov 15 12:17 System.map-5.14.0-503.14.1.el9_5.x86_64
-rwxr-xr-x. 1 root root 14457672 Nov 15 12:17 vmlinuz-5.14.0-503.14.1.el9_5.x86_64
-rw-r--r--. 1 root root 226284 Nov 15 12:17 config-5.14.0-503.14.1.el9_5.x86_64
drwx------. 2 root root 16384 Jan 12 22:18 lost+found
drwxr-xr-x. 3 root root 4096 Jan 12 22:25 loader
lrwxrwxrwx. 1 root root 52 Jan 12 22:26 symvers-5.14.0-503.14.1.el9_5.x86_64.gz -> /lib/modules/5.14.0-503.14.1.el9_5.x86_64/symvers.gz
-rwxr-xr-x. 1 root root 14457672 Jan 12 22:27 vmlinuz-0-rescue-xxxxx
-rw-------. 1 root root 159193682 Jan 12 22:28 initramfs-0-rescue-xxxxx.img
drwx------. 3 root root 4096 Jan 12 22:31 grub2
-rw-------. 1 root root 35301772 Jan 12 22:32 initramfs-5.14.0-503.14.1.el9_5.x86_64.img
-rw-------. 1 root root 31976448 Jan 12 22:37 initramfs-5.14.0-503.14.1.el9_5.x86_64kdump.img

```

…more…:

```auto
# cd /boot/grub2/
# ls -ltr
total 16
drwx------. 2 root root 4096 Jan 12 22:25 fonts
-rw-r--r--. 1 root root 1024 Jan 12 22:30 grubenv
-rw-------. 1 root root 7268 Jan 12 22:31 grub.cfg
#
# cat grubenv 
# GRUB Environment Block
# WARNING: Do not edit this file by tools other than grub-editenv!!!
saved_entry=xxxxxxx-5.14.0-503.14.1.el9_5.x86_64
menu_auto_hide=1
boot_success=1
########################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################[root@server]#

```

```auto
# cat /etc/default/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_CMDLINE_LINUX="crashkernel=1G-4G:192M,4G-64G:256M,64G-:512M resume=UUID=xx-xx-xx-xx-xx rd.md.uuid=xx:xx:xx:xx rd.md.uuid=xx:xx:xx:xx rd.md.uuid=xx:xx:xx:xx rhgb quiet"
GRUB_DISABLE_RECOVERY="true"
GRUB_ENABLE_BLSCFG=true

```

this link [grub\_issue](https://forums.rockylinux.org/t/grub2-mkconfig-rl9-3-fresh-install-bug/12118/9) does not address my issue.

Please advice how can I fix my grub.cfg (grubd2-mkconfig runs but makes no change.)

Thank you.

Raj

---

<div class="post-metadata">

**Author:** ![label](https://avatars.discourse-cdn.com/v4/letter/l/c5a1d2/32.png) [@label](https://forums.rockylinux.org/u/label)\
**Post date:** [January 13, 2025, 12:36am UTC](https://forums.rockylinux.org/t/grub-cfg-has-no-menuentry-on-rl9-5-fresh-install/17156/2 "2025-01-13T00:36:50Z")

</div>

> [@RP.RL9](#):
>
> So I get some error while booting and then it immediately boots into RL9.5

What’s the issue you’re seeing?

> [@RP.RL9](#):
>
> But no entry here:…

The grub.cfg won’t contain your boot entries. You can find them in `/boot/loader/entries`. What’s the exact issue you’re having?

---

<div class="post-metadata">

**Author:** ![RP.RL9](https://avatars.discourse-cdn.com/v4/letter/r/6f9a4e/32.png) [@RP.RL9](https://forums.rockylinux.org/u/RP.RL9)\
**Post date:** [January 13, 2025, 12:57am UTC](https://forums.rockylinux.org/t/grub-cfg-has-no-menuentry-on-rl9-5-fresh-install/17156/3 "2025-01-13T00:57:56Z")

</div>

Hello Nazunalika,

It runs very fast so I do not see the err it spits on screen.

since I post my message I made then menu appear by changing this setting:

`# grub2-editenv - unset menu_auto_hide`

I see the menu now and it just stay for 5 seconds. I would like to make it 10 or more…

So is this the new standard? I was thinking entries will appear as “ **menuentry** ” in grub.cfg. (That was/is my main issue in this thread.)

Is this the norm from 9.5 onwards?? I did find the entries at /boot/loader/entries/

Thank you.

---

<div class="post-metadata">

**Author:** ![jlehtone](https://avatars.discourse-cdn.com/v4/letter/j/e9a140/32.png) [@jlehtone](https://forums.rockylinux.org/u/jlehtone)\
**Post date:** [January 13, 2025, 9:57am UTC](https://forums.rockylinux.org/t/grub-cfg-has-no-menuentry-on-rl9-5-fresh-install/17156/4 "2025-01-13T09:57:37Z")

</div>

> [@RP.RL9](#):
>
> So is this the new standard? I was thinking entries will appear as “ **menuentry** ” in grub.cfg. (That was/is my main issue in this thread.)
> 
> Is this the norm from 9.5 onwards?? I did find the entries at /boot/loader/entries/

_No_. The use of _BLS_ (BootLoader Specification) has been the default since el8, so it is not new to 9.5 and not even to 9.0.

* * *

Since 9.3 the grub2-mkconfig command to recreate grub.cfg and touch the BLS entries has been:

```auto
grub2-mkconfig --update-bls-cmdline -o /boot/grub2/grub.cfg

```

> [@RP.RL9](#):
>
> I see the menu now and it just stay for 5 seconds. I would like to make it 10 or more

Modify `GRUB_TIMEOUT` in `/etc/default/grub` and run the grub2-mkconfig.

* * *

Your _observable issue_ was that you did not see the _GRUB menu_ during boot.  
That is resolved by removal of the `menu_auto_hide` (which is default).

The issue was not that you had no menu entries. You had them and could boot – just did not see them.

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/flex020/uploads/rockylinux/original/1X/91b7219eec10e30013422e4df76c1d898711a5d5.svg) [@system](https://forums.rockylinux.org/u/system)\
**Post date:** [March 14, 2025, 9:58am UTC](https://forums.rockylinux.org/t/grub-cfg-has-no-menuentry-on-rl9-5-fresh-install/17156/5 "2025-03-14T09:58:07Z")

</div>

This topic was automatically closed 60 days after the last reply. New replies are no longer allowed.
