I’ve been installing various versions of Manjaro (eg testing, KDE, Gnome flavours) and other distros on my system and I eventually broke GRUB. I fixed it with the top-notch wiki guide here but in the mean time I installed a what turned out to be a naughty problem called grub-customizer which breaks things. Anyway, I fixed my GRUB with chroot with the guide to get Manjaro booting again with various kernel options but try as I might I can’t get snapshots back into the GRUB menu.
I have done the following:
- set correct drive to boot from in BIOS
- reinstalled GRUB
update-grub- done
mkinitcpio -P - reinstalled
GRUB-BTRFS - removed deprecated entries from GRUB with
efibootmgr - checked the config with
systemctl edit --full grub-btrfsd - and
/etc/default/grub-btrfs/config - reinstalled
timeshift-autosnap - reinstalled
inotify-tools
I think this error (3rd line from bottom here) might be a clue somehow:
sudo systemctl status grub-btrfsd ✔ 12s
● grub-btrfsd.service - Regenerate grub-btrfs.cfg
Loaded: loaded (/etc/systemd/system/grub-btrfsd.service; enabled; preset: disabled)
Active: active (running) since Tue 2024-05-21 14:44:01 NZST; 31min ago
Main PID: 885 (bash)
Tasks: 3 (limit: 18285)
Memory: 15.7M (peak: 30.1M)
CPU: 2.854s
CGroup: /system.slice/grub-btrfsd.service
├─ 885 bash /usr/bin/grub-btrfsd --syslog --timeshift-auto
├─ 894 bash /usr/bin/grub-btrfsd --syslog --timeshift-auto
└─20155 inotifywait -q -q -e create -e delete /run/timeshift
May 21 15:03:21 user-asustuf root[19430]: 40grub2: debug: parsing: linux /@/boot/memtest86+/memtest.efi
May 21 15:03:21 user-asustuf root[19430]: 40grub2: debug: parsing: }
May 21 15:03:21 user-asustuf root[19430]: 40grub2: result: /dev/nvme1n1p3:/dev/nvme1n1p3:Memory Tester (memtest86+):/@/boot/memtest86+/memte>
May 21 15:03:21 user-asustuf root[19430]: 40grub2: debug: parsing: fi
May 21 15:03:21 user-asustuf root[19430]: 40grub2: debug: parsing: ### END /etc/grub.d/60_memtest86+-efi ###
May 21 15:03:21 user-asustuf root[19430]: linux-boot-prober: debug: /usr/lib/linux-boot-probes/mounted/40grub2 succeeded
May 21 15:03:21 user-asustuf root[19430]: linux-boot-prober: error: umount error, retrying after 1 sec
May 21 15:03:23 user-asustuf grub-btrfsd[20130]: [!] Error during grub menu creation (grub/ grub-btrfs error)
May 21 15:03:24 user-asustuf grub-btrfsd[20150]: 894: detected timeshift shutdown
May 21 15:03:24 user-asustuf grub-btrfsd[20154]: Watching /run/timeshift for timeshift to start
I note the ‘grub2’ there which could be was it SUSE or Fedora?
sudo grub-mkconfig -o /boot/grub/grub.cfg ✔
Generating grub configuration file ...
Found theme: /usr/share/grub/themes/manjaro/theme.txt
Found linux image: /boot/vmlinuz-6.9-x86_64
Found initrd image: /boot/amd-ucode.img /boot/initramfs-6.9-x86_64.img
Found initrd fallback image: /boot/initramfs-6.9-x86_64-fallback.img
Found linux image: /boot/vmlinuz-6.8-x86_64
Found initrd image: /boot/amd-ucode.img /boot/initramfs-6.8-x86_64.img
Found initrd fallback image: /boot/initramfs-6.8-x86_64-fallback.img
Found linux image: /boot/vmlinuz-6.6-x86_64
Found initrd image: /boot/amd-ucode.img /boot/initramfs-6.6-x86_64.img
Found initrd fallback image: /boot/initramfs-6.6-x86_64-fallback.img
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
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 Manjaro Linux on /dev/nvme1n1p3
Adding boot menu entry for UEFI Firmware Settings ...
done