Multiple grub boot entries after updating to EndeavourOS Mercury

Hello everyone,

I updated my system to EndeavourOS Mercury this morning, and after rebooting, I noticed that my GRUB menu now shows multiple boot entries for both EndeavourOS and Windows 11 ( I’m dual booting Windows 11 and EndeavourOS ).

Before the update, everything was working fine with a single entry for each OS. Now, there are duplicate entries that weren’t there before.

Has anyone else encountered this issue? Is there a way to clean up the extra boot entries and make GRUB display only one entry per OS?

I have also attached a screenshot of my grub boot screen with this forum. I am also ready to send any logs or configuration files, if required.

Any help would be greatly appreciated!

Thanks in advance.

Did you install again from the new ISO? Or just pacman -Syu?

just sudo pacman -Syu

You could try regenerating grub menu

sudo grub-mkconfig -o /boot/grub/grub.cfg
2 Likes

Prove it :sweat_smile::

lsblk -f
2 Likes

I have already tried regenerating the grub menu with that command.

Running it outputs the following:

Generating grub configuration file ...
Found linux image: /boot/vmlinuz-linux
Found initrd image: /boot/initramfs-linux.img
Found fallback initrd image(s) in /boot:  initramfs-linux-fallback.img
Found linux image: /boot/vmlinuz-linux
Found initrd image: /boot/initramfs-linux.img
Found fallback initrd image(s) in /boot:  initramfs-linux-fallback.img
Found linux image: /boot/vmlinuz-linux
Found initrd image: /boot/initramfs-linux.img
Found fallback initrd image(s) in /boot:  initramfs-linux-fallback.img
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.
Adding boot menu entry for UEFI Firmware Settings ...
Adding boot menu entry for UEFI Firmware Settings ...
done

The output above probably states that there’s just something wrong with the grub-mkconfig command itself? I am not really sure because it adds the UEFI boot menu entry two times and the entries for linux image and the fallback image multiple times even though my /boot only has a single linux image file and a single fallback image file.

Running ls on /boot outputs the following:

drwxr-x--- 4 root root     1024 Jan  1  1970 efi
drwxr-xr-x 6 root root     4096 Feb 12 10:58 grub
-rw------- 1 root root 64054579 Feb 11 09:28 initramfs-linux-fallback.img
-rw------- 1 root root 17929274 Feb 11 09:28 initramfs-linux.img
-rw-r--r-- 1 root root  8139776 Nov 12 22:50 intel-ucode.img
-rw-r--r-- 1 root root 13873664 Feb 11 09:28 vmlinuz-linux

:sob: here you go man:

NAME        FSTYPE FSVER LABEL       UUID                                 FSAVAIL FSUSE% MOUNTPOINTS
sda
├─sda1      ntfs         New Volume  86BC504EBC503ABF
├─sda2      ntfs         New Volume  6C8ADD1A8ADCE21E
├─sda3      ntfs         New Volume  F8F4E4C2F4E483EA
├─sda4      ntfs         Codespace   840014E90014E3C8
└─sda5      ext4   1.0               1ce02630-044f-43e8-b23f-81d523a10e36   91.5G     1% /data
nvme0n1
├─nvme0n1p1 vfat   FAT32             7484-F5C2                              68.4M    29% /boot/efi
├─nvme0n1p2
├─nvme0n1p3 ntfs                     2CFA8642FA8607F2
├─nvme0n1p4 ntfs                     4A5ACDF15ACDD9B9
└─nvme0n1p5 ext4   1.0   endeavouros 662df64b-548a-4baa-a4f0-dbc024ea236a   24.6G    52% /

Hmm. :face_with_monocle: No issues that I know of when compared to mine.

So, what I’d do is delete all the GRUB entries while booted into Linux, then regenerate them and reinstall GRUB to the specific partition to be sure.

sudo grub-mkconfig -o /boot/grub/grub.cfg
sudo grub-install --target=x86_64-efi --efi-directory=/boot/efi --bootloader-id=GRUB

Alright i fixed it, After some research i found this forum:

Below are the steps i took by following what i could gather from that forum:

  1. sudo mv /etc/grub.d /etc/grub.d.old
  2. sudo pacman -Syu
  3. sudo grub-mkconfig -o /boot/grub/grub.cfg

After rebooting my system, the boot entry was perfectly normal, but windows was missing, so i uncommented the GRUB_DISABLE_OS_PROBER="false" line from /etc/default/grub and regenerated the grub.cfg file and now i could see the entry for windows as well in the grub menu.

3 Likes

This topic was automatically closed 2 days after the last reply. New replies are no longer allowed.