Customize my bootloader for multiple linux distros's

I'm currently multibooting with four linux distro's. Zorin loads by default but I'm also running Open Mandriva, CachyOs, Fedora 42, and windows 11. The Zorin bootloader only shows Zorin and windows. To boot my other OS's i have to press f11 on post in order to see and select them to boot. How do i combine every OS into one menu that loads by default?

Enter in terminal

"sudo nano /etc/default/grub"

Add the following line at the end of the file:

GRUB_DISABLE_OS_PROBER=false

(If the line is present with #, remove the # at the beginning of the line or when it is set to true change it to false)

Press CTRL+O, then enter, then CTRL+X

"sudo os-prober"

"sudo update-grub" and reboot

Beneath @Forpli's Advice: Are the EFI Files of every System in the same EFI-Partition?

I would suggest to put the Line at the End of this white Block:

Then it should look like this:

1 Like

Thanks, I'll give this a shot.

1 Like

I used the commands provided then rebooted. No changes to default boot menu. It only shows zorin and windows. I guess my other linux distro's have their efi files in their own partitions?

Please share the output of:

sudo os-prober

You could install GParted and then make a Screenshot of the Partitions. You can install it with sudo apt install gparted

/dev/nvme0n1p1@/EFI/Microsoft/Boot/bootmgfw.efi:Windows Boot Manager:Windows:efi

Strange, os-prober is not detecting the boot entries for your other Linux distros.

Could you please share the picture of your disk partitions using gparted just as @Ponce-De-Leon has asked.

It seems to be a problem as the other partitions are formated in btrfs.

Perhaps a suggestion like mentioned in these threads could help but they are a few years old and I'm not familar with it. So please wait for an advice of an expert.

I also found that this symlinks should help (from LM forum 2025):

"#navigate to root of the partition with brtfs
cd /
#create symlink for boot
ln -s @/boot boot
#create symlink for etc
ln -s @/etc etc

#check if the links are working

#checks if the OS is detected and grub applies it
sudo os-prober && update-grub
"

I'm assuming the system is missing some dependency for the btrfs file system, that's why the yellow warning sign (:warning:) present. Due to this Zorin is not reading it properly leading to the issue os-prober not being able to detect the boot entries of those Linux systems.

Click or hover cursor above this yellow warning sign (:warning:) right before the Name. It will display an useful information of what dependency the system is missing.

Then install those with:

sudo apt install missing-pkg-name

(Replace missing-pkg-name with the ones mentioned in the warning dialogue)

After installation, relaunch gparted to confirm if the warning sign has gone or not. If it's gone then run the sudo os-prober command to check now if it detects the other Linux distro's boot entries or not. If it lists them all then you are good to go.

Assuming you already have made changes in the grub file as guided by @Forpli and @Ponce-De-Leon - now just run the update-grub command:

sudo update-grub

This will add the boot entries to the grub menu.

-x-


If it still fails to detect the boot entries even after installing the dependencies, then share us the below details

  • The contents of warning (:warning:) dialogue
  • Output of:
    sudo efibootmgr
1 Like

I tried installing the missing package with the terminal but it said file not found. I then installed the btrfs tools snap from the software store.


Can you try again with this:

sudo apt update && sudo apt install btrfs-progs

(Share output if you get any errors)


It's a good sign that efibootmgr shows all the boot entries, now you just probably need to install btrfs-progs to get it working properly.

1 Like

Go to Software & Updates > Other Software, look there for the two repositories noobslab/icons2 and noobslab/themes and disable it. Then update your system and try the command again. If they aren't shown there also take a look at /etc/apt/sources.list and /etc/apt/sources.list.d and take a screenshot of the file/folder.

Edit: It would be better to remove them completely because they are not supported in ubuntu 22.04.

1 Like

Disabled to repositories and it still only shows zorin os and windows 11 after post. I have to press F11 at post to see the full OS menu.

Are the warning signs gone when you open gparted?
If yes, did you run sudo os-prober and then sudo update-grub?

Waning signs are gone. If i manually select another linux OS like Open Mandriva or Fedora from my F11 menu their included boot menus show everything.

So os prober does still not find the other linux systems?
You could set one of these, e.g. Fedora, at the first boot position in your BIOS, boot from it and then you could edit /etc/default/grub to boot into Zorin by default.
E.g. when Zorin is at the 6th position of your grub menu you would change the line
GRUB_DEFAULT=0
to
GRUB_DEFAULT=5
(because you start with 0 when counting the grub entries)

Save the file and run
sudo update-grub

1 Like