Page 1 of 6 123 ... LastLast
Results 1 to 10 of 52

Thread: Multiboot openSUSE Leap 15: grub2-mkconfig does not detect other installed OS

  1. #1
    Join Date
    Jun 2018
    Location
    Germany
    Posts
    26

    Default Multiboot openSUSE Leap 15: grub2-mkconfig does not detect other installed OS

    I installed openSUSE Leap 15 without problems but NO other installed OS was detected by grub2-mkconfig though I enabled "test foreign OS". There are various different ext4 partitions with Arch, Ubuntu, Fedora and others. I can mount each of them without problems. eg:

    mount /dev/mapper/Hitachi_HDT721010SLA360_STF6L7MS281K9K-part1 /mnt
    (this partition contains Antergos)

    grub.cfg contains only Leap 15 entries, even Tumbleweed was not detected.

    Does anyone have an idea?

  2. #2
    Join Date
    Aug 2010
    Location
    Chicago suburbs
    Posts
    10,291
    Blog Entries
    3

    Default Re: Multiboot openSUSE Leap 15: grub2-mkconfig does not detect other installed OS

    What's the output from
    Code:
    grep PROB /etc/default/grub
    opensuse Leap 15.0; KDE Plasma 5;
    opensuse tumbleweed; KDE Plasma 5 (test system);

  3. #3
    Join Date
    Jun 2018
    Location
    Germany
    Posts
    26

    Default Re: Multiboot openSUSE Leap 15: grub2-mkconfig does not detect other installed OS

    grep PROB /etc/default/grub
    GRUB_DISABLE_OS_PROBER="false"

  4. #4
    Join Date
    Aug 2010
    Location
    Chicago suburbs
    Posts
    10,291
    Blog Entries
    3

    Default Re: Multiboot openSUSE Leap 15: grub2-mkconfig does not detect other installed OS

    Quote Originally Posted by robertwolter View Post
    grep PROB /etc/default/grub
    GRUB_DISABLE_OS_PROBER="false"
    That should be okay. But perhaps as a check, can you try commenting out that line (insert '#' at the beginning) and then rerun "grub2-mkconfig".

    I usually see:
    Code:
    % grep PROB /etc/default/grub
    #GRUB_DISABLE_OS_PROBER="true"
    Have you modified the script in "/etc/grub.d" that is used with os-prober?
    opensuse Leap 15.0; KDE Plasma 5;
    opensuse tumbleweed; KDE Plasma 5 (test system);

  5. #5
    Join Date
    Jun 2018
    Location
    Germany
    Posts
    26

    Default Re: Multiboot openSUSE Leap 15: grub2-mkconfig does not detect other installed OS

    Quote Originally Posted by nrickert View Post
    That should be okay. But perhaps as a check, can you try commenting out that line (insert '#' at the beginning) and then rerun "grub2-mkconfig".

    I usually see:
    Code:
    % grep PROB /etc/default/grub
    #GRUB_DISABLE_OS_PROBER="true"
    That line does not exist in the file, only the line I mentioned above.

    Quote Originally Posted by nrickert View Post
    Have you modified the script in "/etc/grub.d" that is used with os-prober?
    No, I didn't modify anything, That's why I was so surprised after the installation to only have the Leap 15 entry. Something like that never happened before in any installation of a former openSUSE distro.

  6. #6
    Join Date
    Aug 2010
    Location
    Chicago suburbs
    Posts
    10,291
    Blog Entries
    3

    Default Re: Multiboot openSUSE Leap 15: grub2-mkconfig does not detect other installed OS

    Quote Originally Posted by robertwolter View Post
    That's why I was so surprised after the installation to only have the Leap 15 entry. Something like that never happened before in any installation of a former openSUSE distro.
    I'm also surprised. I don't have an explanation.

    If you mount one of those other partitions, say the ubuntu partition and then run "grub2-mkconfig", does it find that linux system?
    opensuse Leap 15.0; KDE Plasma 5;
    opensuse tumbleweed; KDE Plasma 5 (test system);

  7. #7
    Join Date
    Jun 2018
    Location
    Germany
    Posts
    26

    Default Re: Multiboot openSUSE Leap 15: grub2-mkconfig does not detect other installed OS

    Quote Originally Posted by nrickert View Post
    I'm also surprised. I don't have an explanation.

    If you mount one of those other partitions, say the ubuntu partition and then run "grub2-mkconfig", does it find that linux system?
    I tried that as well, but it doesn't work. Somehow the os-prober doesn't seem to look at any other partition than the Leap 15 one. Beware, my language environment is german

    Code:
    leap15-pc:/home/leap15 # df
    Dateisystem                                               1K-Blöcke   Benutzt Verfügbar Verw% Eingehängt auf
    devtmpfs                                                    1970464         0   1970464    0% /dev
    tmpfs                                                       2016456     98132   1918324    5% /dev/shm
    tmpfs                                                       2016456     10196   2006260    1% /run
    tmpfs                                                       2016456         0   2016456    0% /sys/fs/cgroup
    /dev/mapper/Hitachi_HDT721010SLA360_STH607MS1Y918S-part22  41943040   9466524  32156164   23% /
    /dev/mapper/Hitachi_HDT721010SLA360_STH607MS1Y918S-part22  41943040   9466524  32156164   23% /usr/local
    /dev/mapper/Hitachi_HDT721010SLA360_STH607MS1Y918S-part22  41943040   9466524  32156164   23% /opt
    /dev/mapper/Hitachi_HDT721010SLA360_STH607MS1Y918S-part22  41943040   9466524  32156164   23% /.snapshots
    /dev/mapper/Hitachi_HDT721010SLA360_STH607MS1Y918S-part22  41943040   9466524  32156164   23% /root
    /dev/mapper/Hitachi_HDT721010SLA360_STH607MS1Y918S-part22  41943040   9466524  32156164   23% /tmp
    /dev/mapper/Hitachi_HDT721010SLA360_STH607MS1Y918S-part22  41943040   9466524  32156164   23% /boot/grub2/i386-pc
    /dev/mapper/Hitachi_HDT721010SLA360_STH607MS1Y918S-part22  41943040   9466524  32156164   23% /var
    /dev/mapper/Hitachi_HDT721010SLA360_STH607MS1Y918S-part22  41943040   9466524  32156164   23% /boot/grub2/x86_64-efi
    /dev/mapper/Hitachi_HDT721010SLA360_STH607MS1Y918S-part22  41943040   9466524  32156164   23% /srv
    /dev/mapper/Hitachi_HDT721010SLA360_STH607MS1Y918S-part2  503833832 381353808 121439640   76% /home
    tmpfs                                                        403288        16    403272    1% /run/user/1000
    /dev/mapper/Hitachi_HDT721010SLA360_STH607MS1Y918S-part1   50133700  33941856  13615460   72% /run/media/leap15/Antergos
    /dev/mapper/Hitachi_HDT721010SLA360_STH607MS1Y918S-part5   20511312   9895248   9551104   51% /run/media/leap15/Void
    /dev/mapper/Hitachi_HDT721010SLA360_STH607MS1Y918S-part6   14286320   9518168   4019404   71% /run/media/leap15/Xubuntu 18.04 u
    /dev/mapper/Hitachi_HDT721010SLA360_STH607MS1Y918S-part7   19092136   6381056  11718212   36% /run/media/leap15/Pisi
    /dev/mapper/Hitachi_HDT721010SLA360_STH607MS1Y918S-part8   20511312   9158448  10287904   48% /run/media/leap15/Fedora 28
    /dev/mapper/Hitachi_HDT721010SLA360_STH607MS1Y918S-part9   20511312   9860648   9585704   51% /run/media/leap15/Arch
    /dev/mapper/Hitachi_HDT721010SLA360_STH607MS1Y918S-part10  14286320   7944736   5592836   59% /run/media/leap15/Mint
    /dev/mapper/Hitachi_HDT721010SLA360_STH607MS1Y918S-part11  15053152  12629136   1639632   89% /run/media/leap15/Calculate Linux
    /dev/mapper/Hitachi_HDT721010SLA360_STH607MS1Y918S-part12  15416264   9186480   5426968   63% /run/media/leap15/Anarchy
    /dev/mapper/Hitachi_HDT721010SLA360_STH607MS1Y918S-part13  15416140   6233552   8379780   43% /run/media/leap15/Xubuntu 18.04
    /dev/mapper/Hitachi_HDT721010SLA360_STH607MS1Y918S-part14  15053152   6738796   7529972   48% /run/media/leap15/Solus 3
    /dev/mapper/Hitachi_HDT721010SLA360_STH607MS1Y918S-part15  15053192    378812  13889996    3% /run/media/leap15/Porteus
    /dev/mapper/Hitachi_HDT721010SLA360_STH607MS1Y918S-part16  15053152  10260192   4008576   72% /run/media/leap15/Manjaro
    /dev/mapper/Hitachi_HDT721010SLA360_STH607MS1Y918S-part17  15416264  10859024   3754424   75% /run/media/leap15/Tumbleweed
    /dev/mapper/Hitachi_HDT721010SLA360_STH607MS1Y918S-part18   9948244   6906656   2513196   74% /run/media/leap15/Linux Lite
    /dev/mapper/Hitachi_HDT721010SLA360_STH607MS1Y918S-part19  14987656  11827184   2376088   84% /run/media/leap15/Slackware 14.2
    /dev/mapper/Hitachi_HDT721010SLA360_STH607MS1Y918S-part20  15053192   6662104   7606704   47% /run/media/leap15/ExTiX
    /dev/mapper/Hitachi_HDT721010SLA360_STH607MS1Y918S-part21  15359524  12177012   3182512   80% /run/media/leap15/Knoppix 8.2
    /dev/mapper/Hitachi_HDT721010SLA360_STH607MS1Y918S-part23  14351816   3970472   9632596   30% /run/media/leap15/Bunsenlabs
    /dev/mapper/Hitachi_HDT721010SLA360_STH607MS1Y918S-part24  15053192   4940380   9328428   35% /run/media/leap15/Archlabs
    leap15-pc:/home/leap15 # grub2-mkconfig -o /boot/grub2/grub.cfg
    GRUB-Konfigurationsdatei wird erstellt …
    Thema gefunden: /boot/grub2/themes/openSUSE/theme.txt
    Linux-Abbild gefunden: /boot/vmlinuz-4.12.14-lp150.12.4-default
    initrd-Abbild gefunden: /boot/initrd-4.12.14-lp150.12.4-default
    Linux-Abbild gefunden: /boot/vmlinuz-4.12.14-lp150.11-default
    initrd-Abbild gefunden: /boot/initrd-4.12.14-lp150.11-default
    openSUSE Leap 15.0 auf /dev/sda22 gefunden
    erledigt

  8. #8
    Join Date
    Aug 2010
    Location
    Chicago suburbs
    Posts
    10,291
    Blog Entries
    3

    Default Re: Multiboot openSUSE Leap 15: grub2-mkconfig does not detect other installed OS

    If you run
    Code:
    os-prober
    at the root command line, does it find the other systems?
    opensuse Leap 15.0; KDE Plasma 5;
    opensuse tumbleweed; KDE Plasma 5 (test system);

  9. #9
    Join Date
    Sep 2014
    Location
    Germany
    Posts
    280

    Default Re: Multiboot openSUSE Leap 15: grub2-mkconfig does not detect other installed OS

    Quote Originally Posted by robertwolter View Post
    I installed openSUSE Leap 15 without problems but NO other installed OS was detected by grub2-mkconfig though I enabled "test foreign OS". There are various different ext4 partitions with Arch, Ubuntu, Fedora and others. I can mount each of them without problems. eg:

    mount /dev/mapper/Hitachi_HDT721010SLA360_STF6L7MS281K9K-part1 /mnt
    (this partition contains Antergos)

    grub.cfg contains only Leap 15 entries, even Tumbleweed was not detected.

    Does anyone have an idea?
    Are you UEFI-booting or CSM-booting (aka Legacy- or MBR-booting)?

    If you are UEFI-booting is there a chance that there is more than one EFI systempartition on your system?

    Please show
    Code:
    # parted-l
    and
    Code:
    # efibootmgr -v
    Regards

    susejunky

  10. #10
    Join Date
    Sep 2012
    Posts
    4,565

    Default Re: Multiboot openSUSE Leap 15: grub2-mkconfig does not detect other installed OS

    Quote Originally Posted by robertwolter View Post
    Code:
    /dev/mapper/Hitachi_HDT721010SLA360_STH607MS1Y918S-part22
    os-prober looks for partitions and device-mapper node is not partition. Someone reported on ML that Leap 15 suddenly is using device-mapper for disks. Please show output of "dmsetup ls --tree" and "dmsetup status".

Page 1 of 6 123 ... LastLast

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •