kernel panic – not syncing: VFS: unable to mount root fs on unknown-block(0,0)

This error has been thrown while upgrading from Red Hat 6.3 Santiago to Red Hat 6.5
Kernel panic - not syncing: VFS: Unable to mount root fs on unknown-block(0,0)
Pid: 1, comm: swapper Not tainted 2.6.32-431.17.1.el6.i686 #1
Call Trace:
[] ? panic+0x6e/0x122
[] ? mount_block_root+0x1dd/0x274
[] ? prepare_namespace+0x14b/0x191
[] ? sys_access+0x1f/0x30
[] ? kernel_init+0x226/0x234
[] ? kernel_init+0x0/0x234
[] ? kernel_thread_helper+0x7/0x10

The error was most probably caused by some kernel bug (see references).

SOLUTION:
dracut

  1. Navigate to /boot/ directory
  2. Run the command to recreate an initial RAM disk image:
    dracut "initramfs-$(uname -r).img" $(uname -r)
  3. Reboot the machine

References:
https://access.redhat.com/site/documentation/en-US/Red_Hat_Enterprise_Linux/6/html/Deployment_Guide/sec-Verifying_the_Initial_RAM_Disk_Image.html

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s