Select Your Language

Infrastructure and Management

Cloud Computing

Storage

Runtimes

Integration and Automation

  • Comments
  • grub2-editenv: error: environment block too small Error

    Posted on

    showing error while installing new kernel
    ERROR "grub2-editenv: error: environment block too small"

    [root@dl740 ~]# uname -r
    3.10.0-862.el7.x86_64

    [root@dl740 ~]# rpm -q kernel
    kernel-3.10.0-957.12.1.el7.x86_64

    [root@dl740 ~]# yum reinstall kernel-3.10.0-957.12.1.el7.x86_64
    Loaded plugins: langpacks, product-id, search-disabled-repos, subscription-
    : manager
    AutoLab | 4.3 kB 00:00:00
    rhel-7-server-rpms | 3.5 kB 00:00:00
    Resolving Dependencies
    --> Running transaction check
    ---> Package kernel.x86_64 0:3.10.0-957.12.1.el7 will be installed
    --> Finished Dependency Resolution

    Dependencies Resolved

    =============================================================================================================================================================

    Package Arch Version Repository Size

    Reinstalling:
    kernel x86_64 3.10.0-957.12.1.el7 rhel-7-server-rpms 48 M

    Transaction Summary

    Reinstall 1 Package

    Total download size: 48 M
    Installed size: 63 M
    Is this ok [y/d/N]: y
    Downloading packages:
    Delta RPMs disabled because /usr/bin/applydeltarpm not installed.
    kernel-3.10.0-957.12.1.el7.x86_64.rpm | 48 MB 00:00:10
    Running transaction check
    Running transaction test
    Transaction test succeeded
    Running transaction
    Installing : kernel-3.10.0-957.12.1.el7.x86_64 1/1
    grub2-editenv: error: environment block too small.
    grub2-editenv: error: environment block too small.
    Verifying : kernel-3.10.0-957.12.1.el7.x86_64 1/1

    Installed:
    kernel.x86_64 0:3.10.0-957.12.1.el7

    Complete!

    Even after rebooting the machine grub not showing new kernel entry.

    by

    points

    Responses

    Red Hat LinkedIn YouTube Facebook X, formerly Twitter

    Quick Links

    Help

    Site Info

    Related Sites

    © 2026 Red Hat