On 21/3/18 7:24 am, CLOSE Dave wrote:
Roger Heflin wrote:

I would run this and see where rpm thinks they should be since they
are not in /boot
  rpm -qa --filesbypkg | grep -i vmlinuz
Evidently, RPM thinks they should be in /boot (as I would expect):

$ rpm -qa --filesbypkg | grep -i vmlinuz
kernel-core      /boot/.vmlinuz-4.15.9-300.fc27.x86_64.hmac
kernel-core      /boot/vmlinuz-4.15.9-300.fc27.x86_64
kernel-core      /lib/modules/4.15.9-300.fc27.x86_64/.vmlinuz.hmac
kernel-core      /lib/modules/4.15.9-300.fc27.x86_64/vmlinuz
kernel-core      /boot/.vmlinuz-4.14.11-300.fc27.x86_64.hmac
kernel-core      /boot/vmlinuz-4.14.11-300.fc27.x86_64
kernel-core      /lib/modules/4.14.11-300.fc27.x86_64/.vmlinuz.hmac
kernel-core      /lib/modules/4.14.11-300.fc27.x86_64/vmlinuz
kernel-core      /boot/.vmlinuz-4.15.8-300.fc27.x86_64.hmac
kernel-core      /boot/vmlinuz-4.15.8-300.fc27.x86_64
kernel-core      /lib/modules/4.15.8-300.fc27.x86_64/.vmlinuz.hmac
kernel-core      /lib/modules/4.15.8-300.fc27.x86_64/vmlinuz

Just as a matter of interest, the directories on my system in /boot/"rescue directory", of which there are only 3 matching the installed kernels are all empty.

Also, where are the config, initramfs and system.map files stored for the kernels you have installed?

I also have a couple of questions (which may be off topic here) around the contents of /boot.

With the dkms compiling of my wifi, nvidia and mouse drivers, a recent innovation in dkms is to run dracut. The first thing that dracut does is create a backup copy of the relevant initramfs before it rebuilds it. Are we required to manually remove those dracut created backups when dnf removes the associated kernel?

Secondly, does anyone else have .vmlinuz.hmac-$(kernelver) files lying around in /boot? I have a mountain of these in there, of which only 1 actually matches an installed kernel. The name of one of these files, because its name is non-standard compared to the rest, is potentially giving an indication of where they originated from, but I just wanted to check whether they were normal, and whether or not like the dracut backup, we are expected to remove them manually?

regards,

Steve

_______________________________________________
users mailing list -- users@lists.fedoraproject.org
To unsubscribe send an email to users-le...@lists.fedoraproject.org

Reply via email to