Note that, in the live version of Zorin with the SSD's Zorin partition unmounted, sudo fsck -p /dev/nvme0n1p7
and sudo fsck -a /dev/nvme0n1p7
both return everything clean
.
I did disable SecureBoot but that alone hasn't changed anything yet. What exactly am I supposed to do regarding the nvme0n1p1/efi/ubuntu/shimx64.efi
file? And what does Locked-NVram
mean (i.e. what to do)?
Boot-Repair Summary
boot-repair-4ppa2075 [20240202_0058]
============================= Boot Repair Summary ==============================
Default settings: ______________________________________________________________
The default repair of the Boot-Repair utility would purge (in order to sign-grub) and reinstall the grub-efi-amd64-signed of
nvme0n1p7,
using the following options: nvme0n1p1/boot/efi
Additional repair would be performed: unhide-bootmenu-10s use-standard-efi-file
Final advice in case of suggested repair: ______________________________________
Please do not forget to make your UEFI firmware boot on the Zorin OS 16.3 (16) entry (nvme0n1p1/efi/****/shim****.efi (**** will be updated in the final message) file) !
If your computer reboots directly into Windows, try to change the boot order in your UEFI firmware.
If your UEFI firmware does not allow to change the boot order, change the default boot entry of the Windows bootloader.
For example you can boot into Windows, then type the following command in an admin command prompt:
bcdedit /set {bootmgr} path \EFI\****\shim****.efi (**** will be updated in the final message)
User settings: _________________________________________________________________
modprobe: FATAL: Module efivars not found in directory /lib/modules/6.2.0-39-generic
The settings chosen by the user will reinstall the grub-efi-amd64-signed of
nvme0n1p7,
using the following options: nvme0n1p1/boot/efi
Additional repair will be performed: unhide-bootmenu-10s use-standard-efi-file
Mount /dev/nvme0n1p1 on /mnt/boot-sav/nvme0n1p7/boot/efi
============ Reinstall the grub-efi-amd64-signed of /dev/nvme0n1p7 =============
chroot /mnt/boot-sav/nvme0n1p7 grub-install --version
grub-install (GRUB) 2.06-2ubuntu7.2+zorin1
modprobe: FATAL: Module efivars not found in directory /lib/modules/6.2.0-39-generic
chroot /mnt/boot-sav/nvme0n1p7 modprobe efivars
chroot /mnt/boot-sav/nvme0n1p7 efibootmgr -v before grub install
EFI variables are not supported on this system.
chroot /mnt/boot-sav/nvme0n1p7 uname -r
6.2.0-39-generic
chroot /mnt/boot-sav/nvme0n1p7 grub-install --efi-directory=/boot/efi --target=x86_64-efi --uefi-secure-boot
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.
df /dev/nvme0n1p1
mv /mnt/boot-sav/nvme0n1p7/boot/efi/EFI/Boot/bootx64.efi /mnt/boot-sav/nvme0n1p7/boot/efi/EFI/Boot/bkpbootx64.efi
cp /mnt/boot-sav/nvme0n1p7/boot/efi/efi/ubuntu/shimx64.efi /mnt/boot-sav/nvme0n1p7/boot/efi/EFI/Boot/bootx64.efi
cp /mnt/boot-sav/nvme0n1p7/boot/efi/efi/ubuntu/grubx64.efi /mnt/boot-sav/nvme0n1p7/boot/efi/EFI/Boot/
chroot /mnt/boot-sav/nvme0n1p7 grub-install --efi-directory=/boot/efi --target=x86_64-efi --uefi-secure-boot
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.
chroot /mnt/boot-sav/nvme0n1p7 efibootmgr -v after grub install
EFI variables are not supported on this system.
Warning: NVram is locked (Zorin not found in efibootmgr).
chroot /mnt/boot-sav/nvme0n1p7 update-grub
Sourcing file `/etc/default/grub'
Sourcing file `/etc/default/grub.d/init-select.cfg'
Sourcing file `/etc/default/grub.d/oem-flavour.cfg'
Found theme: /usr/share/grub/themes/zorin/theme.txt
Found linux image: /boot/vmlinuz-5.15.0-92-generic
Found initrd image: /boot/initrd.img-5.15.0-92-generic
Found linux image: /boot/vmlinuz-5.15.0-91-generic
Found initrd image: /boot/initrd.img-5.15.0-91-generic
File descriptor 63 (pipe:[116529]) leaked on lvs invocation. Parent PID 47306: /bin/sh
Found Windows Boot Manager on /dev/nvme0n1p1@/EFI/Microsoft/Boot/bootmgfw.efi
Unhide GRUB boot menu in nvme0n1p7/boot/grub/grub.cfg
Bootsektor wurde erfolgreich repariert.
Locked-NVram entdeckt. Please do not forget to make your UEFI firmware boot on the Zorin OS 16.3 (16) entry (nvme0n1p1/efi/ubuntu/shimx64.efi file) !
Bitte SecureBoot im BIOS deaktivieren. Versuchen Sie es dann erneut.
============================ Boot Info After Repair ============================
=> No boot loader is installed in the MBR of /dev/nvme0n1.
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/bkpbootx64.efi /efi/Boot/bootx64.efi
/efi/Boot/fbx64.efi /efi/Boot/grubx64.efi
/efi/Boot/mmx64.efi /efi/ubuntu/fwupdx64.efi
/efi/ubuntu/grubx64.efi /efi/ubuntu/mmx64.efi
/efi/ubuntu/shimx64.efi /efi/ubuntu/grub.cfg
/efi/dell/SOS/bootmgfw.efi /efi/dell/SOS/bootmgr.efi
/efi/dell/SOS/bootx64.efi
/efi/Microsoft/Boot/bootmgfw.efi
/efi/Microsoft/Boot/bootmgr.efi
/efi/Microsoft/Boot/cbmr_driver.efi
nvme0n1p2: _____________________________________________________________________
File system:
Boot sector type: -
Boot sector info:
nvme0n1p3: _____________________________________________________________________
File system: ntfs
Boot sector type: NTFS
Boot sector info: No errors found in the Boot Parameter Block.
Operating System: Windows 7
Boot files: /Windows/System32/winload.exe
nvme0n1p4: _____________________________________________________________________
File system: ntfs
Boot sector type: NTFS
Boot sector info: No errors found in the Boot Parameter Block.
Operating System:
Boot files:
nvme0n1p5: _____________________________________________________________________
File system: ntfs
Boot sector type: NTFS
Boot sector info: No errors found in the Boot Parameter Block.
Operating System:
Boot files:
nvme0n1p6: _____________________________________________________________________
File system: ntfs
Boot sector type: NTFS
Boot sector info: No errors found in the Boot Parameter Block.
Operating System:
Boot files:
nvme0n1p7: _____________________________________________________________________
File system: ext4
Boot sector type: -
Boot sector info:
Operating System: Zorin OS 16.3
Boot files: /boot/grub/grub.cfg /etc/fstab /etc/default/grub
sda: ___________________________________________________________________________
File system: iso9660
Boot sector type: Grub2 (v1.99-2.00)
Boot sector info: Grub2 (v1.99-2.00) is installed in the boot sector of
sda and looks at sector 0 of the same hard drive for
core.img, but core.img can not be found at this
location.
Mounting failed: mount: /mnt/BootInfo/FD/sda: /dev/sda ist bereits eingehängt oder wird gerade benutzt.
================================ 2 OS detected =================================
OS#1: Zorin OS 16.3 (16) on nvme0n1p7
OS#2: Windows 7 on nvme0n1p3
================================ Host/Hardware =================================
CPU architecture: 64-bit
Video: TigerLake-LP GT2 [Iris Xe Graphics] GP107M [GeForce MX350] from Intel Corporation NVIDIA Corporation
Live-session OS is Zorin 64-bit (Zorin OS 17, jammy, x86_64)
===================================== UEFI =====================================
BIOS/UEFI firmware: 1.30.0(1.30) from Dell Inc.
The firmware is EFI-compatible, and is set in EFI-mode for this live-session.
SecureBoot enabled according to mokutil - Bitte melden Sie diese Nachricht an boot.repair@gmail.com.
BootCurrent: 0001
Timeout: 5 seconds
BootOrder: 0001,0003,0000,0002,0004,0005,0006
Boot0000* UEFI Micron 2300 NVMe 1024GB 21172E7C4F24 1 PciRoot(0x0)/Pci(0x1d,0x0)/Pci(0x0,0x0)/NVMe(0x1,00-A0-75-01-2E-7C-4F-24)/HD(1,GPT,42fb3d2b-b0ce-4df3-b81e-d3893f40b13e,0x800,0x4b000)/File(\EFI\Boot\BootX64.efi)N.....YM....R,Y.
Boot0001* ubuntu HD(1,GPT,42fb3d2b-b0ce-4df3-b81e-d3893f40b13e,0x800,0x4b000)/File(\EFI\ubuntu\shimx64.efi)
Boot0002* Linux Firmware Updater HD(1,GPT,42fb3d2b-b0ce-4df3-b81e-d3893f40b13e,0x800,0x4b000)/File(\EFI\ubuntu\shimx64.efi)\.f.w.u.p.d.x.6.4...e.f.i...
Boot0003* Windows Boot Manager HD(1,GPT,42fb3d2b-b0ce-4df3-b81e-d3893f40b13e,0x800,0x4b000)/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.}...y................
Boot0004* UEFI 6989 Intenso Alu Line Љ PciRoot(0x0)/Pci(0x14,0x0)/USB(0,0)/HD(2,MBR,0x0,0x700338,0x2780)/File(\EFI\Boot\BootX64.efi)N.....YM....R,Y.
Boot0005* UEFI 6989 Intenso Alu Line Љ 2 PciRoot(0x0)/Pci(0x14,0x0)/USB(0,0)/HD(1,MBR,0x0,0x0,0x700338)/CDROM(1,0x2b4,0x9e00)/File(\EFI\Boot\BootX64.efi)N.....YM....R,Y.
Boot0006* UEFI 6989 Intenso Alu Line Љ 3 PciRoot(0x0)/Pci(0x14,0x0)/USB(0,0)/CDROM(1,0x2b4,0x9e00)/File(\EFI\Boot\BootX64.efi)N.....YM....R,Y.
64349b3622c65f495a99dbf6102496e3 nvme0n1p1/Boot/bkpbootx64.efi
64349b3622c65f495a99dbf6102496e3 nvme0n1p1/Boot/bootx64.efi
a9c517741ac31962d7feb152948ad1ee nvme0n1p1/Boot/fbx64.efi
a1da253696a304dce6b4668b70151c0e nvme0n1p1/Boot/grubx64.efi
a660182adef313615746a665966d2ccc nvme0n1p1/Boot/mmx64.efi
4734c732f281a666b84fc8d46cda971d nvme0n1p1/ubuntu/fwupdx64.efi
a1da253696a304dce6b4668b70151c0e nvme0n1p1/ubuntu/grubx64.efi
a660182adef313615746a665966d2ccc nvme0n1p1/ubuntu/mmx64.efi
64349b3622c65f495a99dbf6102496e3 nvme0n1p1/ubuntu/shimx64.efi
21d11860807dda64c7ffa7b5aae65044 nvme0n1p1/dell/SOS/bootmgfw.efi
8419000ecdb98d3e8e891bbd8f1e10e9 nvme0n1p1/dell/SOS/bootmgr.efi
21d11860807dda64c7ffa7b5aae65044 nvme0n1p1/dell/SOS/bootx64.efi
780b76d6bc7baf1acfdac510d1c23412 nvme0n1p1/Microsoft/Boot/bootmgfw.efi
3e244ef2467c3e10323ba9327973ac69 nvme0n1p1/Microsoft/Boot/bootmgr.efi
b8796e68099026aabcebb8fcf75b21f6 nvme0n1p1/Microsoft/Boot/cbmr_driver.efi
============================= Drive/Partition Info =============================
Disks info: ____________________________________________________________________
nvme0n1 : is-GPT, no-BIOSboot, has---ESP, 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
nvme0n1p3 : is-os, 64, nopakmgr, no-docgrub, nogrub, nogrubinstall, no-grubenv, noupdategrub, end-after-100GB
nvme0n1p4 : no-os, 64, nopakmgr, no-docgrub, nogrub, nogrubinstall, no-grubenv, noupdategrub, end-after-100GB
nvme0n1p5 : no-os, 64, nopakmgr, no-docgrub, nogrub, nogrubinstall, no-grubenv, noupdategrub, end-after-100GB
nvme0n1p6 : no-os, 64, nopakmgr, no-docgrub, nogrub, nogrubinstall, no-grubenv, noupdategrub, end-after-100GB
nvme0n1p7 : is-os, 64, apt-get, signed grub-pc grub-efi , grub2, grub-install, grubenv-ng, update-grub, end-after-100GB
Partitions info (2/3): _________________________________________________________
nvme0n1p1 : is---ESP, part-has-no-fstab, no-nt, no-winload, no-recov-nor-hid, no-bmgr, notwinboot
nvme0n1p3 : isnotESP, part-has-no-fstab, no-nt, haswinload, no-recov-nor-hid, no-bmgr, notwinboot
nvme0n1p4 : isnotESP, part-has-no-fstab, no-nt, no-winload, recovery-or-hidden, no-bmgr, notwinboot
nvme0n1p5 : isnotESP, part-has-no-fstab, no-nt, no-winload, recovery-or-hidden, no-bmgr, notwinboot
nvme0n1p6 : isnotESP, part-has-no-fstab, no-nt, no-winload, recovery-or-hidden, no-bmgr, notwinboot
nvme0n1p7 : isnotESP, fstab-has-goodEFI, no-nt, no-winload, 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
nvme0n1p3 : not--sepboot, no---boot, part-has-no-fstab, not-sep-usr, no---usr, part-has-no-fstab, no--grub.d, nvme0n1
nvme0n1p4 : not--sepboot, no---boot, part-has-no-fstab, not-sep-usr, no---usr, part-has-no-fstab, no--grub.d, nvme0n1
nvme0n1p5 : not--sepboot, no---boot, part-has-no-fstab, not-sep-usr, no---usr, part-has-no-fstab, no--grub.d, nvme0n1
nvme0n1p6 : not--sepboot, no---boot, part-has-no-fstab, not-sep-usr, no---usr, part-has-no-fstab, no--grub.d, nvme0n1
nvme0n1p7 : not--sepboot, with-boot, fstab-without-boot, not-sep-usr, with--usr, fstab-without-usr, std-grub.d, nvme0n1
fdisk -l (filtered): ___________________________________________________________
Disk nvme0n1: 953.87 GiB, 1024209543168 bytes, 2000409264 sectors
Disk identifier: C4AE2D76-6D39-4A01-8758-8C962DF584AC
Start End Sectors Size Type
nvme0n1p1 2048 309247 307200 150M EFI System
nvme0n1p2 309248 571391 262144 128M Microsoft reserved
nvme0n1p3 571392 490000828 489429437 233.4G Microsoft basic data
nvme0n1p4 1955100672 1957128191 2027520 990M Windows recovery environment
nvme0n1p5 1957128192 1997416447 40288256 19.2G Windows recovery environment
nvme0n1p6 1997418496 2000377855 2959360 1.4G Windows recovery environment
nvme0n1p7 490002432 1955100671 1465098240 698.6G Linux filesystem
Partition table entries are not in disk order.
Disk sda: 14.75 GiB, 15833497600 bytes, 30924800 sectors
Disk identifier: 0x00000000
Boot Start End Sectors Size Id Type
sda1 * 0 7340855 7340856 3.5G 83 Linux
sda2 7340856 7350967 10112 4.9M ef EFI (FAT-12/16/32)
sda3 7352320 30924799 23572480 11.2G 83 Linux
parted -lm (filtered): _________________________________________________________
sda:15.8GB:scsi:512:512:unknown:Intenso Alu Line:;
nvme0n1:1024GB:nvme:512:512:gpt:Micron 2300 NVMe 1024GB:;
1:1049kB:158MB:157MB:fat32:EFI system partition:boot, esp;
2:158MB:293MB:134MB::Microsoft reserved partition:msftres;
3:293MB:251GB:251GB:ntfs:Basic data partition:msftdata;
7:251GB:1001GB:750GB:ext4::;
4:1001GB:1002GB:1038MB:ntfs::hidden, diag;
5:1002GB:1023GB:20.6GB:ntfs::hidden, diag;
6:1023GB:1024GB:1515MB:ntfs::hidden, diag;
Free space >10MiB: ______________________________________________________________
nvme0n1: 976747MiB:976762MiB:15.3MiB
blkid (filtered): ______________________________________________________________
NAME FSTYPE UUID PARTUUID LABEL PARTLABEL
sda iso9660 2023-12-19-18-36-10-00 Zorin OS 17 Core 64bit
├─sda1 iso9660 2023-12-19-18-36-10-00 Zorin OS 17 Core 64bit
├─sda2 vfat 2933-F8B3
└─sda3 ext4 2826600e-5274-458c-be96-4870011bde5a writable
nvme0n1
├─nvme0n1p1 vfat 5A83-06BE 42fb3d2b-b0ce-4df3-b81e-d3893f40b13e ESP EFI system partition
├─nvme0n1p2 253fd8d4-3672-4e3f-a4ca-c20bfbba4009 Microsoft reserved partition
├─nvme0n1p3 ntfs 96D484DED484C24B a65c5a78-5371-4ac9-a8d5-6993ea4df831 OS Basic data partition
├─nvme0n1p4 ntfs CEF422C6F422B11F c24e584b-9bbc-48ab-aec1-f1ff20153727 WINRETOOLS
├─nvme0n1p5 ntfs 8CF62300F622EA62 f1343f99-45da-474e-8e85-0f7113874c39 Image
├─nvme0n1p6 ntfs FCE48C5BE48C1A52 0d2ab055-d804-4828-ac46-70361ffe9ad7 DELLSUPPORT
└─nvme0n1p7 ext4 f3f553e1-4043-499f-8dd7-847656680445 74ba774d-0842-4c16-8d22-465ee17af412
Mount points (filtered): _______________________________________________________
Avail Use% Mounted on
/dev/nvme0n1p1 17.8M 88% /mnt/boot-sav/nvme0n1p1
/dev/nvme0n1p3 128.5G 45% /mnt/boot-sav/nvme0n1p3
/dev/nvme0n1p4 321.4M 68% /mnt/boot-sav/nvme0n1p4
/dev/nvme0n1p5 159.3M 99% /mnt/boot-sav/nvme0n1p5
/dev/nvme0n1p6 562.8M 61% /mnt/boot-sav/nvme0n1p6
/dev/nvme0n1p7 35.9G 90% /mnt/boot-sav/nvme0n1p7
/dev/sda1 0 100% /cdrom
Mount options (filtered): ______________________________________________________
/dev/nvme0n1p1 vfat rw,relatime,fmask=0022,dmask=0022,codepage=437,iocharset=iso8859-1,shortname=mixed,errors=remount-ro
/dev/nvme0n1p3 fuseblk rw,relatime,user_id=0,group_id=0,allow_other,blksize=4096
/dev/nvme0n1p4 fuseblk rw,relatime,user_id=0,group_id=0,allow_other,blksize=4096
/dev/nvme0n1p5 fuseblk rw,relatime,user_id=0,group_id=0,allow_other,blksize=4096
/dev/nvme0n1p6 fuseblk rw,relatime,user_id=0,group_id=0,allow_other,blksize=4096
/dev/nvme0n1p7 ext4 rw,relatime
/dev/sda1 iso9660 ro,noatime,nojoliet,check=s,map=n,blocksize=2048,iocharset=utf8
=================== nvme0n1p1/efi/ubuntu/grub.cfg (filtered) ===================
search.fs_uuid f3f553e1-4043-499f-8dd7-847656680445 root
set prefix=($root)'/boot/grub'
configfile $prefix/grub.cfg
=================== nvme0n1p7/boot/grub/grub.cfg (filtered) ====================
Zorin f3f553e1-4043-499f-8dd7-847656680445
Windows Boot Manager (on nvme0n1p1) osprober-efi-5A83-06BE
### END /etc/grub.d/30_os-prober ###
### END /etc/grub.d/30_uefi-firmware ###
======================== nvme0n1p7/etc/fstab (filtered) ========================
# <file system> <mount point> <type> <options> <dump> <pass>
# / was on /dev/nvme0n1p7 during installation
UUID=f3f553e1-4043-499f-8dd7-847656680445 / ext4 errors=remount-ro 0 1
# /boot/efi was on /dev/nvme0n1p1 during installation
UUID=5A83-06BE /boot/efi vfat umask=0077 0 1
/swapfile none swap sw 0 0
==================== nvme0n1p7/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 i8042.nomux i8024.noloop"
GRUB_CMDLINE_LINUX=""
GRUB_THEME=/usr/share/grub/themes/zorin/theme.txt
GRUB_DISABLE_OS_PROBER=false
================= nvme0n1p7: Location of files loaded by Grub ==================
GiB - GB File Fragment(s)
257,061588287 = 276,017778688 boot/grub/grub.cfg 1
237,584056854 = 255,103938560 boot/vmlinuz 2
275,951244354 = 296,300392448 boot/vmlinuz-5.15.0-91-generic 2
237,584056854 = 255,103938560 boot/vmlinuz-5.15.0-92-generic 2
275,951244354 = 296,300392448 boot/vmlinuz.old 2
358,854488373 = 385,317072896 boot/initrd.img 5
882,237300873 = 947,295088640 boot/initrd.img-5.15.0-91-generic 14
358,854488373 = 385,317072896 boot/initrd.img-5.15.0-92-generic 5
882,237300873 = 947,295088640 boot/initrd.img.old 14
=================== nvme0n1p7: ls -l /etc/grub.d/ (filtered) ===================
-rwxr-xr-x 1 root root 18214 Aug 13 2022 10_linux
-rwxr-xr-x 1 root root 18673 May 10 2023 10_linux.dpkg-new
-rwxr-xr-x 1 root root 42349 Aug 20 2021 10_linux_zfs
-rwxr-xr-x 1 root root 43021 May 10 2023 10_linux_zfs.dpkg-new
-rwxr-xr-x 1 root root 13101 Jul 2 2023 20_linux_xen
-rwxr-xr-x 1 root root 14387 May 10 2023 20_linux_xen.dpkg-new
-rwxr-xr-x 1 root root 12059 Aug 20 2021 30_os-prober
-rwxr-xr-x 1 root root 13369 May 10 2023 30_os-prober.dpkg-new
-rwxr-xr-x 1 root root 1424 Aug 20 2021 30_uefi-firmware
-rwxr-xr-x 1 root root 1372 May 10 2023 30_uefi-firmware.dpkg-new
-rwxr-xr-x 1 root root 700 Feb 21 2022 35_fwupd
-rwxr-xr-x 1 root root 214 Aug 20 2021 40_custom
-rwxr-xr-x 1 root root 214 May 10 2023 40_custom.dpkg-new
-rwxr-xr-x 1 root root 216 Aug 20 2021 41_custom
-rwxr-xr-x 1 root root 215 May 10 2023 41_custom.dpkg-new
Btw. thank you both very much for your quick help already 