All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH v2 0/2] Fix installation issues on ppc64le
@ 2022-08-29 14:36 Ismael Luceno
  2022-08-29 14:36 ` [PATCH v2 1/2] grub-install: Add missing points of no return for IEEE1275 on i386/powerpc Ismael Luceno
  2022-08-29 14:36 ` [PATCH v2 2/2] grub-install: Ensure a functional /dev/nvram Ismael Luceno
  0 siblings, 2 replies; 5+ messages in thread
From: Ismael Luceno @ 2022-08-29 14:36 UTC (permalink / raw)
  To: grub-devel; +Cc: Ismael Luceno

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


^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2022-09-05 10:04 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2022-08-29 14:36 [PATCH v2 0/2] Fix installation issues on ppc64le Ismael Luceno
2022-08-29 14:36 ` [PATCH v2 1/2] grub-install: Add missing points of no return for IEEE1275 on i386/powerpc Ismael Luceno
2022-09-05  9:56   ` Michael Chang
2022-08-29 14:36 ` [PATCH v2 2/2] grub-install: Ensure a functional /dev/nvram Ismael Luceno
2022-09-05 10:04   ` Michael Chang

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.