I just welcomed a new Thinkpad X1 Extreme Gen 4 to my home. As it has a spare M.2 SSD slot, I intended to transplant the SSD running Ubuntu 20.04 straight outta an old Dell XPS 13 and (god willing!) continue where I left off. (Appreciate that may be brave or stupid, but I do enjoy learning from the fallout of such experiments!).
On first boot, following the transplant in slot nvme1 (secondary), the boot sequence halts with the message:
2102: Detection error on Storage Device1 (M.2)
Press Esc to continue
No grub menu. No choice of boot partitions in the lenovo boot menu.
For this error, the Thinkpad X1 Extreme Gen 4 Maintenance Guide suggests to reseat the SSD. However, Basic and Extended Diagnostic Tests both pass. After pressing escape, it can proceed with boot to pre-installed Windows 10 running on the primary SSD (slot nvme0). There, in Windows 10, the NTFS partitions on the secondary SSD are indeed recognized and read-writable as drive D: and E: respectively.
I want to boot Ubuntu from the secondary SSD.
Q: How can I do that?
Update:
So I ran Boot-Repair on the secondary SSD (sda). It did repair the boot partition (ESP?) for Ubuntu and Grub menu is the default.
Good news: the question is essentially answered. It can boot Ubuntu 20.04 (albeit without any wifi adapter detected).
Bad news: The Detection error on Storage Device1 (M.2) still remains and halts the boot. :( Seems those problems weren't related. Perhaps the UEFI firmware or BIOS has a bug in the SSD detection..?
Result was the same. Same 2102 error. Boot to Windows still possible.
– user278849 Mar 27 '22 at 03:02