How to Dual Boot Multiple Linux Distributions with OS-Prober 2025
Table of Contents
📌 Introduction
One of the most common scenarios in personal computing remains the installation of multiple operating systems on the same machine, particularly a Windows + Linux dual-boot. On modern Linux distributions like openSUSE Tumbleweed, the GRUB bootloader plays an essential role in allowing the user to choose which system to boot.
To automatically detect other operating systems (like Windows), the os-prober command is often used. However, its behavior can raise technical questions, especially since in 2025, important security changes have modified its default operation.
1. 🔍 What is os-prober?
os-prober is a utility that scans disks to detect operating systems installed on other partitions or disks. It is mainly used by GRUB to automatically add entries to detected systems.
1.1 Operation
To use os-prober manually, open a terminal and run:
sudo os-prober
When launched, os-prober:
2. 🧠 The message: "DM multipath kernel driver not loaded"
When running os-prober, it may display a line like:
261412.743223 | DM multipath kernel driver not loaded
This message is not a blocking error. It indicates that the kernel driver for multipath devices has not been loaded. Multipath is used in advanced configurations (e.g., servers with access to a SAN via multiple paths).
This message does not indicate a failure to detect Windows.
It does not mean that a package or library is missing.
⚠️ In 99.9% of cases, a Windows system installed on a personal PC does not rely on multipath storage.
3. 🆕 NEW 2025: Mandatory GRUB_DISABLE_OS_PROBER Configuration
Since 2021, and particularly strengthened in 2025, os-prober is disabled by default for security reasons on most distributions.
3.1 🔧 Typical symptom
After a system or kernel update, you regenerate GRUB:
sudo grub-mkconfig -o /boot/grub/grub.cfg
And get this result:
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.
3.2 ✅ Mandatory solution
To enable os-prober, modify the GRUB configuration:
sudo nano /etc/default/grub
Find or add this line:
GRUB_DISABLE_OS_PROBER=false
Save the file (Ctrl+O then Ctrl+X in nano).
Then regenerate GRUB with the command specific to your distribution:
3.3 ✅ Success confirmation
Warning: os-prober will be executed to detect other bootable partitions. Its output will be used to detect bootable binaries on them and create new boot entries.
4. 🧪 Case study: openSUSE Tumbleweed and os-prober
4.1 🔧 Context
A user runs the command:
sudo os-prober
And gets:
261412.743223 | DM multipath kernel driver not loaded /dev/sda2:openSUSE Tumbleweed:openSUSE:linux:btrfs:UUID=...:subvol=@/.snapshots/1/snapshot
4.2 📋 Interpretation
5. ❓ Why doesn't os-prober detect Windows?
There are several legitimate reasons why an installed Windows system may not appear in os-prober's output.
6. 🆕 NEW: OS-Prober dependency issues
This error appears when regenerating GRUB after enabling os-prober:
grub-mount: error while loading shared libraries: libfuse3.so.3: cannot open shared object file
6.1 ✅ Diagnosis
The solution to diagnose and fix the error related to "grub-mount: error while loading shared libraries: libfuse3.so.3" when running os-prober with GRUB is not universal for all major distribution families (Arch, SUSE, Red Hat, Ubuntu, Debian), as package management and dependency organization differ.
Check dependency installation:
# Check for grub-mount which grub-mount || echo "grub-mount not installed" # Test for missing library ldconfig -p | grep libfuse3
6.2 🔧 Solutions by distribution family
or
sudo yum install fuse3
6.3 🧪 Universal verification
To see if the library is available:
ldconfig -p | grep libfuse3
To diagnose absence:
# Search if the library is present sudo find / -name libfuse3.so.3 2>/dev/null
🔍 Identify the package providing the library
Each distribution has its own tools to identify which package contains a specific file:
# Install apt-file if necessary sudo apt update sudo apt install apt-file sudo apt-file update # Search for package containing libfuse3.so.3 apt-file search libfuse3.so.3
The result should indicate a package like libfuse3-3 or similar.
# Use dnf to find the package sudo dnf provides */libfuse3.so.3 # On older versions with yum sudo yum provides '*/libfuse3.so.3'
The result should indicate a package like fuse3-libs or similar.
# Update package database sudo pacman -Fy # Search for package containing the library pacman -F libfuse3.so.3
The result should indicate the fuse3 package.
# Use zypper to find the package zypper search --provides --match-exact 'libfuse3.so.3' # Or use rpm directly rpm -q --whatprovides libfuse3.so.3
The result should indicate a package like libfuse3-3 or similar.
6.4 ⚠ Workarounds to avoid
Above all, do not create symlinks between incompatible versions of libfuse3 and avoid risky manipulations in /usr/lib/ according to Arch community advice.
6.5 🚩 Special cases and limitations
Some distributions may have incompatible versions of GRUB/GRUB-mount with certain versions of FUSE (example: Arch switching from fuse3.3 to fuse3.4, see distribution forum).
If a "target is busy" issue persists during unmounting with os-prober, close applications that might be using the mounted file system, or run in rescue mode without a graphical environment.
📚 Technical Glossary
Click on the cards to discover key term definitions
🧠 Technical Quiz
Test your knowledge on os-prober and dual-boot
7. 📌 Conclusion
Using os-prober on openSUSE Tumbleweed remains a reliable tool for detecting dual-boot systems, but now requires explicit configuration in 2025.
- ✅ The multipath message has no consequence for Windows detection
- ⚠️ Mandatory configuration: GRUB_DISABLE_OS_PROBER=false
- 📦 Required dependencies: functional libfuse3 and grub-mount
- 🔒 Enhanced security: os-prober disabled by default
Thanks to a methodical approach, it is always possible to identify the problem and manually add a Windows entry to the boot menu if necessary.
Additional resources:
Good configuration and happy dual-booting! 🐧💻
/image%2F7127247%2F20250908%2Fob_59496a_image-7127247-20250731-ob-ffb0a7-os-pr.png)