Jump to content
Welcome to our new Citrix community!
  • 0

Kernel panic - not syncing: Attempted to kill init!

Muhammadsalim Msalim


Hello,When connecting a second hard drive  and after reboot 

there is an error


Switching to new root and running init.
unmounting old /dev
unmounting old /proc
unmounting old /sys
switchroot: mount failed: No such file or directory
Kernel panic - not syncing: Attempted to kill init


I made a copy of my hard drive to another hard drive 

and made a recovery via Centos 5.6


chroot /mnt/sysimage

cd /boot/

mv initrd-2.6.18-238.12.1.el5.img initrd-2.6.18-238.12.1.el5.img.back

mkinitrd /boot/2.6.18-238.12.1.el5.img 2.6.18-238.12.1.el5




after reboot, the system boots as Сentos 5.6 I can not login, not a valid password


I want to make a recovery from the original hard drive Centos gives me that can not find the original file :(


help me recover 






Link to comment

4 answers to this question

Recommended Posts

Connecting a second hard drive shouldn't have killed XenServer. I'm not CentOS savvy enough 

to help, only thing I could suggest is disconnecting the second hard drive and reinstalling 

XenServer. If you have VM's on local storage be sure and use the option to preserve your 

local strorage data.




Link to comment


This topic is now archived and is closed to further replies.

  • Create New...