答案1
systemd-卸载失败/boot/efi
我发现最接近的错误来自 Arch Linux:[已解决] 关机时无法卸载临时目录
解决方案是告诉systemd
卸载临时目录并查看出现什么错误消息。
要查看当前状态,请首先使用:
$ systemctl status /boot/efi
● boot-efi.mount - /boot/efi
Loaded: loaded (/etc/fstab; bad; vendor preset: enabled)
Active: active (mounted) since Sun 2018-12-30 15:01:14 MST; 1 day 3h ago
Where: /boot/efi
What: /dev/nvme0n1p2
Docs: man:fstab(5)
man:systemd-fstab-generator(8)
Process: 910 ExecMount=/bin/mount /dev/disk/by-uuid/D656-F2A8 /boot/efi -t vfat -o umask=
Dec 30 15:01:14 alien systemd[1]: Mounting /boot/efi...
Dec 30 15:01:14 alien systemd[1]: Mounted /boot/efi.
首先保存所有工作并使用:
$ systemctl stop /boot/efi
将出现一个对话框,要求您输入密码。
对于我自己,我没有收到任何错误,然后使用:
$ systemctl status /boot/efi
● boot-efi.mount - /boot/efi
Loaded: loaded (/etc/fstab; bad; vendor preset: enabled)
Active: inactive (dead) since Mon 2018-12-31 18:27:53 MST; 3s ago
Where: /boot/efi
What: /dev/disk/by-uuid/D656-F2A8
Docs: man:fstab(5)
man:systemd-fstab-generator(8)
Process: 21384 ExecUnmount=/bin/umount /boot/efi (code=exited, status=0/SUCCESS)
Process: 20627 ExecMount=/bin/mount /dev/disk/by-uuid/D656-F2A8 /boot/efi -t vfat -o umas
Dec 30 15:01:14 alien systemd[1]: Mounting /boot/efi...
Dec 30 15:01:14 alien systemd[1]: Mounted /boot/efi.
Dec 31 18:27:53 alien systemd[1]: Unmounting /boot/efi...
Dec 31 18:27:53 alien systemd[1]: Unmounted /boot/efi.
最后,要将系统恢复到正常状态,请使用:
$ systemctl start /boot/efi
在您的情况下,希望卸载时会出现一些错误消息/boot/efi
。