I’m running Tumbleweed and I updated OS on Sunday (just regular zypper dup). Everything worked fine, except there was PCIe bus error showing in dmesg again. (basically version of this: https://askubuntu.com/questions/771899/pcie-bus-error-severity-corrected). This happens all the time and adding kernel parameter pci=nomsi fixes it. Normally I just edit grub config file, run grub2-mkconfig and that’s it. For some unknown reason I decided to use YaST this time - so I updated Kernel Parameters tab, clicked Ok, waited for progress bar to finish, typed reboot as root (didn’t closed YaST, but closed the Bootloader window). Since then I cannot boot to my system no matter what. My laptop is Lenovo Thinkpad L570, with NVMe SSD disk and I’m using EFI boot with Secure Boot turned off. After powering the PC on, Lenovo logo is displayed, then EFI boot menu. Selecting any boot record (i.e. opensuse) results in black screen for half a second, then boot menu again. No grub at all.
What I have already tried:
- boot Live openSUSE image in EFI mode, chroot, run grub2-install. No change
- fsck all partitions including EFI boot partition. No change.
- deleting boot records using *efibootmgr, *recreating them either manually or using grub2-install. No change.
- Enabling Secure Boot, installing shim. No change.
- removing *legacy_boot *flagfrom my root partition as suggested here: forums.opensuse.org/showthread.php/534275-How-to-reinstall-grub2-efi-bootloader. No change.
- drink multiple beers. No change (except feeling little bit less frustrated)
This is basically current status:
# blkid
/dev/nvme0n1p1: LABEL="SYSTEM" UUID="2C74-562A" TYPE="vfat" PARTLABEL="EFI system partition" PARTUUID="27baa8c9-d0df-42e5-b7b2-e3da9e7c604f"
/dev/nvme0n1p3: UUID="21c4d1b6-6bb8-47dd-914e-6d86be7f66f9" UUID_SUB="1bdfdc96-a5f2-475e-aeea-0ca277de4c62" TYPE="btrfs" PTTYPE="dos" PARTUUID="57cc0005-3212-db47-a691-3c5ad860e823"
/dev/nvme0n1p4: UUID="9437484d-ac48-4daa-93cb-ae639f7f752b" TYPE="swap" PARTUUID="42d2e907-55e3-994e-967d-b1a9b2e2376b"
/dev/nvme0n1p5: UUID="f98a6b07-056b-4a72-a661-52513ba9935d" TYPE="xfs" PARTUUID="68cc7507-341a-8b47-8907-a95896736287"
/dev/nvme0n1p2: PARTLABEL="Microsoft reserved partition" PARTUUID="c92b6b18-b541-44df-8aea-6ebe287da7aa"
/dev/loop0: TYPE="squashfs"
/dev/loop1: UUID="b0c866ca-f097-41ce-87fb-e06cde55d596" TYPE="ext4"
/dev/sda1: UUID="2019-11-10-02-51-52-00" LABEL="openSUSE_Tumbleweed_XFCE_Live" TYPE="iso9660"
/dev/sda2: SEC_TYPE="msdos" LABEL_FATBOOT="BOOT" LABEL="BOOT" UUID="749C-10E5" TYPE="vfat"
/dev/sda3: LABEL="cow" UUID="719d5bea-abb5-40fc-ab21-f4db07b86a29" TYPE="ext4"
# efibootmgr -v
BootCurrent: 001D
Timeout: 0 seconds
BootOrder: 0000,0017,0018,0019,001B,001C,001D,001A,001E,0022
Boot0000* opensuse HD(1,GPT,27baa8c9-d0df-42e5-b7b2-e3da9e7c604f,0x800,0x82000)/File(\EFI\opensuse\grubx64.efi)
Boot0010 Setup FvFile(721c8b66-426c-4e86-8e99-3457c46ab0b9)
Boot0011 Boot Menu FvFile(126a762d-5758-4fca-8531-201a7f57f850)
Boot0012 Diagnostic Splash Screen FvFile(a7d8d9a6-6ab0-4aeb-ad9d-163e59a7a380)
Boot0013 Lenovo Diagnostics FvFile(3f7e615b-0d45-4f80-88dc-26b234958560)
Boot0014 Startup Interrupt Menu FvFile(f46ee6f4-4785-43a3-923d-7f786c3c8479)
Boot0015 Rescue and Recovery FvFile(665d3f60-ad3e-4cad-8e26-db46eee9f1b5)
Boot0016 MEBx Hot Key FvFile(ac6fd56a-3d41-4efd-a1b9-870293811a28)
Boot0017* USB CD VenMsg(bc7838d2-0f82-4d60-8316-c068ee79d25b,86701296aa5a7848b66cd49dd3ba6a55)
Boot0018* USB FDD VenMsg(bc7838d2-0f82-4d60-8316-c068ee79d25b,6ff015a28830b543a8b8641009461e49)
Boot0019* ATAPI CD0 VenMsg(bc7838d2-0f82-4d60-8316-c068ee79d25b,aea2090adfde214e8b3a5e471856a35401)
Boot001A* NVMe0 VenMsg(bc7838d2-0f82-4d60-8316-c068ee79d25b,001c199932d94c4eae9aa0b6e98eb8a400)
Boot001B* ATA HDD1 VenMsg(bc7838d2-0f82-4d60-8316-c068ee79d25b,91af625956449f41a7b91f4f892ab0f602)
Boot001C* ATA HDD0 VenMsg(bc7838d2-0f82-4d60-8316-c068ee79d25b,91af625956449f41a7b91f4f892ab0f600)
Boot001D* USB HDD VenMsg(bc7838d2-0f82-4d60-8316-c068ee79d25b,33e821aaaf33bc4789bd419f88c50803)
Boot001E PCI LAN VenMsg(bc7838d2-0f82-4d60-8316-c068ee79d25b,78a84aaf2b2afc4ea79cf5cc8f3d3803)
Boot001F* IDER BOOT CDROM PciRoot(0x0)/Pci(0x16,0x2)/Ata(0,1,0)
Boot0020* IDER BOOT Floppy PciRoot(0x0)/Pci(0x16,0x2)/Ata(0,0,0)
Boot0021* ATA HDD VenMsg(bc7838d2-0f82-4d60-8316-c068ee79d25b,91af625956449f41a7b91f4f892ab0f6)
Boot0022* PCI LAN VenMsg(bc7838d2-0f82-4d60-8316-c068ee79d25b,78a84aaf2b2afc4ea79cf5cc8f3d3803)
# ls -l /boot/efi/EFI/opensuse/
total 308
-rwxr-xr-x 1 root root 307200 Nov 12 11:59 grubx64.efi
Any ideas what to try next?