[Seek Help] 20.3怎么更新报grub错误
Tofloor
poster avatar
28******22@qq.com
deepin
2022-01-07 07:05
Author

xxxx@power-X:~$ sudo apt upgrade
请输入密码:
验证成功
正在读取软件包列表... 完成
正在分析软件包的依赖关系树
正在读取状态信息... 完成
正在计算更新... 完成
升级了 0 个软件包,新安装了 0 个软件包,要卸载 0 个软件包,有 0 个软件包未被升级。
有 1 个软件包没有被完全安装或卸载。
解压缩后会消耗 0 B 的额外空间。
您希望继续执行吗? [Y/n] Y
正在设置 grub-efi-amd64-signed (1.67.4+2.04+dde) ...
get rootb uuid error: failed to get "rootb" uuid
get rootb uuid error: failed to get "rootb" uuid
正在为 x86_64-efi 平台进行安装。
grub-install:警告: Cannot set EFI variable BootOrder.
grub-install:警告: efivarfs_set_variable: writing to fd 7 failed: 设备上没有空间.
grub-install:警告: _efi_set_variable_mode: ops->set_variable() failed: 设备上没有空间.
grub-install:错误: failed to register the EFI boot entry: 设备上没有空间.

dpkg: 处理软件包 grub-efi-amd64-signed (--configure)时出错:
已安装 grub-efi-amd64-signed 软件包 post-installation 脚本 子进程返回错误状态 1
在处理时有错误发生:
grub-efi-amd64-signed
E: Sub-process /usr/bin/dpkg returned an error code (1)

我就正常更新怎么突然报这个错啊? 是boot分区空间不够吗? 可是我看分区管理里 空间是够的,不明白了,更新不成功,装普通deb也装不成功了

image.png

Reply Favorite View the author
All Replies
aurora
deepin
2022-01-07 17:11
#1

会不会和你/boot单独分区有关,不建议boot单独分区

Reply View the author
datacl
deepin
2022-01-07 17:40
#2

参考我之前的错误处理,https://bbs.deepin.org/post/228034

boota bootb看起来是备份用的,不同于boot分区

Reply View the author
忘记、过去
deepin
2022-01-07 18:50
#3

看着不像是 efi 分区的问题,是在 BIOS 添加启动项出问题了。

如果有黑苹果相关的引导工具,可以尝试重置 NVRAM 试试看

Reply View the author
28******22@qq.com
deepin
2022-01-21 05:59
#4
aurora

会不会和你/boot单独分区有关,不建议boot单独分区

之前是安装的时候让deepin自动分区搞来的

那现在怎么搞能扩大boot分区,只能重装重分区了吗

Reply View the author
28******22@qq.com
deepin
2022-01-21 06:00
#5

有意思的是,居然成功升级到20.4了,但升级之后上面的错误存在

Reply View the author