每次重新启动时 Windows 7 都会损坏 Ubuntu 分区

sun*_*dar 4 partitioning boot windows

我的笔记本电脑上有 Xubuntu 16.10 和最新更新。我还安装了 Debian 8.0、Manjaro 和 Windows 7。所有这些操作系统均由 Xubuntu 的 GRUB 引导加载程序控制。我在 Linux 发行版之间完成所有任务,但偶尔会切换到 Windows 7 来执行特定任务。过去两周我注意到奇怪的行为。每当我启动到 Windows 操作系统、执行任务并重新启动到 Xubuntu 时,我都会看到以下消息:

^[[[B^[[[B^[[[Bfsck.ext4: Superblock checksum does not match superblock while trying to open /dev/sda2
/dev/sda2:
The superblock could not be read or does not describe a valid ext2/ext3/ext4
filesystem.  If the device is valid and it really contains an ext2/ext3/ext4
filesystem (and not swap or ufs or something else), then the superblock
is corrupt, and you might try running e2fsck with an alternate superblock:
    e2fsck -b 8193 <device>
 or
    e2fsck -b 32768 <device>

fsck exited with status code 8
[    9.100397] EXT4-fs (sda2): VFS: Found ext4 filesystem with invalid superblock checksum.  Run e2fsck?
mount: mounting /dev/sda2 on /root failed: Bad message
mount: mounting /dev on /root/dev failed: No such file or directory
mount: mounting /run on /root/run failed: No such file or directory
run-init: current directory on the same filesystem as the root: error 0
Target filesystem doesn't have requested /sbin/init.
run-init: current directory on the same filesystem as the root: error 0
run-init: current directory on the same filesystem as the root: error 0
run-init: current directory on the same filesystem as the root: error 0
run-init: current directory on the same filesystem as the root: error 0
run-init: current directory on the same filesystem as the root: error 0
No init found. Try passing init= bootarg.


BusyBox v1.22.1 (Ubuntu 1:1.22.0-19ubuntu2) built-in shell (ash)
Enter 'help' for a list of built-in commands.

(initramfs)
Run Code Online (Sandbox Code Playgroud)

我必须通过执行来修复此错误e2fcsk -b 32768 /dev/sda2。仅当我先启动 Windows,然后启动 Xubuntu 时,才会出现这种情况。

附加说明:- 我使用https://sourceforge.net/projects/ext2fsd/从 Windows 访问 Linux 分区。然而,当我第一次注意到这个问题时,我就把它关掉了。此外,上面列出的问题仅发生在我的 Xubuntu 分区上,而不发生在其他 Linux 发行版上。

编辑 1:- 我所说的关闭它的意思是我在启动到 Windows 时从启动应用程序中删除了它。我没有卸载该软件(ext2fsd)。这也没有解决问题。另外,正如 Rinzwind 指出的那样,我被迫ext2fsd在读写模式下工作。

小智 5

默认情况下,Microsoft Windows 不识别其他文件系统。仅 Windows 不可能导致该错误。

但是,您安装了ext2fsd一个工具,可以在 Windows 的 EXT 分区中启用读/写功能。该软件通常作为服务运行并在启动时挂载分区,从而访问 Ubuntu 分区。

ext2fsd可能与较新的 EXT4 文件系统不完全兼容或存在其他问题,或者 Ubuntu 可能安装了 Windows 工具无法理解的分区设置,无论哪种方式都会导致“无效的超级块校验和”错误。

解决办法就是卸载ext2fsd