Overblog Tous les blogs Top blogs Technologie & Science Tous les blogs Technologie & Science
Editer l'article Suivre ce blog Administration + Créer mon blog
MENU

SafeITExperts

SafeITExperts

Your expert guide to cybersecurity and digital privacy. Security hardening for all platforms : Windows, macOS, Linux, and Android. Solutions aligned standards : NIST and ANSSI for comprehensive digital protection.


How to Dual Boot Multiple Linux Distributions with OS-Prober 2025

Publié par Marc sur 8 Septembre 2025, 12:00pm

Catégories : #Microsoft Windows, #Linux, #Operating System

Step-by-step guide to dual-boot multiple Linux distributions using OS-Prober in 2025.

Step-by-step guide to dual-boot multiple Linux distributions using OS-Prober in 2025.

How to Dual Boot Multiple Linux Distributions with OS-Prober 2025 | SafeITExperts

How to Dual Boot Multiple Linux Distributions with OS-Prober 2025

Master Windows/Linux dual-boot configuration with os-prober on modern distributions
Published on July 31, 2025Reading: 8 min
LinuxWindowsGRUBDual-Bootos-proberSecurity

📌 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.

0%
Dual-boot users
0
Supported distributions
2025
New rules

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 Detection
Click to understand how os-prober works
Click to flip

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.

Click to return

1.1 Operation

To use os-prober manually, open a terminal and run:

sudo os-prober

When launched, os-prober:

💽 Disk scanning
Examines all disks visible to the system
📂 Temporary mounting
Mounts partitions for analysis
🖥️ Signature search
Looks for known systems (Windows, Linux, etc.)

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
✅ Interpretation

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).

❌ What this does not mean

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

⚠️ CRITICAL CHANGE 2025

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

🔧 Enabling os-prober

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:

S
openSUSE
sudo grub2-mkconfig -o /boot/grub2/grub.cfg
U
Ubuntu/Debian
sudo update-grub
A
Arch/Manjaro
sudo grub-mkconfig -o /boot/grub/grub.cfg
F
Fedora
sudo grub2-mkconfig -o /boot/efi/EFI/fedora/grub.cfg

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

✅ Successful detection
The system detects openSUSE on Btrfs partition
⚠️ Windows missing
No other system is detected
ℹ️ Harmless message
The multipath message does not affect operation

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.

Fast Startup
Windows hibernation
Windows uses partial hibernation that blocks write access to the NTFS partition
🔒
BitLocker
Partition encryption
os-prober cannot analyze a BitLocker partition without decrypting it
🔄
EFI/Legacy mismatch
Boot modes
If Windows is in UEFI and GRUB in Legacy (or vice versa), detection may fail
📁
Hidden partition
Not mounted
Some system partitions may not be immediately visible

6. 🆕 NEW: OS-Prober dependency issues

🚨 Common error 2025

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

A
Arch Linux and derivatives
sudo pacman -S fuse3
D
Debian, Ubuntu and derivatives
sudo apt install fuse3
S
openSUSE
sudo zypper install fuse3
F
Red Hat (Fedora, RHEL)
sudo dnf install fuse3
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:

🐧
Debian/Ubuntu
# 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.

🎩
Red Hat/Fedora
# 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.

Arch Linux
# Update package database
sudo pacman -Fy

# Search for package containing the library
pacman -F libfuse3.so.3

The result should indicate the fuse3 package.

🦎
openSUSE
# 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

✗ Absolutely 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

os-prober
Click to flip
Linux utility that detects operating systems installed on other partitions
GRUB
Click to flip
Bootloader used by Linux to manage multiboot
EFI/UEFI
Click to flip
Modern boot system replacing BIOS
Fast Startup
Click to flip
Windows function that locks NTFS partitions and blocks os-prober
Multipath
Click to flip
Technology allowing multiple access paths to a storage device
Secure Boot
Click to flip
UEFI security function that verifies bootloader signatures

🧠 Technical Quiz

Test your knowledge on os-prober and dual-boot

1
What does the message "DM multipath kernel driver not loaded" mean?
Click to see answer
It's just information, not an error. Indicates that the multipath driver is not loaded.
2
Which configuration enables os-prober in GRUB?
Click to see answer
GRUB_DISABLE_OS_PROBER=false in /etc/default/grub
3
Which Windows feature prevents os-prober from detecting the system?
Click to see answer
Fast Startup which leaves the NTFS partition locked
4
How to fix the "libfuse3.so.3" error on openSUSE?
Click to see answer
sudo zypper install fuse3
5
Why is os-prober disabled by default in 2025?
Click to see answer
For security reasons related to Secure Boot
6
What to do if Windows doesn't appear after enabling os-prober?
Click to see answer
Check boot mode (UEFI/Legacy) and disable BitLocker if necessary

7. 📌 Conclusion

Key points to remember

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! 🐧💻

© 2025 SafeITExperts - All rights reserved

Technical guide written by the SafeITExperts team

Pour être informé des derniers articles, inscrivez vous :
Commenter cet article

Archives

Articles récents