Zend certified PHP/Magento developer

NVME doesn’t boot anymore after swap

Here’s the deal. I had an NVME drive from a dead laptop that I needed to recover data from. I don’t have any sort of adapter so I removed the NVME from my working Linux tower and swapped in the target for recovery.

I recovered the data using a live CD, no problem. I did accidentally boot into the windows os once on the recovery NVME by accident. I was surprised it even worked.

When I swapped back in my Linux Ubuntu NVME, guess what? Doesn’t boot anymore. I never changed any BIOS setting or data on the drive. It shows up in the boot menus but says “Reboot and Select proper Boot device or Insert Boot Media in selected Boot device and press a key”

Since then I’ve tried fiddling with all the boot BIOS settings, reinstalling grub in the drive, clearing CMOS, rewriting the partition table. The drive appears perfectly normal when mounted to a live CD.

The drive has Ubuntu installed on it and boots using EFI. The motherboard is an ASRock steel legend.

What the heck did I break and how? Is there any way to boot again?