• Re: os-prober issue. Not find all distributions on multi boot SSD

    From Rolf Reintjes@21:1/5 to All on Fri Feb 14 21:30:01 2025
    Am 14.02.25 um 20:43 schrieb Matej Marko:
    Hello,
    I have actually on SSD SATA installed these distributions: Linux Mint,
    Ubuntu Desktop, Kubuntu, Lubuntu, KDE neon, Fyde OS. All actuall version. Screenshots are from KDE neon.

    There is no debian in the list of this distributions. This mailing list
    is for debian.

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Holger Wansing@21:1/5 to Matej Marko on Fri Feb 14 21:20:01 2025
    Hi,

    Matej Marko <ekonom1@atlas.sk> wrote (Fri, 14 Feb 2025 20:43:56 +0100):
    Hello,
    I have actually on SSD SATA installed these distributions: Linux Mint, Ubuntu Desktop, Kubuntu, Lubuntu, KDE neon, Fyde OS. All actuall version.
    Screenshots are from KDE neon.
    Command sudo update-grub not work correct for me. It finds only Ubuntu Desktop, no other distributions.
    All screenshots are here
    https://imgur.com/a/crvLj26 <https://imgur.com/a/crvLj26>
    I tried unsuccessfully add Lubuntu on sda5 partition to GRUB. You can see it on one screenshot.
    These guides not helped me too.
    https://www.umutsagir.com/solution-to-os-prober-not-finding-other-operating-systems-windows-linux/ <https://www.umutsagir.com/solution-to-os-prober-not-finding-other-operating-systems-windows-linux/>
    https://www.omgubuntu.co.uk/2021/12/grub-doesnt-detect-windows-linux-distros-fix <https://www.omgubuntu.co.uk/2021/12/grub-doesnt-detect-windows-linux-distros-fix>
     
    Dear developers. Can you please repair?

    Was Debian installed on this system? (not clear from the above list)
    If yes, which version exactly? (Debian 12 Bookworm, Debian testing, unstable ...)
    If not, why is this relevant for this Debian mailinglist?


    Holger


    --
    Holger Wansing <hwansing@mailbox.org>
    PGP-Fingerprint: 496A C6E8 1442 4B34 8508 3529 59F1 87CA 156E B076

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Rolf Reintjes@21:1/5 to All on Fri Feb 14 22:10:02 2025
    Am 14.02.25 um 20:43 schrieb Matej Marko:
    Hello,
    I have actually on SSD SATA installed these distributions: Linux Mint,
    Ubuntu Desktop, Kubuntu, Lubuntu, KDE neon, Fyde OS. All actuall version. Screenshots are from KDE neon.
    Command sudo update-grub not work correct for me. It finds only Ubuntu Desktop, no other distributions.

    All screenshots are here
    https://imgur.com/a/crvLj26 <https://imgur.com/a/crvLj26>

    The last distribution you have installed has done grub-install. So sudo update-grub within this distribution will work.

    All sudo update-grub from the other distribution will not have any
    impact on the grub menue.

    So I suppose the last installed distribution does not find the other ones.

    What I would do if I were in this situation: run rescue from Ubuntu and
    do a chroot to get in Ubuntu. Then run grub-install and see if the other distribution were found.

    But the problem remains if that works: Only update-grub from last
    distribution which did grub-install will have impact. So if you get a
    new kernel from updates of one of the other distribution this change
    will not get in the grub menue.

    I do not know if there is a clean solution for this problem.

    My solution for this situation was to have one disk for only one
    distribution and having several USB-HDDs to run several different distributions.

    Rolf

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Pascal Hambourg@21:1/5 to Holger Wansing on Fri Feb 14 23:10:01 2025
    On 14/02/2025 at 21:18, Holger Wansing wrote:
    Matej Marko <ekonom1@atlas.sk> wrote (Fri, 14 Feb 2025 20:43:56 +0100):
    Hello,
    I have actually on SSD SATA installed these distributions: Linux Mint, Ubuntu Desktop, Kubuntu, Lubuntu, KDE neon, Fyde OS. All actuall version.
    Screenshots are from KDE neon.
    Command sudo update-grub not work correct for me. It finds only Ubuntu Desktop, no other distributions.
    All screenshots are here
    https://imgur.com/a/crvLj26 <https://imgur.com/a/crvLj26>

    Can you describe the root/boot layout of each of these systems ?
    The "Disks" screenshot shows that /dev/sda2 to /dev/sda6 have btrfs filesystems. I suspect that os-prober does not work well if the root
    filesystem is on a btrfs subvolume. See https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=983107 for example.

    Was Debian installed on this system? (not clear from the above list)
    If yes, which version exactly? (Debian 12 Bookworm, Debian testing, unstable ...)
    If not, why is this relevant for this Debian mailinglist?

    Isn't the Debian installer team the upstream for os-prober ?

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Holger Wansing@21:1/5 to Pascal Hambourg on Fri Feb 14 23:20:01 2025
    Hi,

    Pascal Hambourg <pascal@plouf.fr.eu.org> wrote (Fri, 14 Feb 2025 23:01:31 +0100):
    Was Debian installed on this system? (not clear from the above list)
    If yes, which version exactly? (Debian 12 Bookworm, Debian testing, unstable ...)
    If not, why is this relevant for this Debian mailinglist?

    Isn't the Debian installer team the upstream for os-prober ?

    Hmm, I was not really aware of this ...


    Holger

    --
    Holger Wansing <hwansing@mailbox.org>
    PGP-Fingerprint: 496A C6E8 1442 4B34 8508 3529 59F1 87CA 156E B076

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Peter Ehlert@21:1/5 to rolf.reintjes@web.de on Fri Feb 14 23:20:01 2025
    This is a multi-part message in MIME format.
    First things first

    Debian Wiki - Grub:
    apt-get install os-prober

    Then edit /etc/default/grub and make sure you have a line like

    GRUB_DISABLE_OS_PROBER=false

    Finally run update-grub2

    On February 14, 2025 1:00:19 PM Rolf Reintjes <rolf.reintjes@web.de> wrote:

    Am 14.02.25 um 20:43 schrieb Matej Marko:
    Hello,
    I have actually on SSD SATA installed these distributions: Linux Mint,
    Ubuntu Desktop, Kubuntu, Lubuntu, KDE neon, Fyde OS. All actuall version.
    Screenshots are from KDE neon.
    Command sudo update-grub not work correct for me. It finds only Ubuntu
    Desktop, no other distributions.

    All screenshots are here
    https://imgur.com/a/crvLj26 <https://imgur.com/a/crvLj26>

    The last distribution you have installed has done grub-install. So sudo update-grub within this distribution will work.

    All sudo update-grub from the other distribution will not have any
    impact on the grub menue.

    So I suppose the last installed distribution does not find the other ones.

    What I would do if I were in this situation: run rescue from Ubuntu and
    do a chroot to get in Ubuntu. Then run grub-install and see if the other distribution were found.

    But the problem remains if that works: Only update-grub from last distribution which did grub-install will have impact. So if you get a
    new kernel from updates of one of the other distribution this change
    will not get in the grub menue.

    I do not know if there is a clean solution for this problem.

    My solution for this situation was to have one disk for only one
    distribution and having several USB-HDDs to run several different distributions.

    Rolf


    <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
    <html>
    <body>
    <div dir="auto">
    <div dir="auto">First things first&nbsp;</div><div dir="auto"><br></div><div dir="auto">Debian Wiki - Grub:</div><div dir="auto">apt-get install os-prober</div><div dir="auto"><br></div><div dir="auto">&nbsp; &nbsp; Then edit /etc/default/grub and make
    sure you have a line like&nbsp;</div><div dir="auto"><br></div><div dir="auto">GRUB_DISABLE_OS_PROBER=false</div><div dir="auto"><br></div><div dir="auto">Finally run update-grub2</div><div dir='auto'><br></div>
    <div id="aqm-original" style="color: black;">
    <div dir="auto">On February 14, 2025 1:00:19 PM Rolf Reintjes &lt;rolf.reintjes@web.de&gt; wrote:</div>
    <div><br></div>
    <blockquote type="cite" class="gmail_quote" style="margin: 0 0 0 0.75ex; border-left: 1px solid #808080; padding-left: 0.75ex;">
    <div dir="auto">Am 14.02.25 um 20:43 schrieb Matej Marko:</div>
    <blockquote type="cite" class="gmail_quote" style="margin: 0 0 0 0.75ex; border-left: 1px solid #0099CC; padding-left: 0.75ex;">
    <div dir="auto">Hello,</div>
    <div dir="auto">I have actually on SSD SATA installed these distributions: Linux Mint,</div>
    <div dir="auto">Ubuntu Desktop, Kubuntu, Lubuntu, KDE neon, Fyde OS. All actuall version.</div>
    <div dir="auto">Screenshots are from KDE neon.</div>
    <div dir="auto">Command sudo update-grub not work correct for me. It finds only Ubuntu</div>
    <div dir="auto">Desktop, no other distributions.</div>
    <div dir="auto"><br></div>
    <div dir="auto">All screenshots are here</div>
    <div dir="auto">https://imgur.com/a/crvLj26 &lt;https://imgur.com/a/crvLj26&gt;</div>
    </blockquote>
    <div dir="auto"><br></div>
    <div dir="auto">The last distribution you have installed has done grub-install. So sudo</div>
    <div dir="auto">update-grub within this distribution will work.</div>
    <div dir="auto"><br></div>
    <div dir="auto">All sudo update-grub from the other distribution will not have any</div>
    <div dir="auto">impact on the grub menue.</div>
    <div dir="auto"><br></div>
    <div dir="auto">So I suppose the last installed distribution does not find the other ones.</div>
    <div dir="auto"><br></div>
    <div dir="auto">What I would do if I were in this situation: run rescue from Ubuntu and</div>
    <div dir="auto">do a chroot to get in Ubuntu. Then run grub-install and see if the other</div>
    <div dir="auto">distribution were found.</div>
    <div dir="auto"><br></div>
    <div dir="auto">But the problem remains if that works: Only update-grub from last</div>
    <div dir="auto">distribution which did grub-install will have impact. So if you get a</div>
    <div dir="auto">new kernel from updates of one of the other distribution this change</div>
    <div dir="auto">will not get in the grub menue.</div>
    <div dir="auto"><br></div>
    <div dir="auto">I do not know if there is a clean solution for this problem.</div>
    <div dir="auto"><br></div>
    <div dir="auto">My solution for this situation was to have one disk for only one</div>
    <div dir="auto">distribution and having several USB-HDDs to run several different</div>
    <div dir="auto">distributions.</div>
    <div dir="auto"><br></div>
    <div dir="auto">Rolf</div>
    </blockquote>
    </div><div dir="auto"><br></div>
    </div></body>
    </html>

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Pascal Hambourg@21:1/5 to Matej Marko on Sat Feb 15 00:40:01 2025
    (Please reply on list)

    On 15/02/2025 at 00:03, Matej Marko wrote:
    Yes. All root partitions are on BTRFS file system. It is possible, that
    file system is main source of issues.

    Can you provide more details about the btrfs layout for each system ?
    Is there a subvolume for /, and is it the default subvolume ?

    Probably not exist distribution agnostic based, fully official website
    for os-prober only. I am not found in Google. Probably this Debian
    website connect developers from all linux distributions.

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Pascal Hambourg@21:1/5 to Matej Marko on Sat Feb 15 13:10:01 2025
    On 15/02/2025 at 10:09, Matej Marko wrote:
    No, I am not used subvolumes. It is not subvolumes, I think. I created
    very simple partitions in distribution installer.

    Be aware that some distribution installers may implicitly create
    subvolumes. For example the Debian installer creates a subvolume
    "@rootfs" for the root filesystem, but Debian's os-prober looks only
    into the top-level subvolume (or the first mounted subvolume) when
    probing GNU/Linux systems.

    You can check subvolumes in an unmounted btrfs filesystem with:

    # mount /dev/sda2 /mnt
    # btrfs subvolume list /mnt
    # btrfs subvolume get-default /mnt
    # umount /mnt

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