请教,装机失败日志如下
Tofloor
poster avatar
ganghao
deepin
2020-08-09 07:52
Author
(Reading database ... 184871 files and directories currently installed.)
Preparing to unpack .../0-grub2-common_2.02.9.1-1+deepin_amd64.deb ...
Unpacking grub2-common (2.02.9.1-1+deepin) ...
Selecting previously unselected package grub-efi-amd64-bin.
Preparing to unpack .../1-grub-efi-amd64-bin_2.02.9.1-1+deepin_amd64.deb ...
Unpacking grub-efi-amd64-bin (2.02.9.1-1+deepin) ...
Selecting previously unselected package grub-efi-amd64.
Preparing to unpack .../2-grub-efi-amd64_2.02.9.1-1+deepin_amd64.deb ...
Unpacking grub-efi-amd64 (2.02.9.1-1+deepin) ...
Selecting previously unselected package grub-efi-amd64-signed.
Preparing to unpack .../3-grub-efi-amd64-signed_1.67+1.65+2.02~beta2_amd64.deb ...
Unpacking grub-efi-amd64-signed (1.67+1.65+2.02~beta2) ...
Selecting previously unselected package mokutil.
Preparing to unpack .../4-mokutil_0.3.0+1538710437.fb6250f-1_amd64.deb ...
Unpacking mokutil (0.3.0+1538710437.fb6250f-1) ...
Selecting previously unselected package shim.
Preparing to unpack .../5-shim_0.9+1474479173.6c180c6-1deepin_amd64.deb ...
Unpacking shim (0.9+1474479173.6c180c6-1deepin) ...
Selecting previously unselected package shim-signed.
Preparing to unpack .../6-shim-signed_1.34.is.1.23+0.9+1474479173.6c180c6-1deepin_amd64.deb ...
Unpacking shim-signed (1.34.is.1.23+0.9+1474479173.6c180c6-1deepin) ...
Setting up mokutil (0.3.0+1538710437.fb6250f-1) ...
Setting up grub2-common (2.02.9.1-1+deepin) ...
Setting up shim (0.9+1474479173.6c180c6-1deepin) ...
Setting up grub-efi-amd64-bin (2.02.9.1-1+deepin) ...
Setting up shim-signed (1.34.is.1.23+0.9+1474479173.6c180c6-1deepin) ...
Setting up grub-efi-amd64 (2.02.9.1-1+deepin) ...

Creating config file /etc/default/grub with new version
Installing for x86_64-efi platform.
grub-install: warning: Cannot set EFI variable Boot0002.
grub-install: warning: vars_set_variable: write() failed: No space left on device.
grub-install: warning: _efi_set_variable_mode: ops->set_variable() failed: No such file or directory.
grub-install: error: failed to register the EFI boot entry: No such file or directory.
Failed: grub-install --target=x86_64-efi  
WARNING: Bootloader is not properly installed, system may not be bootable
Setting up grub-efi-amd64-signed (1.67+1.65+2.02~beta2) ...
Installing for x86_64-efi platform.
grub-install: warning: Cannot set EFI variable Boot0002.
grub-install: warning: vars_set_variable: write() failed: No space left on device.
grub-install: warning: _efi_set_variable_mode: ops->set_variable() failed: No such file or directory.
grub-install: error: failed to register the EFI boot entry: No such file or directory.
dpkg: error processing package grub-efi-amd64-signed (--configure):
installed grub-efi-amd64-signed package post-installation script subprocess returned error exit status 1
Processing triggers for man-db (2.8.5-2) ...
Processing triggers for shim-signed (1.34.is.1.23+0.9+1474479173.6c180c6-1deepin) ...
Errors were encountered while processing:
grub-efi-amd64-signed
Running in chroot, ignoring request: start
E: Sub-process /usr/bin/dpkg returned an error code (1)
Installing for x86_64-efi platform.
grub-install: warning: Cannot set EFI variable Boot0002.
grub-install: warning: vars_set_variable: write() failed: No space left on device.
grub-install: warning: _efi_set_variable_mode: ops->set_variable() failed: No such file or directory.
grub-install: error: failed to register the EFI boot entry: No such file or directory.

!! Error: grub-install failed with efi64 deepin

Hook failed: "02_setup_bootloader_x86.job"
Log file:  "/media/root/5202-3EF9/deepin-installer.2020-08-09-07-48-51.log"
Log file:  "/media/root/5202-3EF9/deepin-installer.2020-08-09-07-48-56.log"

Reply Favorite View the author
All Replies
avatar
ganghao
deepin
2020-08-09 07:54
#1
是引导文件出错吗?  我是准备装双系统。装之前使用winPEU盘把win10的EFI盘格式化后重新建立了的,应该不会出现efi盘满了的情况吧?
Reply View the author
avatar
SamLukeYes
deepin
2020-08-09 08:10
#2
  1. sudo rm /sys/firmware/efi/efivars/dump-*
Copy the Code
Reply View the author
avatar
ganghao
deepin
2020-08-09 08:16
#3

是不是需要下载LIVEcd,然后制作到U盘里面,再跟装普通U盘系统一样,才能使用?
Reply View the author
avatar
忘记、过去
deepin
2020-08-09 08:21
#4
https://bbs.deepin.org/post/198658
是引导文件出错吗?  我是准备装双系统。装之前使用winPEU盘把win10的EFI盘格式化后重新建立了的,应该不会 ...
  1. Creating config file /etc/default/grub with new version
  2. Installing for x86_64-efi platform.
  3. grub-install: warning: Cannot set EFI variable Boot0002.
  4. grub-install: warning: vars_set_variable: write() failed: No space left on device.
Copy the Code


然而看上去就是满了,双系统建议ESP分区至少得200MB(macOS是这么要求的......),一般DG分区都是默认给的300MB。
Reply View the author
avatar
ganghao
deepin
2020-08-09 08:25
#5
https://bbs.deepin.org/post/198658
然而看上去就是满了,双系统建议ESP分区至少得200MB(macOS是这么要求的......),一般DG分区都是 ...

我给ESP分的890M。是不是需要下载LIVEcd,然后制作到U盘里面,再跟装普通U盘系统一样,才能使用这个命令?
Reply View the author
avatar
SamLukeYes
deepin
2020-08-09 08:26
#6
https://bbs.deepin.org/post/198658
然而看上去就是满了,双系统建议ESP分区至少得200MB(macOS是这么要求的......),一般DG分区都是 ...

不一定是 esp 写满了吧,我觉得像是固件写满了
Reply View the author
avatar
ganghao
deepin
2020-08-09 08:27
#7
https://bbs.deepin.org/post/198658
不一定是 esp 写满了吧,我觉得像是固件写满了

要用liveCD来制作一个U盘吗?
Reply View the author
avatar
SamLukeYes
deepin
2020-08-09 08:29
#8
https://bbs.deepin.org/post/198658
是不是需要下载LIVEcd,然后制作到U盘里面,再跟装普通U盘系统一样,才能使用? ...

只需要在当前的电脑上(非虚拟机)以 UEFI 模式启动一个 Linux 环境即可执行上述操作,直接启动 deepin 的安装镜像然后切换 tty 也可。
Reply View the author
avatar
忘记、过去
deepin
2020-08-09 08:35
#9
https://bbs.deepin.org/post/198658
不一定是 esp 写满了吧,我觉得像是固件写满了

黑苹果可以用clover或者oc清空nvram变量,linux我就不晓得了......也不晓得固件是指啥,但是和启动项有关的话应该是nvram吧......
Reply View the author
avatar
SamLukeYes
deepin
2020-08-09 08:37
#10
https://bbs.deepin.org/post/198658
黑苹果可以用clover或者oc清空nvram变量,linux我就不晓得了......也不晓得固件是指啥,但是和启动项有关 ...

可能吧,其实具体的我也不太清楚,只知道有这么种情况
Reply View the author