On 03/19/2018 11:54 AM, CLOSE Dave wrote:
> Fedora 27 x86_64. When DNF installs a new kernel, it isn't going into
> the right place (/boot) and is not detected by GRUB. Why not?
> 
> For example, after installing the most recent new kernel, I see this.
> 
> [root@machine ~]# ls /boot
> 7725dfc225d14958a625ddaaaea5962b
> config-4.14.11-300.fc27.x86_64
> efi
> extlinux
> grub2
> initramfs-0-rescue-7725dfc225d14958a625ddaaaea5962b.img
> initramfs-4.14.11-300.fc27.x86_64.img
> initrd-plymouth.img
> loader
> lost+found
> System.map-4.14.11-300.fc27.x86_64
> vmlinuz-0-rescue-7725dfc225d14958a625ddaaaea5962b
> vmlinuz-4.14.11-300.fc27.x86_64
> 
> [root@machine ~]# ls /boot/7725dfc225d14958a625ddaaaea5962b
> 0-rescue                 4.13.10-200.fc26.x86_64  4.13.9-200.fc26.x86_64
> 4.11.11-300.fc26.x86_64  4.13.11-200.fc26.x86_64  4.14.11-300.fc27.x86_64
> 4.12.11-300.fc26.x86_64  4.13.12-200.fc26.x86_64  4.14.4-200.fc26.x86_64
> 4.12.12-300.fc26.x86_64  4.13.13-200.fc26.x86_64  4.14.5-200.fc26.x86_64
> 4.12.13-300.fc26.x86_64  4.13.15-100.fc25.x86_64  4.14.6-200.fc26.x86_64
> 4.12.14-300.fc26.x86_64  4.13.15-200.fc26.x86_64  4.15.8-300.fc27.x86_64
> 4.12.5-300.fc26.x86_64   4.13.16-200.fc26.x86_64  4.15.9-300.fc27.x86_64
> 4.12.8-300.fc26.x86_64   4.13.16-202.fc26.x86_64
> 4.12.9-300.fc26.x86_64   4.13.4-200.fc26.x86_64
> 
> But RPM thinks the new kernel was installed correctly!
> 
> [root@machine ~]# rpm -V kernel-core-4.15.9-300.fc27

Sure looks like the scriptlet didn't run. I think you should get a
report about the initramfs image and the system map having different
modes and that they're ghost files (not part of the package payload as
they are created by the post-install scriptlet). I get:

[root@golem4 boot]# rpm -V kernel-core-4.15.9-300.fc27.x86_64
.M.......  g /boot/System.map-4.15.9-300.fc27.x86_64
.M.......  g /boot/initramfs-4.15.9-300.fc27.x86_64.img

(the "M" means different modes and the "g" means "ghost file"). Check
your dnf logs to verify that something didn't go wrong during the
install process.
----------------------------------------------------------------------
- Rick Stevens, Systems Engineer, AllDigital    ri...@alldigital.com -
- AIM/Skype: therps2        ICQ: 22643734            Yahoo: origrps2 -
-                                                                    -
-    "Hello. My PID is Inigo Montoya.  You `kill -9'-ed my parent    -
-                     process.  Prepare to vi."                      -
----------------------------------------------------------------------
_______________________________________________
users mailing list -- users@lists.fedoraproject.org
To unsubscribe send an email to users-le...@lists.fedoraproject.org

Reply via email to