grub-devel
[Top][All Lists]
Advanced

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

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


From: Ismael Luceno
Subject: [PATCH v3 0/2] Fix installation issues on ppc64le
Date: Mon, 5 Sep 2022 14:39:45 +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>

Introduce a point of no return after embedding grub in the PReP
partition, and make sure /dev/nvram is functional or fail early.

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

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

Changes since v2:
* Removed point of no return for i386
* Check for update_nvram before opening /dev/nvarm
Changes since v1:
* Check /dev/nvram early
* Removed loading of the nvram module
* Added points of no return

-- 
2.37.3




reply via email to

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