modified | Thursday 13 March 2025 |
---|
recently I noticed that trying to reinstall-kernels
fails because there was not enough space in my /boot
directory. This directory is mounted from the EFI System Partition (ESP) created by windows.
Windows creats a really small partition I believe 100MB which is not enough enymore. the recommended size is 2GB. So I had to resize the partition.
I have 3 disks in my system
I don’t know how I ended up with ESP on the third disk but anyways.
So I needed to resize D3 P2 to be 2GB. turns out gnome-disks
doesn’t allow resizing the partition. and in general there is no software on linux or windows that allows manipulating this partition.
I had to do the following:
/boot
content to /boot-backup
/boot-backup
/etc/fstab
Rebooted and windows started automatically. the partition wasn’t recognized by the motherboard.
I tried several steps. mainly:
mount -a
efibootmgr
didn’t workbootctl install
that one finally worked