![EFI 分区已删除;希望仅设置 efi 可启动](https://linux22.com/image/1169724/EFI%20%E5%88%86%E5%8C%BA%E5%B7%B2%E5%88%A0%E9%99%A4%EF%BC%9B%E5%B8%8C%E6%9C%9B%E4%BB%85%E8%AE%BE%E7%BD%AE%20efi%20%E5%8F%AF%E5%90%AF%E5%8A%A8.png)
在全新安装 Ubuntu 的过程中,我对硬盘进行了分区并删除了 EFI(哎呀)。
现在我只能在传统模式下从 USB 映像启动。我想仅使用 EFI 启动,但收到未找到 EFI 的错误。
我已成功创建了一个小分区,格式化为 FAT32,并标记为启动和 EFI。
我安装了硬盘并尝试grub-install
在设备上运行但出现此错误:
grub-install: warning: this GPT partition label contains no BIOS Boot Partition; embedding won't be possible.
grub-install: warning: Embedding is not possible. GRUB can only be installed in this setup by using blocklists. However, blocklists are UNRELIABLE and their use is discouraged..
grub-install: error: will not proceed with blocklists.```
my `/etc/fstab` I've setup while booting from the USB image and looks like this...
```# /etc/fstab: static file system information.
#
# Use 'blkid' to print the universally unique identifier for a
# device; this may be used with UUID= as a more robust way to name devices
# that works even if disks are added and removed. See fstab(5).
#
# <file system> <mount point> <type> <options> <dump> <pass>
# / was on /dev/nvme0n1p2 during installation
UUID=1d65fb47-b8e4-4efd-a2ad-6486ee92a1db / ext4 errors=remount-ro 0 1
# /home was on /dev/nvme0n1p4 during installation
UUID=958b65c1-00a2-4deb-bcd9-e2415221ca39 /home ext4 defaults 0 2
# swap was on /dev/nvme0n1p3 during installation
UUID=f3aae6e2-e085-44bf-b0c5-fcbeee843fba none swap sw 0 0
主要问题:我需要做什么才能使 EFI 分区正常工作?
次要问题:阻力最小的路径是什么?我在设置时是否犯了错误?我需要在 EFI 中安装 ubuntu 吗?