Attempting to upgrade from 37 to 38 but encountering error. Previously set kernel limit to two, but still get the error.
Error: Transaction test error:
installing package kernel-core-6.2.15-300.fc38.x86_64 needs 18MB more space on the /boot filesystem
installing package grub2-efi-ia32-1:2.06-95.fc38.x86_64 needs 20MB more space on the /boot filesystem
installing package grub2-efi-ia32-cdboot-1:2.06-95.fc38.x86_64 needs 20MB more space on the /boot filesystem
Error Summary
-------------
Disk Requirements:
At least 20MB more space needed on the /boot filesystem.
kernel-6.2.12-200.fc37.x86_64
kernel-6.2.14-200.fc37.x86_64
Filesystem Size Used Avail Use% Mounted on
/dev/nvme0n1p2 974M 880M 27M 98% /boot
├─nvme0n1p1 259:1 0 600M 0 part /boot/efi vfat 6A48-0764
├─nvme0n1p2 259:2 0 1G 0 part /boot ext4 60317848-5193-4534-a690-9d27b12d92d6
Research suggests needing more than 1G for /boot doesn’t sound right. Q1 so what needs fixing if this is the case?
Research to resize /boot is beyond my tech know-how regarding unmounting. I do have 2G available but I have no idea how to give it to /boot. Q2 is resizing /boot possible for a newbie?
As a newbie, it sounds like I have to install and start over. If so, how do I avoid this boot issue again? I previously used the default setup or if I understand correctly without LVM. Q3 I don’t recall but do you choose LVM during install?
Argh, easy updates and upgrades is why I chose over Ubuntu on one hand, and Arch type on the other.
YIKES, the above makes it look like I am a user error. As far as I can tell, I have not activated timeshift and see excluded root settings. Is the next step simply running the following: sudo dnf remove timeshift. Will it remove the above?
Why, timeshift is nothing bad. It makes snapshots of your system.
Description : Timeshift for Linux is an application that provides functionality similar to
: the System Restore feature in Windows and the Time Machine tool in Mac OS.
: Timeshift protects your system by taking incremental snapshots of the file
: system at regular intervals. These snapshots can be restored at a later date
: to undo all changes to the system.
:
: In RSYNC mode, snapshots are taken using rsync and hard-links. Common files
: are shared between snapshots which saves disk space. Each snapshot is a full
: system backup that can be browsed with a file manager.
:
: In BTRFS mode, snapshots are taken using the in-built features of the BTRFS
: filesystem. BTRFS snapshots are supported only on BTRFS systems having an
: Ubuntu-type subvolume layout (with @ and @home subvolumes).
Bit if it makes them in your /boot folder it can be a problem because of the space.
Maybe the easiest way.
But maybe someone else has a idea how to fix.
Please show us lsblk -f so we do have a better picture how your installation is made.
It looks like you chose to save Timeshift’s snapshots in /boot.
That filled up the 1 GB quickly and snapshotting likely failed.
So, how about removing /boot/timeshift/snapshots, then updating, then setting up timeshift again, this time with a more appropriate snapshot destination?
I read timeshift places its snapshots in /timeshift of the backup device you select. You may have accidentally choosen your /boot partition as snapshot drive. Change that and delete /boot/timeshift.
sudo dnf remove timeshift you can give it a try. Before you hit y you can check if there are more files deleted than timeshift it selves.
I do not believe that this will remove the folder timeshift in /boot. Mostly apps just remove the binaries and let the config/data on the system in case you install it again.
I propose to do as @augenauf said. Remove timeshift data from /boot
Instaed of using timeshift on your main system again, you could test it in a VM first. To see how it works and affects your system.
My recent install of the Timeshift app was the problem. I recall performing a quick review of the app. However, I don’t recall setting anything let alone snapshots in /boot. But it was set on the /boot partition.
Care does have to be taken to remove the snapshot folder contents. The biggest folders were /boot /bin and /usr. Once you figure out how much to delete at a given time. The cleanup job was relatively quick.