您尚未登录。

#1 昨天 01:37:21

SoulMind
会员
注册时间: 2024-08-06
帖子: 4

系统无法启动,提示挂载boot分区失败

十个小时之前,我运行了sudo pacman -Syu,关机之后现在无法启动,我进入到了一个命令行:


```
[FAILED] Failed to mount /boot
[DEPEND] Dependency failed for Local File Systems.
You are in emergency mode. After logging in, type "journalctl -xb" to view to continue bootup.
Give root password for maintenance
```

我问了GPT,让我检查/etc/fstab中硬盘分区的UUID是否正确,我将其中的UUID和lsblk -f的UUID对照,检查无误,然后GPT叫我把boot分区的<pass>参数从0改为2来保证boot分区被检查和加载,我不是很确定要不要这样做
这是我的fstab的内容
```
# Static information about the filesystems.
# See fstab(5) for details.
# <file system> <dir> <type> <options> <dump> <pass>
# /dev/nvme0n1p7
UUID=xxx         /         btrfs       rw,relatime,ssd,discard=async,space_cache=v2,subvolid=5,subvol=/        0 0

# /dev/nvme0n1p1 LABEL=ESP
UUIT=5896-5BA9         /boot        vfat       rw,relatime,fmask=0022,dmask=0022,codepage=437,ioharset=ascii,shortname=ixed,utf8,errors=remount-ro     0 2

# /dev/nvme0n1p8
UUID=xxx          none  swap defaults 0 0
```

请问如何修复这个问题?我可以提供其他需要的信息

离线

#2 昨天 02:42:26

SoulMind
会员
注册时间: 2024-08-06
帖子: 4

Re: 系统无法启动,提示挂载boot分区失败

我运行了'mount -a',输出如下:
```
mount: /boot: unknown filesystem type 'vfat'
             dmesg(1) may have more information after failed mount system call.
```
我的系统现在好像不认vfat

离线

#3 昨天 03:07:56

SoulMind
会员
注册时间: 2024-08-06
帖子: 4

Re: 系统无法启动,提示挂载boot分区失败

我运行了‘modprobe vfat’,输出如下:
···
modprobe: FATAL: Module vfat not found in directory /lib/modules/6.10.2-arch1-1
···
这次滚动更新是不是把处理vfat的组件删掉了

离线

#4 昨天 03:18:19

SoulMind
会员
注册时间: 2024-08-06
帖子: 4

Re: 系统无法启动,提示挂载boot分区失败

修好了,我从Arch Linux ISO启动,arch-chroot到我的系统根目录中,运行了如下指令:
```
pacman -S linux
pacman -S linux-firmware
mkinitcpio -P
grub-mkconfig -o /boot/grub/grub.cfg
```

之前我运行'lsmode | grep vfat'什么都没有,现在能看到vfat,应该就是这次更新搞丢了我的vfat相关的模块,所以说Arch Linux滚动更新还会删除一些识别文件系统的模块的吗?

最近编辑记录 SoulMind (昨天 03:21:51)

离线

#5 昨天 11:00:15

依云
会员
所在地: a.k.a. 百合仙子
注册时间: 2011-08-21
帖子: 8,850
个人网站

Re: 系统无法启动,提示挂载boot分区失败

应该是之前 mkinitcpio 出问题了。

离线

页脚