• Re: Bug#1052545: os-prober in initramfs gets repeatedly disabled

    From Andrew M.A. Cater@21:1/5 to Eduard Bloch on Sun Sep 24 17:30:01 2023
    On Sun, Sep 24, 2023 at 01:39:07PM +0200, Eduard Bloch wrote:
    Package: os-prober
    Version: 1.81
    Severity: normal

    Something happened in the last months. Whenever I upgrade, it seems like
    the os-prober part is disabled. This is just PITA. I can use the usual:

    dpkg-reconfigure -plow grub-efi-amd64

    ... to turn it back on, and after an upgrade it's lost again. WHY?

    Now I started seeing messages after installing a new kernel package:


    I think this changed with ?? debian 12.1 ?? due to a change in upstream
    Grub - it's no longer enabled by default.

    Check in /etc/default/grub - there's a line which has been commented out
    saying

    #GRUB_DISABLE_OS_PROBER=false

    Change that and reboot, perhaps? As ever, the change is noted in the
    release notes, I think.

    All the best,

    Andy

    Warning: os-prober will not be executed to detect other bootable partitions. Systems on them will not be added to the GRUB boot configuration.
    Check GRUB_DISABLE_OS_PROBER documentation entry.
    Adding boot menu entry for UEFI Firmware Settings ...

    Sorry, dear maintainer, WHAT DOES THAT MEAN? Which documentation? From
    which package? Why does this reset my settings?

    Best regards,
    Eduard.


    -- System Information:
    Debian Release: trixie/sid
    APT prefers unstable-debug
    APT policy: (500, 'unstable-debug'), (500, 'oldoldstable'), (500, 'unstable'), (500, 'testing'), (1, 'experimental-debug'), (1, 'experimental')
    Architecture: amd64 (x86_64)
    Foreign Architectures: i386

    Kernel: Linux 6.5.0 (SMP w/16 CPU threads; PREEMPT)
    Locale: LANG=de_DE.UTF-8, LC_CTYPE=de_DE.UTF-8 (charmap=UTF-8), LANGUAGE not set
    Shell: /bin/sh linked to /usr/bin/dash
    Init: systemd (via /run/systemd/system)
    LSM: AppArmor: enabled

    Versions of packages os-prober depends on:
    ii grub-common 2.12~rc1-10
    ii libc6 2.37-10
    ii mount 2.39.2-1

    os-prober recommends no packages.

    os-prober suggests no packages.

    -- no debconf information

    --
    * falky kann die Frauen einfach nicht verstehen
    <weasel> Die Frau, das unbekannte Wesen.
    <towo> To boldy come where no man has come before?


    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Peter Ehlert@21:1/5 to Andrew M.A. Cater on Sun Sep 24 18:20:01 2023
    On 9/24/23 08:27, Andrew M.A. Cater wrote:
    On Sun, Sep 24, 2023 at 01:39:07PM +0200, Eduard Bloch wrote:
    Package: os-prober
    Version: 1.81
    Severity: normal

    Something happened in the last months. Whenever I upgrade, it seems like
    the os-prober part is disabled. This is just PITA. I can use the usual:

    dpkg-reconfigure -plow grub-efi-amd64

    ... to turn it back on, and after an upgrade it's lost again. WHY?

    Now I started seeing messages after installing a new kernel package:

    I think this changed with ?? debian 12.1 ?? due to a change in upstream
    Grub - it's no longer enabled by default.

    Check in /etc/default/grub - there's a line which has been commented out saying

    #GRUB_DISABLE_OS_PROBER=false

    Change that and reboot, perhaps? As ever, the change is noted in the
    release notes, I think.
    I believe you need to also run update-grub

    All the best,

    Andy

    Warning: os-prober will not be executed to detect other bootable partitions. >> Systems on them will not be added to the GRUB boot configuration.
    Check GRUB_DISABLE_OS_PROBER documentation entry.
    Adding boot menu entry for UEFI Firmware Settings ...

    Sorry, dear maintainer, WHAT DOES THAT MEAN? Which documentation? From
    which package? Why does this reset my settings?

    Best regards,
    Eduard.


    -- System Information:
    Debian Release: trixie/sid
    APT prefers unstable-debug
    APT policy: (500, 'unstable-debug'), (500, 'oldoldstable'), (500, 'unstable'), (500, 'testing'), (1, 'experimental-debug'), (1, 'experimental')
    Architecture: amd64 (x86_64)
    Foreign Architectures: i386

    Kernel: Linux 6.5.0 (SMP w/16 CPU threads; PREEMPT)
    Locale: LANG=de_DE.UTF-8, LC_CTYPE=de_DE.UTF-8 (charmap=UTF-8), LANGUAGE not set
    Shell: /bin/sh linked to /usr/bin/dash
    Init: systemd (via /run/systemd/system)
    LSM: AppArmor: enabled

    Versions of packages os-prober depends on:
    ii grub-common 2.12~rc1-10
    ii libc6 2.37-10
    ii mount 2.39.2-1

    os-prober recommends no packages.

    os-prober suggests no packages.

    -- no debconf information

    --
    * falky kann die Frauen einfach nicht verstehen
    <weasel> Die Frau, das unbekannte Wesen.
    <towo> To boldy come where no man has come before?



    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)