Grub showing multiple instances of Manjaro all on same drive

After a reboot I noticed 6 multiples of Manjaro all showing on the same drive in addition to the Actual Manjaro (1st option).

They appear to be snapshots but are no longer showing in the snapshot submenu. In addition they also don’t have dates next to them.

I have tried rolling back several times which appeared to fix the problem temporarily but the issue reappears pretty quickly.

I have now rolled back to the 20th Dec but after an update the multiple grub entries are back again.

Is there any way to fix this? Or do I have to wipe my system?

So from hunting around the bug seems to be with a setting from grub-btrfs. That’s as far as I’ve got.

Is this in the GRUB boot menu??

Please show your terminal after
sudo update-grub

Generating grub configuration file ...
Found theme: /usr/share/grub/themes/manjaro/theme.txt
Found linux image: /boot/vmlinuz-6.1-x86_64
Found initrd image: /boot/amd-ucode.img /boot/initramfs-6.1-x86_64.img
Found initrd fallback image: /boot/initramfs-6.1-x86_64-fallback.img
Found linux image: /boot/vmlinuz-5.15-x86_64
Found initrd image: /boot/amd-ucode.img /boot/initramfs-5.15-x86_64.img
Found initrd fallback image: /boot/initramfs-5.15-x86_64-fallback.img
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.
Found Windows Boot Manager on /dev/nvme0n1p3@/efi/Microsoft/boot/bootmgfw.efi
Found Manjaro Linux on /dev/nvme1n1p2
Found Manjaro Linux on /dev/nvme1n1p2
Found Manjaro Linux on /dev/nvme1n1p2
Found Manjaro Linux on /dev/nvme1n1p2
Found Manjaro Linux on /dev/nvme1n1p2
Found Manjaro Linux on /dev/nvme1n1p2
Found Manjaro Linux on /dev/nvme1n1p2
Found Manjaro Linux on /dev/nvme1n1p2
Adding boot menu entry for UEFI Firmware Settings ...
Detecting snapshots ...
No snapshots found.
If you think an error has occurred, please file a bug report at "https://github.com/Antynea/grub-btrfs"
Unmount /tmp/grub-btrfs.yfwOsyOZAp .. Success
Found memtest86+ image: /boot/memtest86+/memtest.bin
/usr/bin/grub-probe: warning: unknown device type nvme1n1.
done

Its odd that it doesnt find any snapshots as I have 8. I searched grub-btrfs site for any clues. It says that timeshift saves its snapshots to /run/timeshift. On my system this folder is empty.

:bangbang: Tip: :bangbang:

When posting terminal output, copy the output and paste it here, wrapped in three (3) backticks, before AND after the pasted text. Like this:

```
pasted text
```

This will just cause it to be rendered like this:

Sed
sollicitudin dolor
eget nisl elit id
condimentum
arcu erat varius
cursus sem quis eros.

Instead of like this:

Sed sollicitudin dolor eget nisl elit id condimentum arcu erat varius cursus sem quis eros.

Alternatively, paste the text you wish to format as terminal output, select all pasted text, and click the </> button on the taskbar. This will indent the whole pasted section with one TAB, causing it to render the same way as described above.

Thereby increasing legibility thus making it easier for those trying to provide assistance.

For more information, please see:


:bangbang::bangbang: Also, if your language isn’t English, please prepend any and all terminal commands with LC_ALL=C. For example:

LC_ALL=C bluetoothctl

This will just cause the terminal output to be in English, making it easier to understand and debug.

Show

sudo timeshift --list

After try ro crate new snapshot

sudo timeshift --create

Show list again

sudo timeshift --list

And i your have snap. Try to

sudo update-grub

and chek your snapshot in grub.

but…

Found Windows Boot Manager on /dev/nvme0n1p3@/efi/Microsoft/boot/bootmgfw.efi
Found Manjaro Linux on /dev/nvme1n1p2
Found Manjaro Linux on /dev/nvme1n1p2
Found Manjaro Linux on /dev/nvme1n1p2
Found Manjaro Linux on /dev/nvme1n1p2
Found Manjaro Linux on /dev/nvme1n1p2
Found Manjaro Linux on /dev/nvme1n1p2
Found Manjaro Linux on /dev/nvme1n1p2
Found Manjaro Linux on /dev/nvme1n1p2

What happen in your nvme1n1p2 ?
Why so much manjaro boot record

Timeshift list

#Mounted '/dev/nvme1n1p2' at '/run/timeshift/87987/backup'
E: ERROR: can't list qgroups: quotas not enabled

E: btrfs returned an error: 256
E: Failed to query subvolume quota
Device : /dev/nvme1n1p2
UUID   : b08c96c4-a567-41f6-a4d9-30637f36df0f
Path   : /run/timeshift/87987/backup
Mode   : BTRFS
Status : OK
9 snapshots, 1.6 TB free

Num     Name                 Tags   Description                                    
------------------------------------------------------------------------------
0    >  2022-09-20_15-18-32  O                                                     
1    >  2022-12-20_17-00-01  W                                                     
2    >  2022-12-26_09-21-34  O      Before restoring '2022-12-25 09:24:52'         
3    >  2022-12-27_17-00-01  W                                                     
4    >  2022-12-27_18-55-51  O      Before restoring '2022-12-27 09:12:43'         
5    >  2022-12-27_23-45-34  O      Before restoring '2022-12-20 17:00:01'         
6    >  2022-12-27_23-54-50  O      {timeshift-autosnap} {created before upgrade}  
7    >  2022-12-28_00-19-49  O D M  {timeshift-autosnap} {created before upgrade}  
8    >  2022-12-28_09-22-46  O      {timeshift-autosnap} {created before upgrade} 

Creating new Timeshift

Using system disk as snapshot device for creating snapshots in BTRFS mode
Mounted '/dev/nvme1n1p2' at '/run/timeshift/88175/backup'
E: ERROR: can't list qgroups: quotas not enabled

E: btrfs returned an error: 256
E: Failed to query subvolume quota
Creating new backup...(BTRFS)
Saving to device: /dev/nvme1n1p2, mounted at path: /run/timeshift/88175/backup
Created directory: /run/timeshift/88175/backup/timeshift-btrfs/snapshots/2022-12-28_10-04-34
Created subvolume snapshot: /run/timeshift/88175/backup/timeshift-btrfs/snapshots/2022-12-28_10-04-34/@
Created subvolume snapshot: /run/timeshift/88175/backup/timeshift-btrfs/snapshots/2022-12-28_10-04-34/@home
Created control file: /run/timeshift/88175/backup/timeshift-btrfs/snapshots/2022-12-28_10-04-34/info.json
BTRFS Snapshot saved successfully (0s)
Tagged snapshot '2022-12-28_10-04-34': ondemand

2nd Timeshift list

Mounted '/dev/nvme1n1p2' at '/run/timeshift/88387/backup'
E: ERROR: can't list qgroups: quotas not enabled

E: btrfs returned an error: 256
E: Failed to query subvolume quota
Device : /dev/nvme1n1p2
UUID   : b08c96c4-a567-41f6-a4d9-30637f36df0f
Path   : /run/timeshift/88387/backup
Mode   : BTRFS
Status : OK
10 snapshots, 1.6 TB free

Num     Name                 Tags   Description                                    
------------------------------------------------------------------------------
0    >  2022-09-20_15-18-32  O                                                     
1    >  2022-12-20_17-00-01  W                                                     
2    >  2022-12-26_09-21-34  O      Before restoring '2022-12-25 09:24:52'         
3    >  2022-12-27_17-00-01  W                                                     
4    >  2022-12-27_18-55-51  O      Before restoring '2022-12-27 09:12:43'         
5    >  2022-12-27_23-45-34  O      Before restoring '2022-12-20 17:00:01'         
6    >  2022-12-27_23-54-50  O      {timeshift-autosnap} {created before upgrade}  
7    >  2022-12-28_00-19-49  O D M  {timeshift-autosnap} {created before upgrade}  
8    >  2022-12-28_09-22-46  O      {timeshift-autosnap} {created before upgrade}  
9    >  2022-12-28_10-04-34  O 

I don’t know. That’s what I’m hoping to find out by posting here :).
I guess something went wrong.

Oh and I forgot here is output for update-grub

Generating grub configuration file ...
Found theme: /usr/share/grub/themes/manjaro/theme.txt
Found linux image: /boot/vmlinuz-6.1-x86_64
Found initrd image: /boot/amd-ucode.img /boot/initramfs-6.1-x86_64.img
Found initrd fallback image: /boot/initramfs-6.1-x86_64-fallback.img
Found linux image: /boot/vmlinuz-5.15-x86_64
Found initrd image: /boot/amd-ucode.img /boot/initramfs-5.15-x86_64.img
Found initrd fallback image: /boot/initramfs-5.15-x86_64-fallback.img
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.
Found Windows Boot Manager on /dev/nvme0n1p3@/efi/Microsoft/boot/bootmgfw.efi
Found Manjaro Linux on /dev/nvme1n1p2
Found Manjaro Linux on /dev/nvme1n1p2
Found Manjaro Linux on /dev/nvme1n1p2
Found Manjaro Linux on /dev/nvme1n1p2
Found Manjaro Linux on /dev/nvme1n1p2
Found Manjaro Linux on /dev/nvme1n1p2
Found Manjaro Linux on /dev/nvme1n1p2
Found Manjaro Linux on /dev/nvme1n1p2
Found Manjaro Linux on /dev/nvme1n1p2
Adding boot menu entry for UEFI Firmware Settings ...
Detecting snapshots ...
No snapshots found.
If you think an error has occurred, please file a bug report at "https://github.com/Antynea/grub-btrfs"
Unmount /tmp/grub-btrfs.rQ9lIvCL4f .. Success
Found memtest86+ image: /boot/memtest86+/memtest.bin
/usr/bin/grub-probe: warning: unknown device type nvme1n1.
done

Yes it is.

Maby your try restore old snapshot?

sudo timeshift --restore

And choose 20 December snap or 09-20 ( and reinstall all software )

Num     Name                 Tags   Description                                    
------------------------------------------------------------------------------
0    >  2022-09-20_15-18-32  O                                                     
1    >  2022-12-20_17-00-01  W                                                     

Im actually on the 20th December snapshot. When I saw this issue I rolled back severall times. Each time to an earlier snapshot. Initially the grub menu is fixed after an initial reboot. But quickly breaks again.

After what action GRUB to be a broken ?

The last major thing I did was move /home to a new drive. Everything was good. When I tried to update I got a complaint from timeshift saying something about subvolumes @ and @home etc.Becuase autosnap would let me update I decided to roll back the system to before I moved /home. Again everything seemed fine until I rebooted and noticed the multiple entries in grub.

This is normal.

The grub Boot menu always shows the installed kernels, until the older kernels are removed, and grub menu is updated.

Rolling back to a previous backup of your system won’t change that behaviour.

It wasn’t that behaviour I needed to fix. It was multiple instances of Manjaro on the boot menu, that where actually timeshift snapshots, but weren’t in the snapshot menu that was the issue.

Anyway I have fixed it. Apparently rolling back btrfs-progs to version 6.0.2-1 fixed it.

Timeshift snapshots are back in their snapshots menu and no multiple version of Manjaro anymore.

Cool .