LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Help boot CentOS bug (https://www.linuxquestions.org/questions/linux-newbie-8/help-boot-centos-bug-4175535010/)

tuanit 02-24-2015 07:31 PM

Help boot CentOS bug
 
My server encountered an error while booting the image. Thanks for your help fixing.

http://i1268.photobucket.com/albums/...pss252lsxo.jpg

tuanit 02-24-2015 08:14 PM

Help !!!

Ztcoracat 02-24-2015 08:35 PM

Can you mount the CentOS partition?
-if so, does /sbin/init exist?

Are you running CentOS 6 or 7?

Run fsck if something is wrong fsck will find it.
Code:

fsck /dev/sdx
Where x is the partition. If it's the only partition on your machine it's most likely sda1.
If you have a second drive it would be sdb1.

It could be possible that one of the lib's that init depends on might be missing.
Code:

chroot /mnt/centos
Try running this to see which libraries init depends on.
Code:

ldd /sbin/init
As to the "kernel panic - not syncing: Attempted to kill init"
Could be your HDD. How old is it?

https://bbs.archlinux.org/viewtopic.php?id=146960
http://www.maketecheasier.com/check-...em-fsck-linux/
https://wiki.archlinux.org/index.php/Kernel_Panics

tuanit 02-24-2015 08:39 PM

Thank you, I will try.

Ztcoracat 02-24-2015 08:43 PM

Quote:

Originally Posted by tuanit (Post 5322915)
Thank you, I will try.

Your Welcome: tuanit

Good luck:-


All times are GMT -5. The time now is 06:19 AM.