答案1
在 initramfs 提示符下,输入:
fsck -f /dev/sda4
如果有错误,请重复此命令。
或者...
- 启动至 Ubuntu Live DVD/USB
- 打开
terminal
窗户 - 类型
sudo fsck -f /dev/sda4
- 如果有错误,请重复 fsck 命令
- 类型
reboot
这可能无法解决问题。我们无法在您发布的图片中看到完整的错误消息。看来您的硬盘上有一些坏块。
您可能需要启动到 Ubuntu Live DVD/USB,运行Disks
应用程序,转到汉堡图标,选择SMART Data & Tests
。查看数据,查找任何带有单词 (已重新定位或待处理) 的项目sector
。报告。还运行测试。
如果您希望测试坏块...
sudo e2fsck -fck /dev/sda4
# 只读测试
或者
sudo e2fsck -fcck /dev/sda4
# 非破坏性读写测试(受到推崇的)
-k 很重要,因为它会保存之前的坏块表,并将任何新的坏块添加到该表中。如果没有 -k,您将丢失所有之前的坏块信息。
-fcck 参数...
-f Force checking even if the file system seems clean.
-c This option causes e2fsck to use badblocks(8) program to do a
read-only scan of the device in order to find any bad blocks.
If any bad blocks are found, they are added to the bad block
inode to prevent them from being allocated to a file or direc‐
tory. If this option is specified twice, then the bad block
scan will be done using a non-destructive read-write test.
-k When combined with the -c option, any existing bad blocks in the
bad blocks list are preserved, and any new bad blocks found by
running badblocks(8) will be added to the existing bad blocks
list.