Ubuntu:Target filesystem doesn't have /sbin/init (Slax 解决)

计算机(Ubuntu)由于异常断电或是其它缘由,再次启动时。很是不幸的出现:javascript

Killed
mount: mounting /dev on /root/dev failed: No such file or directory
mount: mounting /sys on /root/sys failed: No such file or directory
mount: mounting /proc on /root/proc failed: No such file or directory
Target filesystem doesn't have /sbin/init
No init found. Try passing init= bootarg
文件系统出现了问题,不能挂载。别急。还有救:

有的方法是作一个Ubuntu的启动盘。使用体验版的Ubuntu运行文件系统修复,这个U盘不必定能启动成功。php

这里有更靠谱的办法,Slax。java

Slax是个便捷、便携的Linux操做系统,直接装在U盘里随身携带。ios

解决上述问题步骤:bash

①下载Slax:http://www.slax.org/zhCN/download.php选择32或是64的zip操作系统

②格式化你的U盘后,解压到U盘的根文件夹.net

③双击/slax/boot/bootinst.bat建立向导,完了以后就可以用你的U盘启动Slax了。code

④设置bios,从U盘启动。这时候时尚性感的Slax将要启动了。blog

⑤在资源下载一个boot info script,地址:http://download.csdn.net/detail/wu20093346/8065879ip

⑥将这个bootinfoscript-061.tar.gz复制到Slax桌面。解压。Extract here。

⑦运行脚本:bash ~/Desktop/boot_info_script.sh

⑧结束后桌面生成了RESULTS.txt,打开它。阅读。

⑨推断您的Ubuntu是在哪一个分区,假设在sda1。或是sda7

⑩那么运行e2fsck -f -y -v /dev/sda1或是e2fsck -f -y -v /dev/sda7

关闭Slax,拔出启动盘,开机,你的Ubuntu应该是恢复了。

相关文章
相关标签/搜索