轩辕客 发表于 2013-9-24 18:32:28

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

我在虚拟机上做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

Seyfried 发表于 2018-8-2 12:05:34

{:6_299:}{:6_299:}{:6_299:}{:6_299:}
页: [1]
查看完整版本: linux启动不了,无法进入rescure模式,Mount: could not find filesystem '/dev/root