[SOLVED] Kernel panic not syncing vfs unable to mount root fs on unknown-block (0,0) - [RHEL 7/CentOS 7]


Kernel panic not syncing vfs unable to mount root fs on unknown-block (0,0) - [RHEL 7/CentOS 7] 

Updating RHEL server is easy if it works fine. Some times we face Kernel panic not syncing vfs unable to mount root fs on unknown-block due to updating failure for Kernel to latest available package OS gives error after reboot.

Also follow Yum error - package is a duplicate with  and  RHNS CA file: /usr/share/rhn/RHN-ORG-TRUSTED-SSL-CERT for yum update related other errors. 

This mean server failed to boot using latest kernel package. Here we have to uninstall the kernel package.

Kernel panic not syncing vfs unable to mount root fs on unknown-block: 3 Easy steps 

Step 1: Reboot Server
# init 6
Boot the server with working kernel.

Step 2: Find installed all kernel versions
# rpm -qa kernel
kernel-3.10.0-862.14.4.el7.x86_64
kernel-3.10.0-957.21.3.el7.x86_64
kernel-3.10.0-514.el7.x86_64

Step 3: Find current kernel to which OS booting
# uname -r
3.10.0-862.14.4.el7.x86_64

Step 4: Remove the latest kernel and revert back the previous kernel.
# yum remove kernel-3.10.0-957.21.3.el7.x86_64


Also follow Yum error - package is a duplicate with  and  RHNS CA file: /usr/share/rhn/RHN-ORG-TRUSTED-SSL-CERT for yum update related other errors.
 

Comments

Popular posts from this blog

[SOLVED] YUM: can not find RHNS CA file ERROR: can not find RHNS CA file: /usr/share/rhn/RHN-ORG-TRUSTED-SSL-CERT

Setting an Operating System Release During Registration

YUM Update ERROR: 28, 'Operation too slow. Less than 1000 bytes/sec transferred the last 30 seconds' Trying other mirror