"extra" images in /boot folder
My system originally had Fedora 23 - I'm now running F29 and it looks like some things haven't been cleared out during various upgrades.
Ex 1: I still have the F23 Rescue image appearing in the Grub menu. I've run ' dnf rm /boot/"rescue" ' a couple of times, but the file still shows. When I look at the list of files in /boot there is an "initramfs-0-rescue" and a "vmlinuz-0-rescue" with the same identifying number.
Ex 2: When I list files in the /boot directory there is an image "initramfs-4.17.2-200.fc28"
How do I get rid of the unneeded files?
This is probably because that's not a valid command for
dnf
. Not only do you have to specify a package, not a file, you useremove
orerase
. Useman dnf
for more information.