I can’t figure out why it’s doing this whatsoever and would really like to fix… whatever’s going on here. It’s been doing this for a few months now but I’ve just been kinda relying on downgrade where necessary. However, I’d like to fix this at this point but I’m not sure what’s going on. I select a snapshot from the grub menu, try and boot into it and it’ll hang after a bit. I can swap to a different TTY and see a couple errors while it hangs. There are two about samba daemons failing to start but also another with rotate log files, running systemctl status logrotate.service seems to reveal that it’s in read only mode. I assume this to be the problem but am not certain how to fix it and need some help.
I had another go at it and it appears that after I select a snapshot, at the top (which I didn’t quite realize at first) there were some additional errors, systemd[1]; Failed to start Remount Root and Kernel File Systems and hid-generic 003:0D8C:0005.0006: No inputs registered. leaving
I did need to replace my motherboard and CPU back in March but I did some looking into my previous experiences about this issue, and I first noticed it at the start of May. I suppose it is possible I didn’t notice until then because I had no need to try and restore.
Notably, -b -1 is significantly shorter compared to the others. I booted in, swapped to TTY 2, filled in my credentials and shut it down from the command line.
The only time i had problems loading snap shots, was when i ran more than one kernel, and did not have the running kernel in first position on the grub menu.
Do you use more than one kernel? And has the running kernel not been your first grub menu option?
The point of previous boot sessions is not for curiosity. It is to explain how to get the correct boot session.
We would need the failed boot session after choosing a snapshot.
The previous boot session (-b -1), does not look like it is trying to boot to a snapshot (or I need some more sleep ).
A succesful boot is not interesting .
Okay so… I tried booting into one again to grab the log but journalctl isn’t showing me the session. The output of journalctl --list-boots shows the following
I tried a couple times to get one, at first between -2 and -1 and then again between -1 and 0. My only guess is that the lack has something to do with my system being in read-only mode so it cannot actually create it.
Okay so I had some free time to do some more looking into this.
I booted back into a snapshot and tabbed over to a TTY and logged in and opened up journalctl -bb 0 and grabbed some pics of the log I thought might be relevant, which are below. There were some errors about the display server failing to start, though I did get the idea to try running startplasma-wayland and that seems to have worked in getting everything up visually. It was notably slow however and kept throwing errors at me about everything being in read-only but I did eventually get in and was presented with the option from Snapper to restore the snapshot.
Assuming that sudo find /etc -type f -name "*.pacnew" is the correct way to find them, it appears that I have a few, yes.
As for the hooks line, it reads as follows: HOOKS="base udev autodetect modconf block keyboard keymap consolefont plymouth filesystems grub-btrfs-overlayfs"
Looks like I do, yes. And opening it, it also looks like it’s got the mirocode hook in the right spot too.
As for the line in the kernel preset, it doesn’t look like that was present. I’ll make the other changes and update this once I’ve gotten them done and all.
As for the .pacnew files, are the rest of any concern as well?
You should examine them to see what the changes are. In some cases, pacnew files have changes which should be incorporated into your version of the config.
Be sure to not overwrite the existing file, unless you are absolutely certain you know what you are doing. See also this article:
Note: Even when you have not edited a file manually, do not blindly overwrite a live file with its .pacnew version. Always compare and merge the changes manually.
sudo update-grub
Generating grub configuration file ...
Found theme: /usr/share/grub/themes/garuda-dr460nized/theme.txt
Found linux image: /boot/vmlinuz-linux-zen
Found initrd image: /boot/initramfs-linux-zen.img
Found fallback initrd image(s) in /boot: initramfs-linux-zen-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/sdd1@/EFI/Microsoft/Boot/bootmgfw.efi
Adding boot menu entry for UEFI Firmware Settings ...
Detecting snapshots ...
Found snapshot: 2024-07-09 11:12:18 | @/.snapshots/1038/snapshot | post | botan botan2 corectrl discord dxvk-mingw-git gdb gdb-common keepassxc li |
Found snapshot: 2024-07-09 11:11:52 | @/.snapshots/1037/snapshot | pre | pacman -Su |
Found snapshot: 2024-07-08 10:36:13 | @/.snapshots/1036/snapshot | post | abaddon-git b43-fwcutter blender btrfsmaintenance ca-certificates-mozill |
Found snapshot: 2024-07-08 10:35:18 | @/.snapshots/1035/snapshot | pre | pacman -Su |
Found snapshot: 2024-07-04 13:58:15 | @/.snapshots/1034/snapshot | post | abaddon-git adobe-source-code-pro-fonts aha akonadi akonadi-calendar ako |
Found snapshot: 2024-07-04 13:57:04 | @/.snapshots/1033/snapshot | pre | pacman -Su |
Found snapshot: 2024-06-26 17:33:53 | @/.snapshots/1032/snapshot | post | abaddon-git balena-etcher blender boost boost-libs bullet-dp electron31 |
Found snapshot: 2024-06-26 17:33:43 | @/.snapshots/1031/snapshot | pre | pacman -Su |
Found 8 snapshot(s)
Unmount /tmp/grub-btrfs.EGFnpPhWCZ .. Success
Found memtest86+ image: /boot/memtest86+/memtest.bin
done