I had Ubuntu installed with Windows in dual boot configuration. I had some issues with Windows so I decided to reinstall it. I deleted the Windows partition and reinstalled Windows there. I also deleted two other small partitions that I didn't create before and didn't recognize.
I have a SSD with two partitions on it. One is for Windows and the other for Ubuntu.
Now I can't boot to Ubuntu. I tried several ways including boot-repair, but it says to me: Error: NVram is locked (Ubuntu not found in efibootmgr). Please report this message to boot.repair@gmail.com
============================= 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
What should I do now? If I need to reinstall Ubuntu, is there a way to use the Ubuntu partition to recover the apps and configuration from it or I will need to make everything from scratch? I have a lot of apps and configurations on it.