use*_*940 5 boot grub2 dual-boot mount
我最近在我的笔记本电脑上安装了最新版本的 UBUNTU,但在启动过程中遇到了一个小问题。
在启动过程中,我收到以下错误:
Serious errors were found while checking the disk drive for /.
Run Code Online (Sandbox Code Playgroud)
在这里做了一些研究之后,我已经能够解决这个问题并使 UBUNTU 在进入 GRUB 启动项和 RO 到 RW 后正常启动。例如;
罗:
linux /boot/vmlinuz-3.13.0-24-generic root=UUID=AAC884AC1F144321 loop=/ubuntu/disks/root.disk **ro** quiet splash $vt_handoff
Run Code Online (Sandbox Code Playgroud)
RW:
linux /boot/vmlinuz-3.13.0-24-generic root=UUID=AAC884AC1F144321 loop=/ubuntu/disks/root.disk **rw** quiet splash $vt_handoff
Run Code Online (Sandbox Code Playgroud)
我如何永久编辑它,以便我每次启动时都不再编辑它。我非常感谢任何帮助。我是这个操作系统的菜鸟!
从字面上回答您的问题:编辑/etc/grub.d/10_linux并更改ro为rw,然后运行sudo update-grub。这将重新生成/boot/grub/grub.cfg在启动时使用的文件。
但不要这样做!ro是正确的设置。更改ro为rw无济于事。您的问题没有通过更改引导选项解决,而是通过运行fsck. 现在完成了,文件系统又可以使用了。
文件系统损坏不应该发生。你应该寻找腐败的原因。这可能是内存问题;运行内存测试(在 Grub 提示下选择“内存测试”并让它运行至少一次完整通过,例如过夜)。