I have a FAT32 partition that I use as my /boot directory. It ran out of capacity while I was trying to install new kernels.
So I expanded the boot partition from 256 MB to 512 MB. But this didn’t help. Even though the partition is 512 MB in size, it runs out of capacity with only 117.4 MB of files. In Dolphin it says “0 B free”.
Why is it that the full capacity can’t be accessed?
[liam@Liam-Manjaro-Desktop ~]$ sudo fsck.vfat -n /dev/nvme0n1p5
fsck.fat 4.2 (2021-01-31)
There are differences between boot sector and its backup.
This is mostly harmless. Differences: (offset:original/backup)
65:01/00
Not automatically fixing this.
Dirty bit is set. Fs was not properly unmounted and some data may be corrupt.
Automatically removing dirty bit.
Leaving filesystem unchanged.
/dev/nvme0n1p5: 343 files, 258078/258078 clusters
I should note that GParted gave an error when I resized the boot partition. However, it was already double the capacity that’s accessible, so the problem was probably already there.
I think your boot should be mounted at /boot/efi, not /boot, so there might be something really strange going on.
If your boot is mounted at /boot/efi almost no space is used and kernels reside on the root partition (since /boot is still on the root partition, not boot) instead and this problem would most likely never occur in the first place.
You are running a very old kernel, maybe efi was installed like that back then, I hope someone can help you with this, because to me something seems off.
Sorry, outside my comfort zone if you have gone and change boot procedures like that.
Maybe you can just boot into a live env and reformat it and reinstall grub, will probably MAYBE work, but since you have changed things in combination with boot, I can not advice more. Sorry!
i’m getting vibes that the OP has confused the EFI partition with /boot directory. unless explicitly created /boot is part of “rootfs” and in most manjaro setups EFI partition is system mounted at /boot/efi/EFI/ or /boot/efi/
Well if he has the kernel there it will be a bit more complicated. I guess he will have to mount somewhere else, and reinstall the kernel and grub…before rebooting. The whole procedure to move the /boot
What I mean is he could boot into a live env, reformat the partition (If he wanted he could backup the kernels in /boot I guess), manually mounting root and boot (at /boot/efi this time) and whatnot. chroot into the system and reinstall kernels and efi grub. Should be doable.
mhwd-kernels should take care of it all… I think…
But at the same time, I have no idea if he has changed OTHER things to point to the boot partition at /boot and not /boot/efi, therefore I say MAYBE.
Ok, so you have reformated, it, lets see if we can figure this out, are you in a live or still on your system?
What you need to do is copy everything EXCEPT the efi into your /boot, then mount the newly partitioned fat32 partition to /boot/efi (create the directory if it is not there).
After that it might work, but as I stated earlier, I do not know what you did when you moved your boot.
If you are in a live env, you need to chroot into your system AFTER you mounted both root and boot and then do the grub stuff.
Edit
Since we are not reinstalling kernels here, you also have to make sure your fstab is correct with the new uuid and that its being mounted at /boot/efi and not at /boot
Edit 2
If you want to, you can also be sure that at least one kernel gets installed, I would recommend the latest lts kernel: sudo mhwd-kernels -i linux61