1:kernel panic -not syncing: Attempted to kill init
1:kernel panic -not syncing: Attempted to kill init
这里是没有libselinux包的,需要上传后,再进行卸载掉
rpm -e --nodeps libselinux-2.0.94-5.3.el6_4.1.x86_64
xshell界面不能断开,断开后是连接不上的,另外大部分命令是无法使用的
1:kernel panic -not syncing: Attempted to kill init
现在看看vm station控制台:kernel panic -not syncing: Attempted to kill init
udev still not settled .waiting./sbin/udevadm:error while loading shared libraries:libselinux.so.1:cannot open shared object file: No such file or directory
/sbin/udevadm error while loading shared libraries:libselinux.so.1: cannot open shared object file: No such file or directory
1:解决kernel panic -not syncing: Attempted to kill init
5:在尾行最末地方加上: selinux=0,然后按"ENTER"回车进行保存
这个就需要用Linux系统的紧急修复模式进行解决了,进入了rescue installed system 救援模式,然后可以打开shell界面进行操作
2:选择CD-ROM Drive 就是所谓的光盘驱动启动,按回车进入
3:选择 rescue installed system 救援模式
mount -o remount rw /;mount -o remount rw /mnt/sysimage
输入ls /lib64/libselinux.so.1命令查看是否有该文件(因为是光盘自带的系统,并没有挂载在根目录下,所以该文件没有被删除)
找到了所需要的文件,只需要把该文件复制到丢失文件的系统里就可以(系统被挂载到了/mnt/sysimage目录中)
cp /lib64/libc.so.6 /mnt/sysimage/lib64(把文件复制到丢失的文件系统里)