Translated message

A translation of this page exists in English.

rear recover 後に /boot/grub2/grubenv が見つからない

Solution In Progress - Updated -

Issue

  • rear recover 後に /boot/grub2/grubenv が見つかりません。
  • /boot/grub2/grubenv がなくてもシステムは起動できますが、次のエラーメッセージが頻繁に出力されます。
systemd[118744]: Starting Mark boot as successful...
grub2-set-bootflag[119441]: Error canonicalizing /boot/grub2/grubenv filename: No such file or directory
systemd[118744]: grub-boot-success.service: Main process exited, code=exited, status=1/FAILURE
systemd[118744]: grub-boot-success.service: Failed with result 'exit-code'.
systemd[118744]: Failed to start Mark boot as successful.
  • RHEL 8 に新しいカーネルをインストールしても、/boot/efi/EFI/redhat/grubenv が更新されないため、システムは常にデフォルトで古いカーネルで起動します。grubby --default-kernel で新しいカーネルがデフォルトであると表示されても、古いカーネルで起動します。
  • ReaR 2.4 ではこの問題は発生しません。

Environment

  • Red Hat Enterprise Linux 8
  • Red Hat Enterprise Linux 9
  • Red Hat Enterprise Linux 10
  • ReaR 2.6 以降
  • SELinux が無効
  • UEFI

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content