[System Installation] 安装deepin 20.9最后更新efi启动分区时出错
Tofloor
poster avatar
哄哄
deepin
2025-03-09 19:15
Author

AMD 2200G的CPU,一个固态硬盘,一个3.5的硬盘,固态硬盘上有EFI分区499M,安装有WIN10。安装和使用deepin 23正常,由于23的CPU占用较高,换20.9,安装的最后一步更新EFI分区时出错。

Preparing to unpack .../grub-efi-amd64-signed_1.67.5+2.04+dde_amd64.deb ...
Unpacking grub-efi-amd64-signed (1.67.5+2.04+dde) ...
Setting up grub-efi-amd64-signed (1.67.5+2.04+dde) ...
get rootb uuid error: failed to get "rootb" uuid
Installing for x86_64-efi platform.
grub-install: error: cannot find a GRUB drive for /dev/sdb2. Check your device.map.
dpkg: error processing package grub-efi-amd64-signed (--configure):
installed grub-efi-amd64-signed package post-installation script subprocess returned error exit status 1
Errors were encountered while processing:
grub-efi-amd64-signed
Running in chroot, ignoring command 'start'
E: Sub-process /usr/bin/dpkg returned an error code (1)
Install Failed : grub-efi-amd64-signed
Reading package lists...
Building dependency tree...
Reading state information...
efibootmgr is already the newest version (15-1).
The following packages were automatically installed and are no longer required:
libutempter0 x11-apps x11-session-utils xbitmaps
Use 'apt autoremove' to remove them.
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
1 not fully installed or removed.
After this operation, 0 B of additional disk space will be used.
Setting up grub-efi-amd64-signed (1.67.5+2.04+dde) ...
get rootb uuid error: failed to get "rootb" uuid
Installing for x86_64-efi platform.
grub-install: error: cannot find a GRUB drive for /dev/sdb2. Check your device.map.
dpkg: error processing package grub-efi-amd64-signed (--configure):
installed grub-efi-amd64-signed package post-installation script subprocess returned error exit status 1
Errors were encountered while processing:
grub-efi-amd64-signed
Running in chroot, ignoring command 'start'
E: Sub-process /usr/bin/dpkg returned an error code (1)
Install Failed : efibootmgr
rm: cannot remove '/sys/firmware/efi/efivars/dump-*': Invalid argument
get rootb uuid error: failed to get "rootb" uuid
Installing for x86_64-efi platform.
grub-install: error: cannot find a GRUB drive for /dev/sdb2. Check your device.map.

!! Error: grub-install failed with --target=x86_64-efi --uefi-secure-boot deepin

2025-03-09, 07:58:43.660 [Error ] [ ] Hook failed: "02_setup_bootloader_x86.job"
2025-03-09, 07:58:43.662 [Debug ] [ ] /etc/deepin-installer.conf key = "DI_INSTALL_SUCCESSED" = QVariant(bool, false)
2025-03-09, 07:58:43.667 [Warning] [ ] getSettingsValue() Invalid key: "DI_DEEPIN_VERIFY_STATUS"
2025-03-09, 07:58:43.667 [Error ] [ ] GetSettingsString() failed with key: "DI_DEEPIN_VERIFY_STATUS"
2025-03-09, 08:00:35.676 [Debug ] [ ] Log file: "/media/root/Ventoy/deepin-installer.2025-03-09-08-00-35.log"

Reply Favorite View the author
All Replies
jjcui8595
deepin
2025-03-10 09:24
#1

重新安装一下grub

Reply View the author