Bug#1051271: GRUB2 2.12~rc1-7 prevent machine to boot
Julian Andres Klode
julian.klode at canonical.com
Tue Sep 5 20:40:20 BST 2023
On Tue, Sep 05, 2023 at 08:32:39PM +0200, Agustin Martin wrote:
> On Tue, Sep 05, 2023 at 07:34:13PM +0200, Julian Andres Klode wrote:
> > On Tue, Sep 05, 2023 at 12:26:56PM -0400, M. Zhou wrote:
> > > I am able to boot with 2.12~rc1-7 now. And my currrent status is
> > >
> > > grub-common/unstable,now 2.12~rc1-7 amd64 [installed]
> > > grub-efi-amd64-bin/unstable,now 2.12~rc1-7 amd64 [installed,automatic]
> > > grub-efi-amd64-signed/unstable,now 1+2.12~rc1+7 amd64
> > > [installed,automatic]
> > > grub-efi-amd64/unstable,now 2.12~rc1-7 amd64 [installed,automatic]
> > > grub2-common/unstable,now 2.12~rc1-7 amd64 [installed,automatic]
> > >
> > > I reinstalled grub using 2.12~rc1-7.
> > > But I still cannot guarantee it is safe to upgrade.
> > >
> > >
> > > I believe the issue is the missing versioned dependency, which
> > > allowed partial upgrade.
> >
> > Thanks for confirming this, this makes sense, if you boot without
> > secure boot, the signed grub 2.06 could then try to upload
> > incompatible modules from 2.12~rc1 and crash.
>
> This may not be all the problem, I am still having problems with 2.12-rc1-7
> and most recent packages installed with my old setup (/boot/efi not
> mounted by default).
>
> If /boot/efi is not mounted I get for new versions
>
> $ LC_ALL=C sudo dpkg-reconfigure grub-efi-amd64
> Installing for x86_64-efi platform.
> grub-install: error: cannot find EFI directory.
> Failed: grub-install --target=x86_64-efi --force-extra-removable
> WARNING: Bootloader is not properly installed, system may not be bootable
> Generating grub configuration file ...
>
> (same without --force-extra-removable). No such error with previous version.
Also, that's not true. grub-install for EFI of course always
requires /boot/efi present, always has and always will*
* on Ubuntu we mount to /var/lib/grub/esp if /boot/efi is not
mounted (or you have multiple ESPs configured), but the script
isn't in Debian yet, it's a bit hacky and duplicates lots of postinst
sightly different :(
--
debian developer - deb.li/jak | jak-linux.org - free software dev
ubuntu core developer i speak de, en
More information about the Pkg-grub-devel
mailing list