You are not logged in.
I recently installed a new arch os using btrfs. I have gotten snapper running and the snapshots are working as usual.
When I run
sudo snapper lsI get 68 snapshot entries. Now when I run
sudo grub-mkconfig -o /boot/grub/grub.cfgI get only the most recent 50 entries.
In my /etc/snapper/configs/root file I have set it as such:
# limit for number cleanup
NUMBER_MIN_AGE="1800"
NUMBER_LIMIT="100"
NUMBER_LIMIT_IMPORTANT="10"
# create hourly snapshots
TIMELINE_CREATE="yes"
# cleanup hourly snapshots after some time
TIMELINE_CLEANUP="yes"
# limits for timeline cleanup
TIMELINE_MIN_AGE="1800"
TIMELINE_LIMIT_HOURLY="10"
TIMELINE_LIMIT_DAILY="10"
TIMELINE_LIMIT_WEEKLY="0"
TIMELINE_LIMIT_MONTHLY="10"
TIMELINE_LIMIT_YEARLY="24"
Now I cannot figure out why when I make the grub config it is only pulling the recent 50 entries.
Last edited by qherring (2023-06-28 05:20:20)
Offline
I was also to solve this by uncommenting the GRUB_BTRFS_LIMIT="100" and changing the number.
The problem I have now I that when I boot into my snapshot and try to run
sudo mount /dev/nvme1n1p2 -o subvolid=5 /mntIt refuses due to "unknown filesystem type 'crypto_LUKS'"
Is there a special process to follow for mounting encrypted volumes?
Offline
What is /boot in your case? If you're mounting your ESP there then the problem will be that you are booting into a snapshot whose modules (/usr/lib/modules) have an older kernel than the one you are booting with, so the booting kernel can't load any modules anymore. Either boot the fallback image or configure your snapshots to not snapshot/rollback /usr/lib/modules.
Since that is offtopic in regards to your original issue, please mark this one as [SOLVED] and continue in a new thread for the other issue if need be.
Offline