@dalto, reinstall-kernels doesn’t overwrite the kernel with the new path-version (e.g. 6.1.21-1-lts) after reinstalling the kernel with the old path-version (6.1.20-1-lts), maybe a feature is missing?
It isn’t supposed to. kernel-install supports multiple kernel versions even if Arch doesn’t.
Those are cleaned up when the kernels are removed. The problem in this case, is that they were never removed, a snapshot was restored. Only in that case do they need to be manually removed.
I remember for sure. But as I said I prefer to have my system as if it is a fresh install from the latest ISO. And it is wise I think to follow the defaults of the amazing developers of the amazing distro.
I see, because I didn’t chroot! Right?
I don’t really know. I just updated, will reboot and see if I can figure it out. Maybe you give me the command to get it!
Rebooting after update!
[limo@asus ~]$ yay -Syyu
[sudo] password for limo:
:: Synchronizing package databases...
endeavouros 30.7 KiB 43.1 KiB/s 00:01 [------------------------------------] 100%
core 154.4 KiB 265 KiB/s 00:01 [------------------------------------] 100%
extra 1747.5 KiB 1401 KiB/s 00:01 [------------------------------------] 100%
community 7.3 MiB 1838 KiB/s 00:04 [------------------------------------] 100%
multilib 161.9 KiB 291 KiB/s 00:01 [------------------------------------] 100%
:: Starting full system upgrade...
there is nothing to do
:: Searching databases for updates...
:: Searching AUR for updates...
there is nothing to do
[limo@asus ~]$ lsblk
NAME MAJ:MIN RM SIZE RO TYPE MOUNTPOINTS
nvme0n1 259:0 0 238.5G 0 disk
├─nvme0n1p1 259:1 0 300M 0 part /efi
└─nvme0n1p2 259:2 0 238.2G 0 part /home
/var/log
/var/cache
/
[limo@asus ~]$ findmnt /efi -o size
SIZE
299.4M
[limo@asus ~]$
I don’t think I know from this how much is free in the EFI partition.
Maybe better to increase its size (if possible), just in case and for future updates!
So how to do it (better through command line. I got addicted to it) and increase the size of EFI and how much would be more than enough to count for future updates or for installing 1 or 2 more kernels?
As far as I remember my installation was from before Cassini!
UPDATE:
I booted from the live USB, Gparted, trying to change to more than 300MB it was not allowed!
Thanks @dalto
So, I can through Gparted:
1- Shrink the BTRFS Partition (hopefully wont lose data!)
2- Increase The EFI Partition by up to that shrinked amount
(Sure this will not affect the system or its booting? Any precautions do or don’t?)
What size would you recommend?
It depends how many kernels you want to install. For example, a 5TB EFI partition would let you install over 15,000 kernels. Maybe twice that many depending on what drivers you need.
However, the installer uses 1GB as the default size for the ESP.
You are right @dalto
But well, one last question, (I promise I will tryt least it will be the last question), if with one LTS kernel if something wrong happens I still can boot from a live USB and almost repeat what has been done here to reinstall the LTS kernel, Arch kernel or an earlier version fo the LTS kernel.
The same as has been done in this thread!
Am I getting it correct?
P.S:
Just to update you I just did a live EndeavourOS_Cassini_Nova-03-2023.iso USB.