Re: Kernel installed in wrong location

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe send an email to users-leave@xxxxxxxxxxxxxxxxxxxxxxx



[Index of Archives]     [Older Fedora Users]     [Fedora Announce]     [Fedora Package Announce]     [EPEL Announce]     [EPEL Devel]     [Fedora Magazine]     [Fedora Summer Coding]     [Fedora Laptop]     [Fedora Cloud]     [Fedora Advisory Board]     [Fedora Education]     [Fedora Security]     [Fedora Scitech]     [Fedora Robotics]     [Fedora Infrastructure]     [Fedora Websites]     [Anaconda Devel]     [Fedora Devel Java]     [Fedora Desktop]     [Fedora Fonts]     [Fedora Marketing]     [Fedora Management Tools]     [Fedora Mentors]     [Fedora Package Review]     [Fedora R Devel]     [Fedora PHP Devel]     [Kickstart]     [Fedora Music]     [Fedora Packaging]     [Fedora SELinux]     [Fedora Legal]     [Fedora Kernel]     [Fedora OCaml]     [Coolkey]     [Virtualization Tools]     [ET Management Tools]     [Yum Users]     [Yosemite News]     [Gnome Users]     [KDE Users]     [Fedora Art]     [Fedora Docs]     [Fedora Sparc]     [Libvirt Users]     [Fedora ARM]

  Powered by Linux