Grub "Hard Disk Error" and "Switchroot Mount" Error Caused "Kernel Panic" (Doc ID 454422.1)

Last updated on MARCH 08, 2017

Applies to:

Linux Kernel - Version: 4.4 to 4.6
This problem can occur on any platform.

Symptoms

This is a very common issue which system administrator could run into when he tries to replace hard disk controller with a new one. The error could be either or both of the followings:

1. GRUB Issue

When system loads GRUB boot image from hard disk, it could be seen:
"GRUB hard disk error"
on the screen and startup hangs there.

2. Kernel Panic Issue

When the GRUB boot menu appears and one kind of kernel is selected to start up, the kernel gets panic :
MOUNT: ERROR 6 MOUNTING EXT3
MOUNT: ERROR 2 MOUNTING NONE
SWITCHROOT: MOUNT FAILED:22
UNMOUNT /INITRD/DEV FAILED: 2
KERNEL PANIC - NOT SYNCING: ATTEMPTED TO KILL INIT!

Cause

Sign In with your My Oracle Support account

Don't have a My Oracle Support account? Click to get started

My Oracle Support provides customers with access to over a
Million Knowledge Articles and hundreds of Community platforms