我正在试图安装Ubuntu20.04.1在一台带有Windows 7的双引导机器上,通过一个可引导的闪存驱动器。我已经为交换、(尤其是)、home等创建了内存分区,但是由于某些原因,第一次安装失败了。而且每次我尝试安装覆盖前面选择的选项Erase Ubuntu 20.04.1 LTS and reinstall时,安装都会在Executing 'grub-install /dev/sda' failed. This is a fatal error.结束时崩溃。
这是在失败之前的最后一个消息:
ubuntu grub-installer: Installing for x86_64-efi platform.
XDG_RUNTIME_DIR is not owned by us (uid 0), but by uid 999!(This could eg happen if you try to connect to a non-root PulseAudio as a root user, over the native protocol. Don't do that.)
error: failed to register the EFI boot entry: Operation not permitted.我已经为EFI创建了分区,并将其标记为启动,这在分区dev/sda6中。
格利特 --这是创建的分区。
现在用那部分(?)安装,在UEFI菜单中,有一个Ubuntu选项。但在选择时,它只是说,no boot device found, press any key to reboot the machine;可能是因为安装不完整。
不知道从这里做什么,任何帮助将不胜感激的工作安装Ubuntu。
发布于 2020-09-17 05:02:49
发布于 2022-05-07 17:50:42
我在安装Ubuntu21.1和Windows 10时遇到了同样的错误。
进入Windows 10,打开磁盘管理,删除尝试安装Ubuntu的物理分区,这也删除了Unbuntu安装创建的逻辑分区。
试图再次运行安装,它运行良好,完成没有错误。
发布于 2023-05-30 07:51:29
如果您正在使用新的UEFI,则必须在Device for boot loader installation中创建一个EFI (ESP)类型分区并选择它(例如,1024M大小的/dev/sda1,不要选择/dev/sda)。

https://askubuntu.com/questions/1275669
复制相似问题