Tried that but I got an error message in the end. Something about how a locked NVRAM was detected. Here from pastebin
boot-repair-4ppa2056-zorin1 [20240916_1444]
============================= Boot Repair Summary ==============================
sdb may have broken partition table.
modprobe: FATAL: Module efivars not found in directory /lib/modules/6.5.0-35-generic
ls: Zugriff auf '/sys/firmware/efi/vars' nicht möglich: Datei oder Verzeichnis nicht gefunden
Recommended repair: ____________________________________________________________
The default repair of the Boot-Repair utility will reinstall the grub-efi of
nvme0n1p2,
using the following options: nvme0n1p1/boot/efi
Additional repair will be performed: unhide-bootmenu-10s use-standard-efi-file
Mount nvme0n1p1 on /mnt/boot-sav/nvme0n1p2/boot/efi
Unhide GRUB boot menu in nvme0n1p2/etc/default/grub
===================== Reinstall the grub-efi of nvme0n1p2 ======================
chroot /mnt/boot-sav/nvme0n1p2 grub-install --version
grub-install (GRUB) 2.06-2ubuntu7.2+zorin1
modprobe: FATAL: Module efivars not found in directory /lib/modules/6.5.0-35-generic
chroot /mnt/boot-sav/nvme0n1p2 modprobe efivars
chroot /mnt/boot-sav/nvme0n1p2 efibootmgr -v before grub install
EFI variables are not supported on this system.
chroot /mnt/boot-sav/nvme0n1p2 uname -r
6.5.0-35-generic
chroot /mnt/boot-sav/nvme0n1p2 grub-install --efi-directory=/boot/efi --target=x86_64-efi
Installing for x86_64-efi platform.
grub-install: warning: EFI variables cannot be set on this system.
grub-install: warning: You will have to complete the GRUB setup manually.
Installation finished. No error reported.
Error: no grub*.efi generated for Zorin OS 17.1 (17). Bitte melden Sie diese Nachricht an boot.repair@gmail.com
chroot /mnt/boot-sav/nvme0n1p2 efibootmgr -v after grub install
EFI variables are not supported on this system.
Error: NVram is locked (Zorin not found in efibootmgr). Bitte melden Sie diese Nachricht an boot.repair@gmail.com
chroot /mnt/boot-sav/nvme0n1p2 update-grub
Sourcing file `/etc/default/grub'
Sourcing file `/etc/default/grub.d/init-select.cfg'
Generating grub configuration file ...
Found theme: /usr/share/grub/themes/zorin/theme.txt
Found linux image: /boot/vmlinuz-6.8.0-40-generic
Found initrd image: /boot/initrd.img-6.8.0-40-generic
Found linux image: /boot/vmlinuz-6.5.0-35-generic
Found initrd image: /boot/initrd.img-6.5.0-35-generic
Memtest86+ needs a 16-bit boot, that is not available on EFI, exiting
Warning: os-prober will be executed to detect other bootable partitions.
Its output will be used to detect bootable binaries on them and create new boot entries.
grub-probe: error: cannot find a GRUB drive for /dev/sdc1. Check your device.map.
Found Windows Boot Manager on /dev/nvme0n1p1@/EFI/Microsoft/Boot/bootmgfw.efi
Unhide GRUB boot menu in nvme0n1p2/boot/grub/grub.cfg
Während der Reparatur ist ein Fehler aufgetreten.
Error: NVram is locked (Zorin not found in efibootmgr). Bitte melden Sie diese Nachricht an boot.repair@gmail.com
Locked-NVram entdeckt.
============================ Boot Info After Repair ============================
=> No boot loader is installed in the MBR of /dev/nvme0n1.
=> No boot loader is installed in the MBR of /dev/sda.
=> libparted MBR boot code is installed in the MBR of /dev/sdb.
nvme0n1p1: _____________________________________________________________________
File system: vfat
Boot sector type: FAT32
Boot sector info: No errors found in the Boot Parameter Block.
Operating System:
Boot files: /efi/BOOT/fbx64.efi /efi/BOOT/mmx64.efi
/efi/ubuntu/grubx64.efi /efi/ubuntu/mmx64.efi
/efi/ubuntu/shimx64.efi /efi/ubuntu/grub.cfg
/efi/Microsoft/Boot/bootmgfw.efi
/efi/Microsoft/Boot/bootmgr.efi
nvme0n1p2: _____________________________________________________________________
File system: ext4
Boot sector type: -
Boot sector info:
Operating System: Zorin OS 17.1
Boot files: /boot/grub/grub.cfg /etc/fstab /etc/default/grub
sda1: __________________________________________________________________________
File system: ntfs
Boot sector type: Windows 8/10/11/2012: NTFS
Boot sector info: No errors found in the Boot Parameter Block.
Operating System: Windows 10 or 11
Boot files: /Windows/System32/winload.exe
sdc: ___________________________________________________________________________
File system: iso9660
Boot sector type: Unknown
Boot sector info:
Mounting failed: mount: /mnt/BootInfo/FD/sdc: /dev/sdc ist bereits eingehängt oder wird gerade benutzt.
================================ 2 OS detected =================================
OS#1: Zorin OS 17.1 (17) on nvme0n1p2
OS#2: Windows 10 or 11 on sda1
================================ Host/Hardware =================================
CPU architecture: 64-bit
Video: Advanced Micro Devices, Inc. [AMD/ATI] Advanced Micro Devices, Inc. [AMD/ATI] from Advanced Micro Devices, Inc. [AMD/ATI] Advanced Micro Devices, Inc. [AMD/ATI]
Live-session OS is Zorin 64-bit (Zorin OS 17.1, jammy, x86_64)
===================================== UEFI =====================================
BIOS/UEFI firmware: 1.20(5.32) from American Megatrends International, LLC.
The firmware is EFI-compatible, and is set in EFI-mode for this live-session.
SecureBoot disabled (confirmed by mokutil).
BootCurrent: 0003
Timeout: 1 seconds
BootOrder: 0002,0000,0003
Boot0000* Windows Boot Manager HD(1,GPT,f7023c24-98a1-446d-8e03-fbc2ebed4e0a,0x800,0x100000)/File(\EFI\Microsoft\Boot\bootmgfw.efi)WINDOWS.........x...B.C.D.O.B.J.E.C.T.=.{.9.d.e.a.8.6.2.c.-.5.c.d.d.-.4.e.7.0.-.a.c.c.1.-.f.3.2.b.3.4.4.d.4.7.9.5.}...f................
Boot0002* ubuntu HD(1,GPT,f7023c24-98a1-446d-8e03-fbc2ebed4e0a,0x800,0x100000)/File(\EFI\ubuntu\shimx64.efi)
Boot0003* UEFI: KingstonDataTraveler 2.0PMAP PciRoot(0x0)/Pci(0x2,0x1)/Pci(0x0,0x0)/Pci(0xc,0x0)/Pci(0x0,0x0)/USB(9,0)/CDROM(1,0x238,0x9e00)..BO
1d43d986c265d8c455d020e4a1f28c52 nvme0n1p1/BOOT/fbx64.efi
1d260ff1255f189ab621209796ee2fed nvme0n1p1/BOOT/mmx64.efi
a1da253696a304dce6b4668b70151c0e nvme0n1p1/ubuntu/grubx64.efi
1d260ff1255f189ab621209796ee2fed nvme0n1p1/ubuntu/mmx64.efi
07e25dcaf57c776875f78fa36827c58e nvme0n1p1/ubuntu/shimx64.efi
75348ac78723c93af400084cd96e6469 nvme0n1p1/Microsoft/Boot/bootmgfw.efi
32bcd3665cc5fb36e7e77961b819c4f3 nvme0n1p1/Microsoft/Boot/bootmgr.efi
07e25dcaf57c776875f78fa36827c58e nvme0n1p1/BOOT/BOOTX64.efi
============================= Drive/Partition Info =============================
Disks info: ____________________________________________________________________
nvme0n1 : is-GPT, no-BIOSboot, has---ESP, not-usb, not-mmc, has-os, no-wind, 2048 sectors * 512 bytes
sda : is-GPT, no-BIOSboot, has-noESP, not-usb, not-mmc, has-os, has-win, 2048 sectors * 512 bytes
Partitions info (1/3): _________________________________________________________
nvme0n1p1 : no-os, 64, nopakmgr, no-docgrub, nogrub, nogrubinstall, no-grubenv, noupdategrub, not-far
nvme0n1p2 : is-os, 64, apt-get, signed grub-pc grub-efi , grub2, grub-install, grubenv-ok, update-grub, farbios
sda1 : is-os, 64, nopakmgr, no-docgrub, nogrub, nogrubinstall, no-grubenv, noupdategrub, farbios
Partitions info (2/3): _________________________________________________________
nvme0n1p1 : is---ESP, part-has-no-fstab, no-nt, no-winload, no-recov-nor-hid, no-bmgr, notwinboot
nvme0n1p2 : isnotESP, fstab-has-goodEFI, no-nt, no-winload, no-recov-nor-hid, no-bmgr, notwinboot
sda1 : isnotESP, part-has-no-fstab, no-nt, haswinload, no-recov-nor-hid, no-bmgr, notwinboot
Partitions info (3/3): _________________________________________________________
nvme0n1p1 : not--sepboot, no---boot, part-has-no-fstab, not-sep-usr, no---usr, part-has-no-fstab, no--grub.d, nvme0n1
nvme0n1p2 : not--sepboot, with-boot, fstab-without-boot, not-sep-usr, with--usr, fstab-without-usr, std-grub.d, nvme0n1
sda1 : not--sepboot, no---boot, part-has-no-fstab, not-sep-usr, no---usr, part-has-no-fstab, no--grub.d, sda
fdisk -l (filtered): ___________________________________________________________
Disk nvme0n1: 931.51 GiB, 1000204886016 bytes, 1953525168 sectors
Disk identifier: 34848BBE-7807-4838-ACE6-7D3BDB70857E
Start End Sectors Size Type
nvme0n1p1 2048 1050623 1048576 512M EFI System
nvme0n1p2 1050624 1953523711 1952473088 931G Linux filesystem
Disk sda: 223.58 GiB, 240065183744 bytes, 468877312 sectors
Disk identifier: B1573205-CBD0-449F-BBAA-4D5B4F407A1C
Start End Sectors Size Type
sda1 2048 468875263 468873216 223.6G Microsoft basic data
Disk sdb: 111.79 GiB, 120034123776 bytes, 234441648 sectors
Disk identifier: 0x5a58031b
Disk sdc: 14.54 GiB, 15610576896 bytes, 30489408 sectors
Disk identifier: 0x5d8ad037
Boot Start End Sectors Size Id Type
sdc1 * 0 6638911 6638912 3.2G 0 Empty
sdc2 568 10679 10112 4.9M ef EFI (FAT-12/16/32)
sdc3 6639616 30489407 23849792 11.4G 83 Linux
parted -lm (filtered): _________________________________________________________
sda:240GB:scsi:512:512:gpt:ATA SanDisk SSD PLUS:;
1:1049kB:240GB:240GB:ntfs:Basic data partition:msftdata;
sdb:120GB:scsi:512:512:msdos:ATA KINGSTON SA400S3:;
sdc:15.6GB:scsi:512:512:msdos:Kingston DataTraveler 2.0:;
2:291kB:5468kB:5177kB:::esp;
3:3399MB:15.6GB:12.2GB:ext4::;
nvme0n1:1000GB:nvme:512:512:gpt:CT1000P3PSSD8:;
1:1049kB:538MB:537MB:fat32:EFI System Partition:boot, esp;
2:538MB:1000GB:1000GB:ext4::;
Free space >10MiB: ______________________________________________________________
sdb: 0.00MiB:114473MiB:114473MiB
sdc: 5.21MiB:3242MiB:3237MiB
blkid (filtered): ______________________________________________________________
NAME FSTYPE UUID PARTUUID LABEL PARTLABEL
sda
└─sda1 ntfs 3668374968370761 0b3e2462-109c-420e-86c0-067ef58b978f Basic data partition
sdb
sdc iso9660 2024-06-14-17-36-07-00 Zorin OS 17.1 Core 64bit
├─sdc1 iso9660 2024-06-14-17-36-07-00 5d8ad037-01 Zorin OS 17.1 Core 64bit
├─sdc2 vfat F7F3-2925 5d8ad037-02
└─sdc3 ext4 9721aea4-328c-4d85-b1dc-70946b9d971c 5d8ad037-03 writable
nvme0n1
├─nvme0n1p1 vfat CE1E-751E f7023c24-98a1-446d-8e03-fbc2ebed4e0a EFI System Partition
└─nvme0n1p2 ext4 c0a5ab0c-65ad-4e14-8102-4f32d797d12e 59eebd47-9cdc-4b72-b7bb-9c9478daec5d
Mount points (filtered): _______________________________________________________
Avail Use% Mounted on
/dev/disk/by-label/writable[/install-logs-2024-09-16.0/crash] 10.5G 0% /var/crash
/dev/disk/by-label/writable[/install-logs-2024-09-16.0/log] 10.5G 0% /var/log
/dev/nvme0n1p1 479.6M 6% /mnt/boot-sav/nvme0n1p1
/dev/nvme0n1p2 766.4G 11% /mnt/boot-sav/nvme0n1p2
/dev/sda1 122.4G 45% /mnt/boot-sav/sda1
/dev/sdc1 0 100% /cdrom
efivarfs 64.3K 46% /sys/firmware/efi/efivars
Mount options (filtered): ______________________________________________________
=================== nvme0n1p1/efi/ubuntu/grub.cfg (filtered) ===================
search.fs_uuid c0a5ab0c-65ad-4e14-8102-4f32d797d12e root
set prefix=($root)'/boot/grub'
configfile $prefix/grub.cfg
=================== nvme0n1p2/boot/grub/grub.cfg (filtered) ====================
Zorin c0a5ab0c-65ad-4e14-8102-4f32d797d12e
Zorin, with Linux 6.8.0-40-generic c0a5ab0c-65ad-4e14-8102-4f32d797d12e
Zorin, with Linux 6.5.0-35-generic c0a5ab0c-65ad-4e14-8102-4f32d797d12e
Windows Boot Manager (on nvme0n1p1) osprober-efi-CE1E-751E
### END /etc/grub.d/30_os-prober ###
### END /etc/grub.d/30_uefi-firmware ###
======================== nvme0n1p2/etc/fstab (filtered) ========================
# <file system> <mount point> <type> <options> <dump> <pass>
# / was on /dev/nvme0n1p2 during installation
UUID=c0a5ab0c-65ad-4e14-8102-4f32d797d12e / ext4 errors=remount-ro 0 1
# /boot/efi was on /dev/nvme0n1p1 during installation
UUID=CE1E-751E /boot/efi vfat umask=0077 0 1
/swapfile none swap sw 0 0
==================== nvme0n1p2/etc/default/grub (filtered) =====================
GRUB_DEFAULT=0
GRUB_TIMEOUT_STYLE=menu
GRUB_TIMEOUT=10
GRUB_DISTRIBUTOR=`lsb_release -i -s 2> /dev/null || echo Debian`
GRUB_CMDLINE_LINUX_DEFAULT="quiet splash"
GRUB_CMDLINE_LINUX=""
GRUB_THEME=/usr/share/grub/themes/zorin/theme.txt
GRUB_DISABLE_OS_PROBER=false
================= nvme0n1p2: Location of files loaded by Grub ==================
GiB - GB File Fragment(s)
?? = ?? boot/grub/grub.cfg 1
862,139877319 = 925,715644416 boot/vmlinuz 1
10,389244080 = 11,155365888 boot/vmlinuz-6.5.0-35-generic 1
862,139877319 = 925,715644416 boot/vmlinuz-6.8.0-40-generic 1
10,389244080 = 11,155365888 boot/vmlinuz.old 1
861,250972748 = 924,761190400 boot/initrd.img 2
2,250972748 = 2,416963584 boot/initrd.img-6.5.0-35-generic 2
861,250972748 = 924,761190400 boot/initrd.img-6.8.0-40-generic 2
2,250972748 = 2,416963584 boot/initrd.img.old 2
=================== nvme0n1p2: ls -l /etc/grub.d/ (filtered) ===================
-rwxr-xr-x 1 root root 18673 May 10 2023 10_linux
-rwxr-xr-x 1 root root 43021 May 10 2023 10_linux_zfs
-rwxr-xr-x 1 root root 14387 May 10 2023 20_linux_xen
-rwxr-xr-x 1 root root 13369 May 10 2023 30_os-prober
-rwxr-xr-x 1 root root 1372 May 10 2023 30_uefi-firmware
-rwxr-xr-x 1 root root 700 May 17 2023 35_fwupd
-rwxr-xr-x 1 root root 214 May 10 2023 40_custom
-rwxr-xr-x 1 root root 215 May 10 2023 41_custom
sprunge.us ko ()