![根卷 fs (ext4) 在每次启动时都会重新安装内核](https://linux22.com/image/182882/%E6%A0%B9%E5%8D%B7%20fs%20(ext4)%20%E5%9C%A8%E6%AF%8F%E6%AC%A1%E5%90%AF%E5%8A%A8%E6%97%B6%E9%83%BD%E4%BC%9A%E9%87%8D%E6%96%B0%E5%AE%89%E8%A3%85%E5%86%85%E6%A0%B8.png)
[UEFI/GPT 启动上的 Arch 系统]
每次启动时,我的盒子的根卷(位于其自己的 ext4 分区中)都会重新安装,(我认为)在我上次更新之前从未发生过(内核 5.8.5 -> 5.9.3)。
我对应的/etc/fstab
行是:
UUID=xxxxxxxxxxxxxxxxxxxxxxxx / ext4 errors=remount-ro,relatime,data=ordered,acl,user_xattr 0 1
下面包含唯一相关的日记日志条目。它们以记录的第一次安装的跟踪开始,以重新安装的跟踪日志结束(journalctl -b
输出中没有中间日志条目):
Nov 06 09:35:27 HOST kernel: EXT4-fs (nvme0n1p8): mounted filesystem with ordered data mode. Opts: (null)
Nov 06 09:35:27 HOST systemd[1]: Set up automount Arbitrary Executable File Formats File System Automount Point.
Nov 06 09:35:27 HOST systemd[1]: Mounting Huge Pages File System...
Nov 06 09:35:27 HOST systemd[1]: Mounting POSIX Message Queue File System...
Nov 06 09:35:27 HOST systemd[1]: Mounting Kernel Debug File System...
Nov 06 09:35:27 HOST systemd[1]: Mounting Kernel Trace File System...
Nov 06 09:35:27 HOST systemd[1]: Condition check resulted in File System Check on Root Device being skipped.
Nov 06 09:35:27 HOST systemd[1]: Starting Remount Root and Kernel File Systems...
Nov 06 09:35:27 HOST systemd[1]: Mounted Huge Pages File System.
Nov 06 09:35:27 HOST systemd[1]: Mounted POSIX Message Queue File System.
Nov 06 09:35:27 HOST systemd[1]: Mounted Kernel Debug File System.
Nov 06 09:35:27 HOST systemd[1]: Mounted Kernel Trace File System.
Nov 06 09:35:27 HOST systemd[1]: proc-sys-fs-binfmt_misc.automount: Got automount request for /proc/sys/fs/binfmt_misc, triggered by 251 (systemd-binfmt)
Nov 06 09:35:27 HOST systemd[1]: Mounting Arbitrary Executable File Formats File System...
Nov 06 09:35:27 HOST systemd[1]: Mounted Arbitrary Executable File Formats File System.
Nov 06 09:35:27 HOST kernel: EXT4-fs (nvme0n1p8): re-mounted. Opts: errors=remount-ro,data=ordered,acl,user_xattr
Nov 06 09:35:27 HOST systemd[1]: Finished Remount Root and Kernel File Systems.
有任何关于为什么会发生这种情况的指示吗?
看起来好像systemd
首先按root
原样安装分区,以便完成大页表、消息队列、内核调试和跟踪的设置,然后再花时间使用root
指定的正确安装分区(/dev/nvme0n1p8)安装选项。这很可能是我们朋友正常启动顺序的一部分systemd
,但我对此并不熟悉。
一个解释会很好。或者这只是从 USB 启动、安装卷/mnt/
并fsck
进行/修复的情况?