设为首页收藏本站language→→ 语言切换

鸿鹄论坛

 找回密码
 论坛注册

QQ登录

先注册再绑定QQ

查看: 4792|回复: 1
收起左侧

linux启动不了,无法进入rescure模式,Mount: could not find filesystem '/dev/root

[复制链接]
发表于 2013-9-24 18:32:28 | 显示全部楼层 |阅读模式
我在虚拟机上做linux练习,昨天正常关机后,今天便无法开机了,而且resucre模式都进入不了。如下所示:
Mount: could not find filesystem '/dev/root'
setuproot: moving /dev failed: No such file or directory
setuproot: error mouting /proc: No such file or directory
setuproot: error mouting /sys: No such file or directory
switchroot: mount failed: No such file or directory
Kernel panic - not syncing: Attempted to kill init!
于是回想可能是因为昨晚的一系列操作导致文件系统出了问题,昨天看鸟哥的私房菜讲到修改分区的label,于是就胡乱找了个分区改了下,个人感觉问题可能出现在这。
解决办法:步骤1,当进入grub界面时,修改kernel那行,将root=LABEL=/改为不通过标签启动即root=/dev/hda2(这是我的根目录分区,昨天修改的好像就是它),然后重新启动就进入了系统,不过它需要输入root密码。
步骤2,修改标签。命令e2label  /dev/hda2  "/"。OK,完成。hahahaha
您需要登录后才可以回帖 登录 | 论坛注册

本版积分规则

QQ|Archiver|手机版|小黑屋|sitemap|鸿鹄论坛 ( 京ICP备14027439号 )  

GMT+8, 2024-4-20 06:20 , Processed in 0.058754 second(s), 10 queries , Redis On.  

  Powered by Discuz!

  © 2001-2024 HH010.COM

快速回复 返回顶部 返回列表