Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.debian.kernel > #88128

Bug#1108089: grub-efi-amd64, linux-image-amd64: system fails to boot because grub config not updated after latest kernel upgrade

From Bastian Blank <waldi@debian.org>
Newsgroups linux.debian.bugs.dist, linux.debian.kernel
Subject Bug#1108089: grub-efi-amd64, linux-image-amd64: system fails to boot because grub config not updated after latest kernel upgrade
Date 2025-06-24 23:40 +0200
Message-ID <L1jwZ-cU4A-1@gated-at.bofh.it> (permalink)
References (5 earlier) <L03ND-c6Pm-3@gated-at.bofh.it> <L0533-c7xu-1@gated-at.bofh.it> <L0vJT-coCE-1@gated-at.bofh.it> <KZJvz-bTDX-1@gated-at.bofh.it> <L0vJT-coCE-1@gated-at.bofh.it>
Organization linux.* mail to news gateway

Cross-posted to 2 groups.

Show all headers | View raw


On Sun, Jun 22, 2025 at 05:25:07PM +0100, Sean Whitton wrote:
> > - dpkg -s grub2-common
>  /etc/kernel/postinst.d/zz-update-grub 5a98abefbfe97dbed36db7899251e433
>  /etc/kernel/postrm.d/zz-update-grub 5a98abefbfe97dbed36db7899251e433

So at least you now have the correct files.

> > - ls -alR /etc
> Hmm, that feels like something of a privacy breach.
> Could you narrow it down?

This was more fishing for possibly other lost conffiles, aka
"*.dpkg-dist", or other weird stuff.

> > - grep -r /etc/kernel /var/lib/dpkg/info

So there seems to be nothing else installed that could remove those
files as part of maintainer scripts at least.

> > - zgrep /etc/kernel /var/log/apt/*
> This did not produce any useful output:

But this shows that those two scripts where missing for a long time, as
they don't show up in the run-parts output.  With the default logrotate
config for term.log (rotate monthly and keep 12) this means it is broken
since a year.

So all the calls of "update-grub" from the linux maintainer scripts have
been missing.  But something still created new grub configs or you
would've never booted 6.12.31.  So either there is something else on
this system that creates grub configs or someone did it by hand.

You could try and see if logs contain traces of "update-grub":

- grep "Found linux image" -B 10 /var/log/ -r
- journalctl --since=2025-04-01 -g 'Found linux image'

Bastian

-- 
You're dead, Jim.
		-- McCoy, "The Tholian Web", stardate unknown

Back to linux.debian.kernel | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread


Thread

Bug#1108089: grub-efi-amd64,linux-image-amd64: system fails to boot because grub config not updated after latest kernel upgrade Sean Whitton <spwhitton@spwhitton.name> - 2025-06-20 15:00 +0200
  Bug#1108089: grub-efi-amd64, linux-image-amd64: system fails to boot because grub config not updated after latest kernel upgrade Felix Zielcke <fzielcke@z-51.de> - 2025-06-20 15:30 +0200
    Bug#1108089: grub-efi-amd64, linux-image-amd64: system fails to boot because grub config not updated after latest kernel upgrade Sean Whitton <spwhitton@spwhitton.name> - 2025-06-20 16:40 +0200
      Bug#1108089: grub-efi-amd64, linux-image-amd64: system fails to boot because grub config not updated after latest kernel upgrade Felix Zielcke <fzielcke@z-51.de> - 2025-06-20 18:10 +0200
        Bug#1108089: grub-efi-amd64, linux-image-amd64: system fails to boot because grub config not updated after latest kernel upgrade Colin Watson <cjwatson@debian.org> - 2025-06-20 18:20 +0200
        Bug#1108089: grub-efi-amd64, linux-image-amd64: system fails to boot because grub config not updated after latest kernel upgrade Sean Whitton <spwhitton@spwhitton.name> - 2025-06-21 12:40 +0200
        Bug#1108089: grub-efi-amd64, linux-image-amd64: system fails to boot because grub config not updated after latest kernel upgrade Sean Whitton <spwhitton@spwhitton.name> - 2025-06-21 12:40 +0200
          Bug#1108089: grub-efi-amd64, linux-image-amd64: system fails to boot because grub config not updated after latest kernel upgrade Bastian Blank <waldi@debian.org> - 2025-06-21 14:00 +0200
            Bug#1108089: grub-efi-amd64, linux-image-amd64: system fails to boot because grub config not updated after latest kernel upgrade Sean Whitton <spwhitton@spwhitton.name> - 2025-06-22 18:30 +0200
              Bug#1108089: grub-efi-amd64, linux-image-amd64: system fails to boot because grub config not updated after latest kernel upgrade Bastian Blank <waldi@debian.org> - 2025-06-24 23:40 +0200
                Bug#1108089: grub-efi-amd64, linux-image-amd64: system fails to boot because grub config not updated after latest kernel upgrade Sean Whitton <spwhitton@spwhitton.name> - 2025-06-25 12:00 +0200
  Bug#1108089: marked as done (grub-efi-amd64,linux-image-amd64:  system fails to boot because grub config not updated after latest kernel  upgrade) "Debian Bug Tracking System" <owner@bugs.debian.org> - 2025-06-21 12:10 +0200
  Processed: Re: Bug#1108089: grub-efi-amd64, linux-image-amd64:  system fails to boot because grub config not updated after latest kernel  upgrade "Debian Bug Tracking System" <owner@bugs.debian.org> - 2025-06-21 12:40 +0200
  Bug#1108089: marked as done (grub-efi-amd64,linux-image-amd64:  system fails to boot because grub config not updated after latest kernel  upgrade) "Debian Bug Tracking System" <owner@bugs.debian.org> - 2025-06-21 12:50 +0200

csiph-web