Resizing /boot: At least 8MB more space needed on the /boot filesystem.
I think I need to expand my /boot partition. What is the safest way of doing so given an LVM on LUKS partition scheme? The partition scheme is listed at the bottom of this post.
After trying to upgrade my system with sudo dnf upgrade
, I get the following error message:
$ sudo dnf upgrade
At least 8MB more space needed on the /boot filesystem.
The output of df -h /boot
is
$ df -h /boot
Filesystem Size Used Avail Use% Mounted on
/dev/nvme0n1p1 239M 196M 27M 89% /boot
I have tried deleting old kernels as described in the next link, but the dnf remove command dnf remove $( dnf repoquery --installonly --latest-limit -1 -q )
doesn't work: https://ask.fedoraproject.org/en/ques...
NAME MAJ:MIN RM SIZE RO TYPE MOUNTPOINT
nvme0n1 259:0 0 238.5G 0 disk
├─nvme0n1p1 259:1 0 250M 0 part /boot
├─nvme0n1p2 259:2 0 144M 0 part /boot/efi
└─nvme0n1p3 259:3 0 238.1G 0 part
└─luks-aaaaaaaaaaaaaaaaaaaaaaaaa 253:0 0 238.1G 0 crypt
├─lvg-root 253:1 0 13G 0 lvm /
├─lvg-swap 253:2 0 10G 0 lvm [SWAP]
└─lvg-home 253:3 0 215.1G 0 lvm /home