重新安装 Windows 后无法启动 Ubuntu

重新安装 Windows 后无法启动 Ubuntu

我在双启动配置中安装了 Ubuntu 和 Windows。Windows 出现一些问题,因此我决定重新安装它。我删除了 Windows 分区并在那里重新安装了 Windows。我还删除了另外两个我之前没有创建且无法识别的小分区。

我有一个 SSD,上面有两个分区。一个用于 Windows,另一个用于 Ubuntu。

现在我无法启动 Ubuntu。我尝试了几种方法,包括启动修复,但它告诉我:Error: NVram is locked (Ubuntu not found in efibootmgr). Please report this message to [email protected]

============================= Boot Repair Summary ==============================





Please backup your data before this operation.

Repair blocked: ________________________________________________________________
GPT detected. Please create a BIOS-Boot partition (>1MB, unformatted filesystem, bios_grub flag). This can be performed via tools such as Gparted. Then try again.
Alternatively, you can retry after activating the [Separate /boot/efi partition:] option.

Repair blocked: ________________________________________________________________
GPT detected. Please create a BIOS-Boot partition (>1MB, unformatted filesystem, bios_grub flag). This can be performed via tools such as Gparted. Then try again.
Alternatively, you can retry after activating the [Separate /boot/efi partition:] option.

Recommended repair: ____________________________________________________________

The default repair of the Boot-Repair utility will reinstall the grub-efi of
sdb5,
using the following options:  set-windows-as-default sdb1/boot/efi
Additional repair will be performed:  unhide-bootmenu-10s use-standard-efi-file restore-efi-backups


rm /mnt/boot-sav/sdb1/efi/Boot/bootx64.efi
mv /mnt/boot-sav/sdb1/efi/Boot/bkpbootx64.efi /mnt/boot-sav/sdb1/efi/Boot/bootx64.efi
Mount sdb1 on /mnt/boot-sav/sdb5/boot/efi

我现在该怎么办?如果我需要重新安装 Ubuntu,有没有办法使用 Ubuntu 分区从中恢复应用程序和配置,或者我需要从头开始?我上面有很多应用程序和配置。

相关内容