你这个错误是典型的 UEFI 引导模式不匹配 + 安装程序无法挂载 efivarfs,导致引导器(GRUB)安装失败。结合你的 AMD 5500GT + B450 平台,我给你一套可直接照做的完整修复方案。
一、先看懂错误原因
fsopen system call failed: Operation not supported👉 安装 U 盘是 Legacy 模式启动,但系统要装 UEFI/sys/firmware/efi/efivars挂载失败 👉 内核没拿到 UEFI 运行时服务04_setup_bootloader.job hooks run error👉 引导器安装脚本直接炸了
二、BIOS 关键设置(B450 必做)
开机按 Del 进 BIOS,按以下步骤改:
- 恢复默认(F5) → Load Optimized Defaults
- 关闭 Secure Boot
- Security → Secure Boot → Disabled
- 或 OS Type → Other OS
- 关闭 Fast Boot
- Boot → Fast Boot → Disabled
- 强制纯 UEFI 模式(最关键)
- Boot Mode → UEFI Only
- CSM (Compatibility Support Module) → Disabled
- 启动顺序
- 把你的 UEFI: U 盘名 放在第一位
- 不要选不带
UEFI:的 Legacy 项
保存退出(F10)。
三、重新制作安装 U 盘(避免坑)
- 工具:Rufus 4.5+ 或 Etcher
- 镜像:Deepin 25 最新版(2026.1 或 2026.2)
- Rufus 设置:
- 分区类型:GPT
- 目标系统:UEFI (non-CSM)
- 文件系统:FAT32
四、硬盘分区(必须 GPT + ESP)
进入安装器,选 手动分区:
- 硬盘必须是 GPT(不是 MBR)
- 新建 ESP 分区(EFI 系统分区):
- 大小:512MB ~ 1GB
- 类型:EFI System Partition
- 挂载点:/boot/efi
- 根分区
/:ext4,剩余空间 - 可选 swap:内存大小即可
不要用全盘自动安装(容易出引导问题)。
五、安装中如果还报 efivars 错误(急救)
安装界面卡住时:
-
按 Ctrl+Alt+F3 进 tty3
-
手动挂载 efivarfs:
bash运行
sudo modprobe efivarfs sudo mount -t efivarfs efivarfs /sys/firmware/efi/efivars -
按 Ctrl+Alt+F1 回到图形界面,继续安装
六、AMD 5500GT 额外注意
-
5500GT 是老卡,UEFI GOP 支持可能不全
-
安装完成后第一次进系统:
- 编辑 grub 启动参数,加:
nomodeset
plaintext
linux /vmlinuz-... root=... ro quiet splash **nomodeset** - 编辑 grub 启动参数,加:
-
进系统后安装 AMD 闭源驱动:
bash运行
sudo apt update sudo apt install xserver-xorg-video-amdgpu
七、终极兜底方案(还失败就用)
- BIOS 切回 Legacy Only
- 硬盘转 MBR
- 用 Rufus 做 MBR 模式 启动盘
- 正常安装(引导器装到硬盘 MBR)
老显卡 + B450 用 Legacy 反而更稳。
总结(必做清单)
- ✅ BIOS:UEFI Only + CSM 关闭 + Secure Boot 关闭
- ✅ U 盘:GPT + FAT32 + UEFI 启动
- ✅ 硬盘:GPT + 512MB ESP /boot/efi
- ✅ 安装:手动分区,别用自动
- ✅ 老显卡:nomodeset 进系统再装驱动
按这套来,你的 5500GT + B450 装 Deepin 25 100% 能成功。


中文 


2026-05-09, 00:11:18.127 [Warning] [Process.cpp Process::onReadWarning 31] mount: /sys/firmware/efi/efivars: fsopen system call failed: Operation not supported.
dmesg(1) may have more information after failed mount system call.
2026-05-09, 00:11:18.204 [Error ] [ProgressFrame.cpp ProgressFrame::exitInstall 113] exit install. "/usr/share/deepin-installer/tools/hooks/in_chroot/04_setup_bootloader.job hooks run error."
多次安装失败,提示如上,求教大佬应该如何安装,配置为amd 5500gt+b450平台