Answer the question
In order to leave comments, you need to log in
Kernel panic after reboot - is it reanimated?
Hello and flourish.
The following problem arose: it turned out that the kernel was updated, but the reboot was not performed.
Oracle Linux 6.7 system.
There are two kernels - 2.6.32-504 (current) and 2.6.32-573.22.1 (updated)
[[email protected] ~]# uname -a
Linux cf.office.dc 2.6.32-504.el6.x86_64 #1 SMP Tue Oct 14 01:47:47 PDT 2014 x86_64 x86_64 x86_64 GNU/Linux
[[email protected] ~]# yum list kernel
Installed Packages
kernel.x86_64 2.6.32-504.el6 @local_ol6_latest
kernel.x86_64 2.6.32-573.22.1.el6 installed
Kernel panic - not syncing: VFS: unable to mount root fs on unknown-block(0,0)
Pid: 1, comm: swapper Not tainted 2.6.32-573.22.1.el6.x86_64
[[email protected] ~]# dracut /boot/initramfs-2.6.32-573.22.1.el6.x86_64.img 2.6.32-573.22.1.el6.x86_64
modprobe: FATAL: Could not load /lib/modules/2.6.32-573.22.1.el6.x86_64/modules.deb, no such file or directory.
Answer the question
In order to leave comments, you need to log in
Found out as a result.
the initrd image created by dracut was indeed missing the necessary files.
View modules:
[[email protected] test] gunzip -c initramfs-2.6.32-573.22.1.el6.x86_64.img | cpi --list | grep dep
[[email protected] test]
We see that there really are no modules - delete the non-working initramfs file and create a new one, but not with dracut, but with mkinitrd:
[[email protected] test]# mkinitrd initramfs-2.6.32-573.22.1.el6. x86_64.img 2.6.32-573.22.1.el6.x86_64
[[email protected]]# gunzip -c initramfs-2.6.32-573.22.1.el6.x86_64.img | cpi --list | grep dep
lib/modules/2.6.32-573.22.1.el6.x86_64/modules.dep.bin
lib/modules/2.6.32-573.22.1.el6.x86_64/modules.softdep
lib/modules/2.6.32- 573.22.1.el6.x86_64/modules.dep
[[email protected]]#
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question