I have an older system. It was originally installed with F24 so it has a 1GB /boot partition on a 1TB disk.
I have to delete older kernels to get newer ones to install, which is annoying. I would like to expand the boot partition.
I have tried KDE Partition Manager, Gnome Disks, and GParted under both Gnome and KDE/Plasma. None of them will allow me to dismount the data partition. KDE Partition Manager said something about being unable to dismount 3 logical drives. There are only an sda1 and sda2 that I can see.
Is there a way to repartition the disk (without losing data) or do I have to do a full install?
You should boot a live system from USB and use gparted or gnome disks whichever is available. But it depends on how the disk was partitioned and some configurations may not allow to resize your partitions.
Don’t use fdisk or parted because when resizing a partition you also need to resize the file system contained in that partition. The gparted utility knows how to resize both the partition and file system.
All true, but I’d recommend first to look into options to reduce the size of the initramfs files.
Should have checked the hash tags. My system also has a nvidia gpu, and usually you can ignore most of the nvidia gsp firmware files or omit the nouveau driver, debloating the initramfs files even more.
I have an Nvidia GeForce GTX 950. Recently the initramfs ballooned from 105MB to 168MB. Right now they’re about 149MB.
I thought I’d taken out the nouveau driver, but that was probably a few upgrades ago. DNFDragora was useful in picking through files to install/uninstall, but that stopped working after the f42 upgrade.
which is weird since I can see it in Dolphin. I tried “sudo cat /etc*” and got the same error. I also tried putting the file in /usr/lib/dracut/dracut.conf.d - same error
You could have deleted the initramfs file, which was going to be regenerated anyway, or moved it to another filesystem.
You can now try to regenerate the initramfs files for the other installed kernels.
To be sure, backup the initramfs files first.
Then sudo dracut --kver kernelversion -f, replace kernelversion with the version for the kernel you want to regenerate the initramfs file.
e.g. dracut --kver 2.6.40-1.rc5.f20
You can also use --regenerate-all instead of --kver <kernelversion> but this will recreate initramfs files for all kernels including the rescue kernel.
At this point, I wouldn’t reinstall just to extend /boot to 2GB.
I’m thinking about. Not going to do anything for a while. Not going to f43 until I can figure out if the Wacom tablet will work properly (it’s a bit squirrely on Wayland).