grub-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[PATCH v2 0/2] Fix installation issues on ppc64le


From: Ismael Luceno
Subject: [PATCH v2 0/2] Fix installation issues on ppc64le
Date: Mon, 29 Aug 2022 16:36:23 +0200

If the nvram device is non-functional, e.g. because the nvram module isn't
loaded and it's file been removed from the filesystem, thus can't be
loaded, the installation will be attempted but the system will be left in
an unbootable state.

The boot process shows:

    Welcome to GRUB!

    error: ../../grub-core/kern/dl.c:380:symbol `grub_disk_get_size' not found.
    Entering rescue mode...
    grub rescue>

The patches in this series introduce a couple of points of no return
before updating the nvram, and make sure /dev/nvram is functional or
fail early.

Ismael Luceno (2):
  grub-install: Add missing points of no return for IEEE1275 on
    i386/powerpc
  grub-install: Ensure a functional /dev/nvram

 util/grub-install.c | 25 +++++++++++++++++++++++++
 1 file changed, 25 insertions(+)

-- 
2.37.1



reply via email to

[Prev in Thread] Current Thread [Next in Thread]