您好,欢迎来到[编程问答]网站首页   源码下载   电子书籍   软件下载   专题
当前位置:首页 >> 编程问答 >> Linux >> Ubuntu 开机提示kernel panic - not syncing: Attempted to kill init!

Ubuntu 开机提示kernel panic - not syncing: Attempted to kill init!

来源:网络整理     时间:2016/5/17 21:02:10     关键词:

关于网友提出的“Ubuntu 开机提示kernel panic - not syncing: Attempted to kill init!”问题疑问,本网通过在网上对“Ubuntu 开机提示kernel panic - not syncing: Attempted to kill init!”有关的相关答案进行了整理,供用户进行参考,详细问题解答如下:

问题:Ubuntu 开机提示kernel panic - not syncing: Attempted to kill init!
描述:

笔记本本来安装的 ubuntu 14.04 昨天提示可以升级到15.04,然后去通过网络升级。升级完成了三分之二的时候,卡住了,等了一会断电重启,结果悲剧了。
再开机 报错kernel panic - not syncing: Attempted to kill init!。
进不去系统,通过Upan进入安装ubuntu的时候,提示现在系统是ubuntu 15.04。求高手指点有没有什么方法能修复系统。而不是重装系统。如果重装的话,能保留原系统安装的软件和lamp环境吗?
附带一个centos 出现类似问题的解决方法。


解决方案1:

还懂得用U盘进行,还有一种方法是用Chroot,我觉得在当前这种情况下应该也是能修复的,之前修复过类似的内核问题:

U盘进入系统后可以试着:

 sudo mount /dev/sda2 /mnt
 sudo mount --bind /proc /mnt/proc
 sudo mount --bind /sys /mnt/sys
 sudo mount --bind /dev /mnt/dev

网络好像可以这样设置

  cp -L /etc/resolv.conf /mnt/etc/resolv.conf

最后

 sudo chroot /mnt

sda2要改为和Ubuntu所在盘一样的。

然后再

 sudo apt-get update
 sudo apt-get upgrade 

试试


以上介绍了“Ubuntu 开机提示kernel panic - not syncing: Attempted to kill init!”的问题解答,希望对有需要的网友有所帮助。
本文网址链接:http://www.codes51.com/itwd/1138916.html

相关图片

相关文章