Skip to main content
Topic solved
This topic has been marked as solved and requires no further attention.
Topic: [SOLVED] I broke my bootloader? (Read 1064 times) previous topic - next topic
0 Members and 1 Guest are viewing this topic.

[SOLVED] I broke my bootloader?

I'm using a ThinkPad X1 Extreme Gen2 with Artix Linux. It's been going good for several months.
I recently tried updating my firmware with "fwupdmgr install" on the official Lenovo cab file and it told me there were no compatible devices. I eventually gave up on using fwupd and created a usb boot image from Lenovo and updated my firmware that way.

but in the process of trying to use fwupd I've somehow messed up my bootloader. I can't get to grub from BIOS; i have to boot into a linux live USB (i'm using the artix one ofcourse), select "Detect efi bootloaders" on that, and then i can select my /boot/efi/artix/grubx64.efi from there and I'm able to boot into linux then. If I select my actual drive from the computer's boot menu, it doesn't work. This started happening before I updated BIOS via the USB image so i know it has to do with my mucking around with fwupd.

Something else odd that i've noticed is that my boot menu lists my two NVME drives in the opposite order compared to lsblk.  in lsblk my linux drive is nvme1n1, and my (previously empty) other drive is nvme0n1.   My boot menu lists the drive with linux on it as NVMe0 and the empty as NVMe1.  Could this discrepancy have anything to do with it?

here is some stuff
Code: [Select]
$ efibootmgr -v
BootCurrent: 001F
Timeout: 0 seconds
BootOrder: 0010,0011,0012,0013,0014,0015,0019,001A,001F,001B,001C,001D,001E,0020,0021,0023,0022,0024
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  Regulatory Information    FvFile(478c92a0-2622-42b7-a65d-5894169e4d24)
Boot0015  ThinkShield secure wipe    FvFile(3593a0d5-bd52-43a0-808e-cbff5ece2477)
Boot0016  Startup Interrupt Menu    FvFile(f46ee6f4-4785-43a3-923d-7f786c3c8479)
Boot0017  Rescue and Recovery    FvFile(665d3f60-ad3e-4cad-8e26-db46eee9f1b5)
Boot0018  MEBx Hot Key    FvFile(ac6fd56a-3d41-4efd-a1b9-870293811a28)
Boot0019  USB CD    VenMsg(bc7838d2-0f82-4d60-8316-c068ee79d25b,86701296aa5a7848b66cd49dd3ba6a55)
Boot001A  USB FDD    VenMsg(bc7838d2-0f82-4d60-8316-c068ee79d25b,6ff015a28830b543a8b8641009461e49)
Boot001B* NVMe0    VenMsg(bc7838d2-0f82-4d60-8316-c068ee79d25b,001c199932d94c4eae9aa0b6e98eb8a400)
Boot001C* NVMe1    VenMsg(bc7838d2-0f82-4d60-8316-c068ee79d25b,001c199932d94c4eae9aa0b6e98eb8a401)
Boot001D  ATA HDD0    VenMsg(bc7838d2-0f82-4d60-8316-c068ee79d25b,91af625956449f41a7b91f4f892ab0f601)
Boot001E  ATA HDD1    VenMsg(bc7838d2-0f82-4d60-8316-c068ee79d25b,91af625956449f41a7b91f4f892ab0f602)
Boot001F* USB HDD    VenMsg(bc7838d2-0f82-4d60-8316-c068ee79d25b,33e821aaaf33bc4789bd419f88c50803)
Boot0020  PXE BOOT    VenMsg(bc7838d2-0f82-4d60-8316-c068ee79d25b,78a84aaf2b2afc4ea79cf5cc8f3d3803)
Boot0021  HTTPS BOOT    VenMsg(bc7838d2-0f82-4d60-8316-c068ee79d25b,ad38ccbbf7edf04d959cf42aa74d3650)/Uri()
Boot0022  LENOVO CLOUD    VenMsg(bc7838d2-0f82-4d60-8316-c068ee79d25b,ad38ccbbf7edf04d959cf42aa74d3650)/Uri(https://download.lenovo.com/pccbbs/cdeploy/efi/boot.efi)
Boot0023  Other CD    VenMsg(bc7838d2-0f82-4d60-8316-c068ee79d25b,aea2090adfde214e8b3a5e471856a35406)
Boot0024  Other HDD    VenMsg(bc7838d2-0f82-4d60-8316-c068ee79d25b,91af625956449f41a7b91f4f892ab0f606)
Boot0025* IDER BOOT CDROM    PciRoot(0x0)/Pci(0x14,0x0)/USB(15,1)
Boot0026* IDER BOOT Floppy    PciRoot(0x0)/Pci(0x14,0x0)/USB(15,0)
Boot0027* ATA HDD    VenMsg(bc7838d2-0f82-4d60-8316-c068ee79d25b,91af625956449f41a7b91f4f892ab0f6)
Boot0028* ATAPI CD    VenMsg(bc7838d2-0f82-4d60-8316-c068ee79d25b,aea2090adfde214e8b3a5e471856a354)
Code: [Select]
$ efivar -l
0b7646a4-6b44-4332-8588-c8998117f2ef-LastBootCurrent
eb704011-1402-11d3-8e77-00a0c969723b-MTC
8be4df61-93ca-11d2-aa0d-00e098032b8c-BootOrder
8be4df61-93ca-11d2-aa0d-00e098032b8c-ConOut
8be4df61-93ca-11d2-aa0d-00e098032b8c-Boot0022
8be4df61-93ca-11d2-aa0d-00e098032b8c-Boot0021
8be4df61-93ca-11d2-aa0d-00e098032b8c-Boot0020
8be4df61-93ca-11d2-aa0d-00e098032b8c-Boot001E
8be4df61-93ca-11d2-aa0d-00e098032b8c-Boot001D
8be4df61-93ca-11d2-aa0d-00e098032b8c-Boot001A
8be4df61-93ca-11d2-aa0d-00e098032b8c-Boot0019
37d3e8e0-8858-4b84-a106-244bb8cbfdc3-LenovoLogging
8be4df61-93ca-11d2-aa0d-00e098032b8c-ConIn
0abba7dc-e516-4167-bbf5-4d9d1c739416-fwupd-230c8b18-8d9b-53ec-838b-6cfc0383493a-0
e20939be-32d4-41be-a150-897f85d49829-MemoryOverwriteRequestControl
ba57e015-65b3-4c3c-b274-659192f699e3-BugCheckProgress
ba57e015-65b3-4c3c-b274-659192f699e3-BugCheckParameter1
ba57e015-65b3-4c3c-b274-659192f699e3-BugCheckCode
da48669f-63cc-4c23-bd99-78a09ff989c4-TdkFlashCommandLine
d719b2cb-3d3a-4596-a3bc-dad00e67656f-dbx
8be4df61-93ca-11d2-aa0d-00e098032b8c-Boot001F
8be4df61-93ca-11d2-aa0d-00e098032b8c-Boot001C
8be4df61-93ca-11d2-aa0d-00e098032b8c-Boot001B
8be4df61-93ca-11d2-aa0d-00e098032b8c-Timeout
d69a279b-58eb-45d1-a148-771bb9eb5251-EPCSW
8be4df61-93ca-11d2-aa0d-00e098032b8c-Key0001
8be4df61-93ca-11d2-aa0d-00e098032b8c-Key0000
8be4df61-93ca-11d2-aa0d-00e098032b8c-Key0008
8be4df61-93ca-11d2-aa0d-00e098032b8c-Key0007
8be4df61-93ca-11d2-aa0d-00e098032b8c-Key0006
8be4df61-93ca-11d2-aa0d-00e098032b8c-Key0005
8be4df61-93ca-11d2-aa0d-00e098032b8c-Key0004
8be4df61-93ca-11d2-aa0d-00e098032b8c-Key0003
8be4df61-93ca-11d2-aa0d-00e098032b8c-Key0002
8be4df61-93ca-11d2-aa0d-00e098032b8c-Boot0028
8be4df61-93ca-11d2-aa0d-00e098032b8c-Boot0027
8be4df61-93ca-11d2-aa0d-00e098032b8c-Boot0026
8be4df61-93ca-11d2-aa0d-00e098032b8c-Boot0025
8be4df61-93ca-11d2-aa0d-00e098032b8c-Boot0024
8be4df61-93ca-11d2-aa0d-00e098032b8c-Boot0023
8be4df61-93ca-11d2-aa0d-00e098032b8c-Boot0018
8be4df61-93ca-11d2-aa0d-00e098032b8c-Boot0017
8be4df61-93ca-11d2-aa0d-00e098032b8c-Boot0016
8be4df61-93ca-11d2-aa0d-00e098032b8c-Boot0015
8be4df61-93ca-11d2-aa0d-00e098032b8c-Boot0014
8be4df61-93ca-11d2-aa0d-00e098032b8c-Boot0013
8be4df61-93ca-11d2-aa0d-00e098032b8c-Boot0012
8be4df61-93ca-11d2-aa0d-00e098032b8c-Boot0011
8be4df61-93ca-11d2-aa0d-00e098032b8c-Boot0010
eaec226f-c9a3-477a-a826-ddc716cdc0e3-OfflineUniqueIDEKPubCRC
eaec226f-c9a3-477a-a826-ddc716cdc0e3-OfflineUniqueIDEKPub
eaec226f-c9a3-477a-a826-ddc716cdc0e3-UnlockIDCopy
4a67b082-0a4c-41cf-b6c7-440b29bb8c4f-LoaderEntryRebootReason
60b5e939-0fcf-4227-ba83-6bbed45bc0e3-BootState
04b37fe8-f6ae-480b-bdd5-37d98c5e89aa-VarErrorFlag
4da4f952-2516-4d06-8975-65036403a8c7-RstOptaneConfig
8be4df61-93ca-11d2-aa0d-00e098032b8c-PlatformLang
bb983ccf-151d-40e1-a07b-4a17be168292-MemoryOverwriteRequestControlLock
8be4df61-93ca-11d2-aa0d-00e098032b8c-PK
8be4df61-93ca-11d2-aa0d-00e098032b8c-KEK
d719b2cb-3d3a-4596-a3bc-dad00e67656f-db
77fa9abd-0359-4d32-bd60-28f4e78f784b-CurrentPolicy
d9bee56e-75dc-49d9-b4d7-b534210f637a-certdb
aaf32c78-947b-439a-a180-2e144ec37792-AuthVarKeyDatabase
8be4df61-93ca-11d2-aa0d-00e098032b8c-BootCurrent
8be4df61-93ca-11d2-aa0d-00e098032b8c-OsIndicationsSupported
146b234d-4052-4e07-b326-11220f8e1fe8-lBoot0028
146b234d-4052-4e07-b326-11220f8e1fe8-lBoot0027
146b234d-4052-4e07-b326-11220f8e1fe8-lBoot0026
146b234d-4052-4e07-b326-11220f8e1fe8-lBoot0025
146b234d-4052-4e07-b326-11220f8e1fe8-lBoot0024
146b234d-4052-4e07-b326-11220f8e1fe8-lBoot0023
146b234d-4052-4e07-b326-11220f8e1fe8-lBoot0022
146b234d-4052-4e07-b326-11220f8e1fe8-lBoot0021
146b234d-4052-4e07-b326-11220f8e1fe8-lBoot0020
146b234d-4052-4e07-b326-11220f8e1fe8-lBoot001F
146b234d-4052-4e07-b326-11220f8e1fe8-lBoot001E
146b234d-4052-4e07-b326-11220f8e1fe8-lBoot001D
146b234d-4052-4e07-b326-11220f8e1fe8-lBoot001C
146b234d-4052-4e07-b326-11220f8e1fe8-lBoot001B
146b234d-4052-4e07-b326-11220f8e1fe8-lBoot001A
146b234d-4052-4e07-b326-11220f8e1fe8-lBoot0019
146b234d-4052-4e07-b326-11220f8e1fe8-lBoot0018
146b234d-4052-4e07-b326-11220f8e1fe8-lBoot0017
146b234d-4052-4e07-b326-11220f8e1fe8-lBoot0016
146b234d-4052-4e07-b326-11220f8e1fe8-lBoot0015
146b234d-4052-4e07-b326-11220f8e1fe8-lBoot0014
146b234d-4052-4e07-b326-11220f8e1fe8-lBoot0013
146b234d-4052-4e07-b326-11220f8e1fe8-lBoot0012
146b234d-4052-4e07-b326-11220f8e1fe8-lBoot0011
146b234d-4052-4e07-b326-11220f8e1fe8-lBoot0010
8be4df61-93ca-11d2-aa0d-00e098032b8c-ConInDev
8be4df61-93ca-11d2-aa0d-00e098032b8c-ErrOutDev
8be4df61-93ca-11d2-aa0d-00e098032b8c-ConOutDev
57a34c69-4d62-0b7e-86e4-939c5c9b7c93-EventLog
8be4df61-93ca-11d2-aa0d-00e098032b8c-PlatformLangCodes
8be4df61-93ca-11d2-aa0d-00e098032b8c-BootOptionSupport
ec87d643-eba4-4bb5-a1e5-3f3e36b20da9-TbtSetupVolatileData
b08f97ff-e6e8-4193-a997-5e9e9b0adb32-CpuSetupVolatileData
9cb2e73f-7325-40f4-a484-659bb344c3cd-SOFTWAREGUARDSTATUS
8be4df61-93ca-11d2-aa0d-00e098032b8c-VendorKeys
d9bee56e-75dc-49d9-b4d7-b534210f637a-certdbv
8be4df61-93ca-11d2-aa0d-00e098032b8c-SecureBoot
8be4df61-93ca-11d2-aa0d-00e098032b8c-SignatureSupport
8be4df61-93ca-11d2-aa0d-00e098032b8c-SetupMode
a7d8d9a6-6ab0-4aeb-ad9d-163e59a7a380-DIAGSPLSHSCRN
943d1460-da6e-499a-af6d-4593b12bc4d7-LenovoThermalShutdown
0b7646a4-6b44-4332-8588-c8998117f2ef-BootOrderDefault
0b7646a4-6b44-4332-8588-c8998117f2ef-LastBootOrder
b08f97ff-e6e8-4193-a997-5e9e9b0adb32-CpuSetup
ec87d643-eba4-4bb5-a1e5-3f3e36b20da9-SetupCpuFeatures
711c703f-c285-4b10-a3b0-36ecbd3c8be2-CapsuleLongModeBuffer
c3eeae98-23bf-412b-ab60-efcbb48e1534-SMBIOSELOG000
ec87d643-eba4-4bb5-a1e5-3f3e36b20da9-Setup
e947fcf9-dd01-4965-b808-32a7b6815657-System
2a4dc6b7-41f5-45dd-b46f-2dd334c1cf65-LBC
5432122d-d034-49d2-a6de-65a829eb4c74-MeSetup
72c5e28c-7783-43a1-8767-fad73fccafa4-SaSetup
4570b7f1-ade8-4943-8dc3-406472842384-PchSetup
67c3208e-4fcb-498f-9729-0760bb4109a7-LenovoScratchData
5432122d-d034-49d2-a6de-65a829eb4c74-MeSetupStorage
2a4dc6b7-41f5-45dd-b46f-2dd334c1cf65-LenovoRuntimeConfig
2a4dc6b7-41f5-45dd-b46f-2dd334c1cf65-LenovoConfig
a2c1808f-0d4f-4cc9-a619-d1e641d39d49-LenovoSecurityConfig
580020c3-6c9c-4f93-8008-7fadc1fcfedd-LenovoFunctionConfig
5aaaa50f-8348-43aa-befe-7fc4b9838ab5-ESRTPLATFORMENTRY
27d37beb-537d-486f-916c-7ba02cff60f4-LenovoAbtStatus
ec87d643-eba4-4bb5-a1e5-3f3e36b20da9-SdevXhciSetup
c3eeae98-23bf-412b-ab60-efcbb48e1534-SMBIOSMEMSIZE
67c3208e-4fcb-498f-9729-0760bb4109a7-MailBoxQ
1827cfc7-4e61-4273-b796-d35f4b0c88fc-LenovoHiddenSetting
2a4dc6b7-41f5-45dd-b46f-2dd334c1cf65-LBL
c60aa7f6-e8d6-4956-8ba1-fe26298f5e87-EPCBIOS
2a4dc6b7-41f5-45dd-b46f-2dd334c1cf65-LWO
2a4dc6b7-41f5-45dd-b46f-2dd334c1cf65-LenovoSystemConfig
54447606-288e-4136-9804-bd4f170d8695-LenovoFprData
0af4027f-9b58-41c0-b62f-cd3a1cef54ee-LenovoWolInfo
aeb9c5c1-94f1-4d02-bfd9-4602db2d3c54-Tcg2PhysicalPresence
0f6499b1-e9ad-493d-b9c2-2f90815c6cbc-PhysicalPresence
0b7646a4-6b44-4332-8588-c8998117f2ef-ProtectedBootOptions
7b07d184-02d0-4bfd-ad6e-554c39353a13-LnvSysCfgReq
a7d8d9a6-6ab0-4aeb-ad9d-163e59a7a380-SetupHotKey
0f6499b1-e9ad-493d-b9c2-2f90815c6cbc-PhysicalPresenceFlags
aeb9c5c1-94f1-4d02-bfd9-4602db2d3c54-Tcg2PhysicalPresenceFlags
c3eeae98-23bf-412b-ab60-efcbb48e1534-SMBIOSELOGNUMBER
0ec1a7f5-4904-40a0-8eab-4bcc4666da45-PbaStatusVar
e59376d7-2dd9-42a3-9ec8-1d71d5e3c1ec-OsProfile
ec87d643-eba4-4bb5-a1e5-3f3e36b20da9-InitSetupVariable
42780dd5-9a7d-404c-80e4-7f7094360394-GPC
92daaf2f-c02b-455b-b2ec-f5a3594f4aea-GPC
42780dd5-9a7d-404c-80e4-7f7094360394-SADS
92daaf2f-c02b-455b-b2ec-f5a3594f4aea-SADS
92daaf2f-c02b-455b-b2ec-f5a3594f4aea-WGDS
92daaf2f-c02b-455b-b2ec-f5a3594f4aea-EWRD
42780dd5-9a7d-404c-80e4-7f7094360394-BRDS
92daaf2f-c02b-455b-b2ec-f5a3594f4aea-WRDS
92daaf2f-c02b-455b-b2ec-f5a3594f4aea-WRDD
92daaf2f-c02b-455b-b2ec-f5a3594f4aea-WAND
92daaf2f-c02b-455b-b2ec-f5a3594f4aea-SPLC
14a22a97-8424-489e-9ead-dc09255658b5-UCR
ec87d643-eba4-4bb5-a1e5-3f3e36b20da9-PciBusSetup
49ad5446-9d32-4455-af9b-d774bda2cf8b-LenovoBDG
aaf8e719-48f8-4099-a6f7-645fbd694c3d-SiSetup
Code: [Select]
$ lsblk
NAME        MAJ:MIN RM   SIZE RO TYPE MOUNTPOINT
nvme0n1     259:0    0 465.8G  0 disk
└─nvme0n1p1 259:1    0 465.8G  0 part
nvme1n1     259:2    0 238.5G  0 disk
├─nvme1n1p1 259:3    0   260M  0 part /boot
├─nvme1n1p2 259:4    0    24G  0 part [SWAP]
├─nvme1n1p3 259:5    0    32G  0 part /
└─nvme1n1p4 259:6    0 182.2G  0 part /home
i recently copied all of my /home files onto my empty NVMe drive because i was planning on reinstalling linux, hoping that would fix things.  but i am not sure whether that would be necessary or successful, depending on what is causing this issue
Code: [Select]
$ sudo fdisk -l
Disk /dev/nvme0n1: 465.78 GiB, 500107862016 bytes, 976773168 sectors
Disk model: Samsung SSD 970 EVO 500GB              
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disklabel type: dos
Disk identifier: 0xa22ec901

Device         Boot Start       End   Sectors   Size Id Type
/dev/nvme0n1p1       2048 976773167 976771120 465.8G 83 Linux


Disk /dev/nvme1n1: 238.49 GiB, 256060514304 bytes, 500118192 sectors
Disk model: SAMSUNG MZVLB256HBHQ-000L7             
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disklabel type: gpt
Disk identifier: B2AD80AE-34AE-1047-B049-E69164D2E8B2

Device             Start       End   Sectors   Size Type
/dev/nvme1n1p1      2048    534527    532480   260M EFI System
/dev/nvme1n1p2    534528  50866175  50331648    24G Linux swap
/dev/nvme1n1p3  50866176 117975039  67108864    32G Linux root (x86-64)
/dev/nvme1n1p4 117975040 500118158 382143119 182.2G Linux home
Code: [Select]
$ tree /boot
/boot
├── EFI
│   └── artix
│       └── grubx64.efi
├── grub
│   ├── fonts
│   │   └── unicode.pf2
│   ├── grub.cfg
│   ├── grubenv
│   ├── locale
│   │   ├── ast.mo
│   │   ├── ca.mo
│   │   ├── da.mo
│   │   ├── de.mo
│   │   ├── [email protected]
│   │   ├── de_CH.mo
│   │   ├── [email protected]
│   │   ├── [email protected]
│   │   ├── [email protected]
│   │   ├── [email protected]
│   │   ├── [email protected]
│   │   ├── [email protected]
│   │   ├── eo.mo
│   │   ├── es.mo
│   │   ├── fi.mo
│   │   ├── fr.mo
│   │   ├── gl.mo
│   │   ├── hr.mo
│   │   ├── hu.mo
│   │   ├── id.mo
│   │   ├── it.mo
│   │   ├── ja.mo
│   │   ├── ko.mo
│   │   ├── lt.mo
│   │   ├── nb.mo
│   │   ├── nl.mo
│   │   ├── pa.mo
│   │   ├── pl.mo
│   │   ├── pt.mo
│   │   ├── pt_BR.mo
│   │   ├── ro.mo
│   │   ├── ru.mo
│   │   ├── sl.mo
│   │   ├── sr.mo
│   │   ├── sv.mo
│   │   ├── tr.mo
│   │   ├── uk.mo
│   │   ├── vi.mo
│   │   ├── zh_CN.mo
│   │   └── zh_TW.mo
│   ├── themes
│   │   └── starfield
│   │       ├── COPYING.CC-BY-SA-3.0
│   │       ├── README
│   │       ├── blob_w.png
│   │       ├── boot_menu_c.png
│   │       ├── boot_menu_e.png
│   │       ├── boot_menu_n.png
│   │       ├── boot_menu_ne.png
│   │       ├── boot_menu_nw.png
│   │       ├── boot_menu_s.png
│   │       ├── boot_menu_se.png
│   │       ├── boot_menu_sw.png
│   │       ├── boot_menu_w.png
│   │       ├── dejavu_10.pf2
│   │       ├── dejavu_12.pf2
│   │       ├── dejavu_14.pf2
│   │       ├── dejavu_16.pf2
│   │       ├── dejavu_bold_14.pf2
│   │       ├── slider_c.png
│   │       ├── slider_n.png
│   │       ├── slider_s.png
│   │       ├── starfield.png
│   │       ├── terminal_box_c.png
│   │       ├── terminal_box_e.png
│   │       ├── terminal_box_n.png
│   │       ├── terminal_box_ne.png
│   │       ├── terminal_box_nw.png
│   │       ├── terminal_box_s.png
│   │       ├── terminal_box_se.png
│   │       ├── terminal_box_sw.png
│   │       ├── terminal_box_w.png
│   │       └── theme.txt
│   └── x86_64-efi
│       ├── acpi.mod
│       ├── adler32.mod
│       ├── affs.mod
│       ├── afs.mod
│       ├── ahci.mod
│       ├── all_video.mod
│       ├── aout.mod
│       ├── appleldr.mod
│       ├── archelp.mod
│       ├── at_keyboard.mod
│       ├── ata.mod
│       ├── backtrace.mod
│       ├── bfs.mod
│       ├── bitmap.mod
│       ├── bitmap_scale.mod
│       ├── blocklist.mod
│       ├── boot.mod
│       ├── boottime.mod
│       ├── bsd.mod
│       ├── bswap_test.mod
│       ├── btrfs.mod
│       ├── bufio.mod
│       ├── cacheinfo.mod
│       ├── cat.mod
│       ├── cbfs.mod
│       ├── cbls.mod
│       ├── cbmemc.mod
│       ├── cbtable.mod
│       ├── cbtime.mod
│       ├── chain.mod
│       ├── cmdline_cat_test.mod
│       ├── cmp.mod
│       ├── cmp_test.mod
│       ├── command.lst
│       ├── configfile.mod
│       ├── core.efi
│       ├── cpio.mod
│       ├── cpio_be.mod
│       ├── cpuid.mod
│       ├── crc64.mod
│       ├── crypto.lst
│       ├── crypto.mod
│       ├── cryptodisk.mod
│       ├── cs5536.mod
│       ├── ctz_test.mod
│       ├── date.mod
│       ├── datehook.mod
│       ├── datetime.mod
│       ├── disk.mod
│       ├── diskfilter.mod
│       ├── div.mod
│       ├── div_test.mod
│       ├── dm_nv.mod
│       ├── echo.mod
│       ├── efi_gop.mod
│       ├── efi_uga.mod
│       ├── efifwsetup.mod
│       ├── efinet.mod
│       ├── ehci.mod
│       ├── elf.mod
│       ├── eval.mod
│       ├── exfat.mod
│       ├── exfctest.mod
│       ├── ext2.mod
│       ├── extcmd.mod
│       ├── f2fs.mod
│       ├── fat.mod
│       ├── file.mod
│       ├── fixvideo.mod
│       ├── font.mod
│       ├── fs.lst
│       ├── fshelp.mod
│       ├── functional_test.mod
│       ├── gcry_arcfour.mod
│       ├── gcry_blowfish.mod
│       ├── gcry_camellia.mod
│       ├── gcry_cast5.mod
│       ├── gcry_crc.mod
│       ├── gcry_des.mod
│       ├── gcry_dsa.mod
│       ├── gcry_idea.mod
│       ├── gcry_md4.mod
│       ├── gcry_md5.mod
│       ├── gcry_rfc2268.mod
│       ├── gcry_rijndael.mod
│       ├── gcry_rmd160.mod
│       ├── gcry_rsa.mod
│       ├── gcry_seed.mod
│       ├── gcry_serpent.mod
│       ├── gcry_sha1.mod
│       ├── gcry_sha256.mod
│       ├── gcry_sha512.mod
│       ├── gcry_tiger.mod
│       ├── gcry_twofish.mod
│       ├── gcry_whirlpool.mod
│       ├── geli.mod
│       ├── gettext.mod
│       ├── gfxmenu.mod
│       ├── gfxterm.mod
│       ├── gfxterm_background.mod
│       ├── gfxterm_menu.mod
│       ├── gptsync.mod
│       ├── grub.efi
│       ├── gzio.mod
│       ├── halt.mod
│       ├── hashsum.mod
│       ├── hdparm.mod
│       ├── hello.mod
│       ├── help.mod
│       ├── hexdump.mod
│       ├── hfs.mod
│       ├── hfsplus.mod
│       ├── hfspluscomp.mod
│       ├── http.mod
│       ├── iorw.mod
│       ├── iso9660.mod
│       ├── jfs.mod
│       ├── jpeg.mod
│       ├── keylayouts.mod
│       ├── keystatus.mod
│       ├── ldm.mod
│       ├── legacy_password_test.mod
│       ├── legacycfg.mod
│       ├── linux.mod
│       ├── linux16.mod
│       ├── loadbios.mod
│       ├── loadenv.mod
│       ├── loopback.mod
│       ├── ls.mod
│       ├── lsacpi.mod
│       ├── lsefi.mod
│       ├── lsefimmap.mod
│       ├── lsefisystab.mod
│       ├── lsmmap.mod
│       ├── lspci.mod
│       ├── lssal.mod
│       ├── luks.mod
│       ├── lvm.mod
│       ├── lzopio.mod
│       ├── macbless.mod
│       ├── macho.mod
│       ├── mdraid09.mod
│       ├── mdraid09_be.mod
│       ├── mdraid1x.mod
│       ├── memdisk.mod
│       ├── memrw.mod
│       ├── minicmd.mod
│       ├── minix.mod
│       ├── minix2.mod
│       ├── minix2_be.mod
│       ├── minix3.mod
│       ├── minix3_be.mod
│       ├── minix_be.mod
│       ├── mmap.mod
│       ├── moddep.lst
│       ├── modinfo.sh
│       ├── morse.mod
│       ├── mpi.mod
│       ├── msdospart.mod
│       ├── mul_test.mod
│       ├── multiboot.mod
│       ├── multiboot2.mod
│       ├── nativedisk.mod
│       ├── net.mod
│       ├── newc.mod
│       ├── nilfs2.mod
│       ├── normal.mod
│       ├── ntfs.mod
│       ├── ntfscomp.mod
│       ├── odc.mod
│       ├── offsetio.mod
│       ├── ohci.mod
│       ├── part_acorn.mod
│       ├── part_amiga.mod
│       ├── part_apple.mod
│       ├── part_bsd.mod
│       ├── part_dfly.mod
│       ├── part_dvh.mod
│       ├── part_gpt.mod
│       ├── part_msdos.mod
│       ├── part_plan.mod
│       ├── part_sun.mod
│       ├── part_sunpc.mod
│       ├── partmap.lst
│       ├── parttool.lst
│       ├── parttool.mod
│       ├── password.mod
│       ├── password_pbkdf2.mod
│       ├── pata.mod
│       ├── pbkdf2.mod
│       ├── pbkdf2_test.mod
│       ├── pcidump.mod
│       ├── pgp.mod
│       ├── play.mod
│       ├── png.mod
│       ├── priority_queue.mod
│       ├── probe.mod
│       ├── procfs.mod
│       ├── progress.mod
│       ├── raid5rec.mod
│       ├── raid6rec.mod
│       ├── random.mod
│       ├── rdmsr.mod
│       ├── read.mod
│       ├── reboot.mod
│       ├── regexp.mod
│       ├── reiserfs.mod
│       ├── relocator.mod
│       ├── romfs.mod
│       ├── scsi.mod
│       ├── search.mod
│       ├── search_fs_file.mod
│       ├── search_fs_uuid.mod
│       ├── search_label.mod
│       ├── serial.mod
│       ├── setjmp.mod
│       ├── setjmp_test.mod
│       ├── setpci.mod
│       ├── sfs.mod
│       ├── shift_test.mod
│       ├── shim_lock.mod
│       ├── signature_test.mod
│       ├── sleep.mod
│       ├── sleep_test.mod
│       ├── spkmodem.mod
│       ├── squash4.mod
│       ├── strtoull_test.mod
│       ├── syslinuxcfg.mod
│       ├── tar.mod
│       ├── terminal.lst
│       ├── terminal.mod
│       ├── terminfo.mod
│       ├── test.mod
│       ├── test_blockarg.mod
│       ├── testload.mod
│       ├── testspeed.mod
│       ├── tftp.mod
│       ├── tga.mod
│       ├── time.mod
│       ├── tpm.mod
│       ├── tr.mod
│       ├── trig.mod
│       ├── true.mod
│       ├── udf.mod
│       ├── ufs1.mod
│       ├── ufs1_be.mod
│       ├── ufs2.mod
│       ├── uhci.mod
│       ├── usb.mod
│       ├── usb_keyboard.mod
│       ├── usbms.mod
│       ├── usbserial_common.mod
│       ├── usbserial_ftdi.mod
│       ├── usbserial_pl2303.mod
│       ├── usbserial_usbdebug.mod
│       ├── usbtest.mod
│       ├── verifiers.mod
│       ├── video.lst
│       ├── video.mod
│       ├── video_bochs.mod
│       ├── video_cirrus.mod
│       ├── video_colors.mod
│       ├── video_fb.mod
│       ├── videoinfo.mod
│       ├── videotest.mod
│       ├── videotest_checksum.mod
│       ├── wrmsr.mod
│       ├── xfs.mod
│       ├── xnu.mod
│       ├── xnu_uuid.mod
│       ├── xnu_uuid_test.mod
│       ├── xzio.mod
│       ├── zfs.mod
│       ├── zfscrypt.mod
│       ├── zfsinfo.mod
│       └── zstd.mod
├── initramfs-linux-backup.img
├── initramfs-linux-fallback.img
├── initramfs-linux.img
└── vmlinuz-linux
8 directories, 355 files

Re: I broke my bootloader?

Reply #1
The BIOS menu should have a setting for bootable drives. You should make sure it looks like say: 1 USB 2 Optical 3  Hard drive you want to boot from. It should also be set to BIOS or EFI boot as required, if that is an option. Also check for anything like protected boot settings that might block it. Possibly updating the BIOS lost your existing settings. After making sure the BIOS is trying to boot the correct drive, then make sure the MBR or EFI boot partition has the right contents. Try grub-install --help and search online for what to do with it I guess  ;D
I think there are some possible problems with copying partitions on BTRFS that might cause trouble, see Block level copies (eg with dd)
https://btrfs.wiki.kernel.org/index.php/Gotchas

 

Re: I broke my bootloader?

Reply #2
I fixed it by adding an entry in efibootmgr

Code: [Select]
# efibootmgr --create --bootnum 0 --label grub --disk /dev/nvme1n1 --partition 1 --loader /EFI/artix/grubx64.efi

it seems that something I did with fwupdmgr and/or fwupdate caused my boot order to delete the path to the grub .efi file.  I started having this problem after trying to use fwupdmgr and fwupdate, but before upgrading BIOS.  in any case, adding the path back manually has fixed it