F29: Devuan, Debian, openSUSE missing in grub boot menu
FedoraForum.org - Fedora Support Forums and Community
Page 1 of 2 1 2 LastLast
Results 1 to 15 of 21
  1. #1
    Join Date
    Jul 2014
    Location
    EU
    Posts
    362
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    F29: Devuan, Debian, openSUSE missing in grub boot menu

    Code:
    # grub2-mkconfig -o /boot/grub2/grub.cfg
    ...
    device-mapper: remove ioctl on osprober-linux-sda11  failed: Device or resource busy
    Command failed.
    device-mapper: remove ioctl on osprober-linux-sda12  failed: Device or resource busy
    Command failed.
    device-mapper: remove ioctl on osprober-linux-sda14  failed: Device or resource busy
    Command failed.
    device-mapper: remove ioctl on osprober-linux-sda18  failed: Device or resource busy
    Command failed.
    ...
    Windows 8 found in /dev/sda1
    openSUSE Leap 42.3 found in /dev/sda11
    Devuan GNU/Linux ascii found in /dev/sda14
    Debian GNU/Linux 9 (stretch) found in /dev/sda18
    done
    Any idea pls ?

  2. #2
    Join Date
    Mar 2019
    Location
    USA
    Posts
    2
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: F29: Devuan, Debian, openSUSE missing in grub boot menu

    I've got a similar problem. Were you able to fix yours?

  3. #3
    Join Date
    Jun 2005
    Location
    Montreal, Que, Canada
    Posts
    5,868
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: F29: Devuan, Debian, openSUSE missing in grub boot menu

    The new grub is skipping other distributions. I have Manjaro installed on two drives. grub2-mkconfig fails to include them.
    This is s recent problem. It was working fine end February.
    Leslie in Montreal

    Interesting web sites list
    http://forums.fedoraforum.org/showth...40#post1697840

  4. #4
    Join Date
    Mar 2019
    Location
    USA
    Posts
    2
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: F29: Devuan, Debian, openSUSE missing in grub boot menu

    I have 4 other distros in multi-boot. Each run of the grub2-mkconfig produces a different result. It will randomly pick 2 distros to show in the grub menu and hide the other 2.

  5. #5
    Join Date
    Dec 2013
    Location
    United Kingdom
    Posts
    7,099
    Mentioned
    5 Post(s)
    Tagged
    1 Thread(s)

    Re: F29: Devuan, Debian, openSUSE missing in grub boot menu

    rEFInd is the better option and it doesn't need updating manually each time you install a new kernel or operating system. Arch based distributions can certainly fail to boot from Fedora's grub (kernel exception errors) so maybe the Fedora developers purposely made it skip them.

  6. #6
    Join Date
    Aug 2007
    Posts
    435
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: F29: Devuan, Debian, openSUSE missing in grub boot menu

    rEFInd is the better option and it doesn't need updating manually each time you install a new kernel or operating system. Arch based distributions can certainly fail to boot from Fedora's grub (kernel exception errors) so maybe the Fedora developers purposely made it skip them.
    You apparently didn't read the original post as the OP has a legacy BIOS system. There is no /boot/efi/EFI/fedora in the path.

    Code:
    # grub2-mkconfig -o /boot/grub2/grub.cfg
    In these cases it is best to use config file loading with custom entries in /etc/grub.d/40_custom and disable os-prober. That way no manual updating needs to be done each time you install a new Fedora kernel. When you install a new OS then you would add a new entry in /etc/grub.d/40_custom.
    Last edited by amiga; 16th March 2019 at 06:07 PM.

  7. #7
    Join Date
    Jul 2014
    Location
    EU
    Posts
    362
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: F29: Devuan, Debian, openSUSE missing in grub boot menu

    Quote Originally Posted by aolaser
    I've got a similar problem. Were you able to fix yours?
    No, I wasn't.

  8. #8
    Join Date
    Jul 2014
    Location
    EU
    Posts
    362
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: F29: Devuan, Debian, openSUSE missing in grub boot menu

    Quote Originally Posted by lsatenstein
    The new grub is skipping other distributions. I have Manjaro installed on two drives. grub2-mkconfig fails to include them.
    This is s recent problem. It was working fine end February.
    Thank you. Can we expect some correction ?

  9. #9
    Join Date
    Jul 2014
    Location
    EU
    Posts
    362
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: F29: Devuan, Debian, openSUSE missing in grub boot menu

    Quote Originally Posted by amiga
    You apparently didn't read the original post as the OP has a legacy BIOS system. There is no /boot/efi/EFI/fedora in the path.

    Code:
    # grub2-mkconfig -o /boot/grub2/grub.cfg
    In these cases it is best to use config file loading with custom entries in /etc/grub.d/40_custom and disable os-prober. That way no manual updating needs to be done each time you install a new Fedora kernel. When you install a new OS then you would add a new entry in /etc/grub.d/40_custom.
    Thank you. Yes, it's legacy BIOS.

  10. #10
    Join Date
    Aug 2007
    Posts
    435
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: F29: Devuan, Debian, openSUSE missing in grub boot menu

    I have 4 other distros in multi-boot. Each run of the grub2-mkconfig produces a different result. It will randomly pick 2 distros to show in the grub menu and hide the other 2.
    You never mentioned if you have an EFI system or a legacy BIOS system. If you have a legacy BIOS system like the OP and have grub2 installed in all 5 distros then as I mentioned in my post it is best to create manual entries in /etc/grub.d/40_custom which use config file loading or core.img chainloading and then disable os-prober.

    Code:
    #!/bin/sh
    exec tail -n +3 $0
    # This file provides an easy way to add custom menu entries.  Simply type the
    # menu entries you want to add after this comment.  Be careful not to change
    # the 'exec tail' line above.
    
    menuentry 'Fedora 28 using grub2 configfile' {
       insmod ext2
       insmod part_gpt
       search --no-floppy --set=root --label boot_fedora28
       configfile /grub2/grub.cfg
    }
    
    menuentry 'Fedora 28 using core.img chainloading' {
       insmod ext2
       insmod part_gpt
       search --no-floppy --set=root --label boot_fedora28
       multiboot /grub2/i386-pc/core.img
    }
    This applies to the OPs system. For a situation with Fedora and Arch you would want to use the second approach, core.img loading, and invoke Arch's grub2 executable from Fedora.

    If you have an EFI system then you could use rEFInd which is a boot manager and not a boot loader. It will detect all of the five grubx64.efi boot loaders in all of the ESPs and create a top level menu which chainloads standard Linux boot loaders.

  11. #11
    Join Date
    Jun 2005
    Location
    Montreal, Que, Canada
    Posts
    5,868
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: F29: Devuan, Debian, openSUSE missing in grub boot menu

    March 20, grub appears to be working properly for me.
    Leslie in Montreal

    Interesting web sites list
    http://forums.fedoraforum.org/showth...40#post1697840

  12. #12
    Join Date
    Jul 2014
    Location
    EU
    Posts
    362
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: F29: Devuan, Debian, openSUSE missing in grub boot menu

    Quote Originally Posted by lsatenstein
    March 20, grub appears to be working properly for me.
    Yes it does but with one exception - CentOS has disappeared from that boot menu.

  13. #13
    Join Date
    Aug 2007
    Posts
    435
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: F29: Devuan, Debian, openSUSE missing in grub boot menu

    Yes it does but with one exception - CentOS has disappeared from that boot menu.
    Then consider this the perfect opportunity to create a custom entry in /etc/grub.d/40_custom as described in my post #10 assuming CentOS has grub2 installed and a working grub.cfg. If only one OS is missing then you will only have to create one entry.

  14. #14
    Join Date
    Mar 2019
    Location
    Novi Sad, Serbia
    Posts
    3
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: F29: Devuan, Debian, openSUSE missing in grub boot menu

    I have the same problem. My machine is a multiboot with dozen of linux distros across 3 drives. grub2-mkconfig randomly excludes some of them, so far never recognized all of them at once. I know they could be added as custom entries, but on the next run grub2-mkconfig will exclude other distros so basically one should make custom entries for all available distros and I dont accept that as a solution since it should be edited everytime any of the distro us updated. Grubs made from other distros are complete and are updated automatically without any errors so its more acceptable as a workaround to use other grub than make a cutom entry in Fedoras grub.
    Still, problem stays, grub2-mkconfig isnt working as it should, it needs to be fixed.
    I noticed that those partitions that arent recognized are marked as /dev/dm-X (/dev/mapper/osprober-linux-sdXY) instead of /dev/sdXY in file manager.
    Last edited by Gorstak; 30th March 2019 at 04:31 PM.

  15. #15
    Join Date
    Aug 2007
    Posts
    435
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: F29: Devuan, Debian, openSUSE missing in grub boot menu

    grub2-mkconfig randomly excludes some of them, so far never recognized all of them at once.
    Still, problem stays, grub2-mkconfig isnt working as it should, it needs to be fixed
    This isn't a problem with grub2-mkconfig itself. It is os-prober which is called by grub2-mkconfig that is unreliable. os-prober can be run by itself to test it separately as follows:

    Code:
    $ type os-prober
    os-prober is /usr/bin/os-prober
    $ sudo os-prober
    /dev/sdb5:CentOS Linux 7 (Core):CentOS:linux
    /dev/sdb9:Fedora 24 (Twenty Four):Fedora:linux
    /dev/mapper/vg_server47-lv_root:Fedora release 16 (Verne):Fedora1:linux

Page 1 of 2 1 2 LastLast

Similar Threads

  1. [SOLVED]
    Can't boot openSUSE 42.2 from boot menu created by Fedora 24
    By boycottsystemd in forum Using Fedora
    Replies: 4
    Last Post: 16th May 2017, 10:43 AM
  2. [SOLVED]
    Fedora 20 Missing From Grub Menu
    By NM5TF in forum Installation, Upgrades and Live Media
    Replies: 4
    Last Post: 3rd October 2014, 05:31 PM
  3. Missing Windows 7 boot from grub menu
    By Shugs81 in forum Using Fedora
    Replies: 1
    Last Post: 6th June 2014, 11:43 PM
  4. Missing fedora9 boot menu on WinXP dual boot
    By jimmy7 in forum Installation, Upgrades and Live Media
    Replies: 1
    Last Post: 5th June 2008, 08:17 PM
  5. grub menu missing after FC5 installation with existing XP
    By Vadi in forum EOL (End Of Life) Versions
    Replies: 2
    Last Post: 18th August 2006, 08:37 PM

Posting Permissions

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