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

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

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盘不一定能启动成功。

这里有更靠谱的办法,Slax。Slax是个便捷、便携的Linux操作系统,直接装在U盘里随身携带。

解决上述问题步骤:

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

②格式化你的U盘后,解压到U盘的根目录

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

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

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

⑥将这个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应该是恢复了。

郑重声明:本站内容如果来自互联网及其他传播媒体,其版权均属原媒体及文章作者所有。转载目的在于传递更多信息及用于网络分享,并不代表本站赞同其观点和对其真实性负责,也不构成任何其他建议。