My Oracle Support Banner

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

Last updated on AUGUST 04, 2018

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

To view full details, sign in with your My Oracle Support account.

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


In this Document
  Symptoms
     1. GRUB Issue
     2. Kernel Panic Issue
  Cause
     1. Analysis on GRUB Error
     2. Analysis on Kernel Panic Issue
  Solution
     1. Refresh GRUB Image on Hard Disk
     2. Reconfigure Initrd.img to Support New Hard Disk Controller
  References


This document is being delivered to you via Oracle Support's Rapid Visibility (RaV) process, and therefore has not been subject to an independent technical review.

My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.