Select Your Language

Infrastructure and Management

Cloud Computing

Storage

Runtimes

Integration and Automation

  • Comments
  • Missing menu entry from within grub config file

    Posted on

    I am running

    grubby
    as below to find out the
    title
    and other details

        [root@myhost ~]# grubby --info DEFAULT
        index=0
        kernel="/boot/vmlinuz-4.18.0-240.10.1.el8_3.x86_64"
        args="ro resume=UUID=3b7080dd-b9a8-42be-90da-51f56d4c96c0 rhgb quiet $tuned_params"
        root="UUID=7129311a-01f4-48ac-8d3a-150ce38b760c"
        initrd="/boot/initramfs-4.18.0-240.10.1.el8_3.x86_64.img $tuned_initrd"
        title="Red Hat Enterprise Linux (4.18.0-240.10.1.el8_3.x86_64) 8.3 (Ootpa)"
        id="80a468213f0d477095b959eae787-4.18.0-240.10.1.el8_3.x86_64"
    

    However, when I grep on the menu entries within grub configuration, I don't see an entry with

    title
    and other details.
    Why
    menu entries
    are missing from the grub configuration file?

        [root@myhost ~]# grep menu /boot/grub2/grub.cfg
        if [ x"${feature_menuentry_id}" = xy ]; then
          menuentry_id_option="--id"
          menuentry_id_option=""
        export menuentry_id_option
          set timeout_style=menu
        ### BEGIN /etc/grub.d/01_menu_auto_hide ###
        # Avoid boot_indeterminate causing the menu to be hidden more then once
          if [ "${menu_show_once}" ]; then
            unset menu_show_once
            save_env menu_show_once
            set timeout_style=menu
          elif [ "${menu_auto_hide}" -a "${last_boot_ok}" = "1" ]; then
              # timeout_style=menu + timeout=0 avoids the countdown code keypress check
              set timeout_style=menu
        ### END /etc/grub.d/01_menu_auto_hide ###
        # populates the boot menu. Please refer to the Boot Loader Specification documentation
        # This file provides an easy way to add custom menu entries.  Simply type the
        # menu entries you want to add after this comment.  Be careful not to change
    

    by

    points

    Responses

    Red Hat

    Quick Links

    Help

    Site Info

    Related Sites

    © 2025 Red Hat, Inc.