I’m having a weird issue with my Thinkpad T480. It has become a bigger FOSS zealot than I am!
TL;DR My Thinkpad will boot anything as long as it’s not Windows based. How do I fix the issue?
The T480 has a 2.5" slot than can take either a 2.5" SATA disk or an NVMe disk (with an adaptor), and it also has a second m.2 slot than can take a 2242 NVMe disk. Up until last week, I had Ubuntu installed to a 2.5" SSD, and Windows 10 installed to the 2242 NVMe disk. I then upgraded by hardware by adding another stick of RAM and replacing the 2.5" disk with a 2280 NVMe disk. I cloned my Ubuntu install over to the new 2280 disk and everything went pretty smoothly. I think I had to disable Secure Boot in order to boot the cloning software ISO but my memory is a bit fuzzy.
My T480 has two batteries, one detachable external battery and an internal battery that you can disabled in the BIOS… which is what I did before installing the new hardware. Since doing that, I’ve realised that the Windows install on the 2242 disk won’t boot. When I select the Windows entry in my Grub menu, the blue Windows logo shows on screen and either just the spinning dots appear, or the “Preparing Automatic Repairs” text appears alongside the spinning dots. They show for a few seconds before the T480 reboots.
What’s more… I’ve found that my T480 won’t boot Windows ISOs either. Or anything Windows based for that matter (such as Macrium Reflect) but any FOSS boot disc that I throw at it… from Debian to pfSense, boots up just fine. This means that any troubleshooting that requires booting into Safe Mode or anything beyond the moment where the blue Windows logo first appears is not possible for me.
I’ve tried changing all the relevant BIOS settings (Secure Boot on/off, UEFI only / UEFI and Legacy etc.). I’ve also updated the BIOS and reset it to factory defaults. I’ve removed the new stick of RAM. Tried booting up with the 2280 Ubuntu disk disconnected. I’ve tried booting Windows ISOs with the 2242 Windows disk disconnected. I’ve even tried connecting the 2242 Windows disk to my desktop and whilst I was able to image it using Debian’s “Disks” tool, I was not able to boot from it… I think the boot partition is damaged or something but that wouldn’t explain the T480 being unable to boot Windows ISOs. Oh, I’m also able to browse the 2242 Windows installation from my Ubuntu install, so I don’t think it’s a hardware issue. At least not one that affects the data partition.
There are only two things I haven’t tried. First is pressing the T480’s pinhole, hardware reset button (because I’m not entirely sure what it does), and second are the various options for clearing the “Keys” (Factory Key, Secure Boot Key, and Certificates) in the T480 BIOS menu because I don’t know what it does or whether it’d screw up my Ubuntu install too.
Has anyone else ever run into an issue like this?
What should my next course of action be?
[edit 2023-01-13] I forgot to mention that both the old and the new RAM sticks pass Memtest86. The old DIMM passed the standard 4 passes when I first got the T480. When I bought the new DIMM and installed it in the second slot, it / both sticks passed Memtest86. From memory… I’m pretty sure the new stick alone passed when I installed it in the first slot too.