Linux - Recovery from kernal panic boot rescue, Simple steps to recover from kernal panic

Recovery from kernal panic boot rescue

How to recover linux machine from kernel panic error?

Kernel panic boot rescue:when there is a kernel panic on server, we might need to have a serious look on it, That too if its a production box then you must consider it very seriously. Normally the below steps are used at first as a recovery method for restoring your machine from kernel panic.

A typical entry in menu.lst looks like this:
title Red Hat Enterprise Linux (2.6.32-71.el6.x86_64)
  root (hd0,0)
  kernel /vmlinuz-2.6.32-71.el6.x86_64 ro root=/dev/sda1 crashkernel=auto rhgb quiet
  initrd /initramfs-2.6.32-71.el6.x86_64.img

From grub command line you can boot machine as follows
  grub> root (hd0,0)

  grub> kernel /vmlinuz-2.6.32-71.el6.x86_64 

  grub> initrd /initramfs-2.6.32-71.el6.x86_64.img

  grub> boot
For booting like this you must be aware of the kernel you use. you can boot the machine using initrd image as above.

  grub> root (hd0,0)

  grub> setup (hd0) (hd0,0)

  grub> quit

For rescue disk you might look at www.sysresccd.org

The topic on Linux - Recovery from kernal panic boot rescue is posted by - Math

Hope you have enjoyed, Linux - Recovery from kernal panic boot rescueThanks for your time

Tech Bluff