On a test system today I installed an SSD - this is the first time I've messed about with a PCIe mounted SSD instead of a SATA one.
The test system is a 64 bit UEFI computer, currently it's triple booted with Ubuntu 20.04 on a hard drive, 20.04 on the SSD, and 21.04 on yet another hard drive.
All 3 systems boot and work fine...in the end.
But, when I choose the SSD install of 20.04 from the grub menu, grub (presumably) throws up a scary message
ERROR: No such device: [the (correct) UUID of the SSD is listed]
Press any key to continue...
When this happened the first time, I was sure I was hosed. Incorrect UUIDs are fatal in grub!
But after a few seconds, the screen cleared and the system booted to the SSD install just fine. (The same thing happens if I actually press any key)
So...what's producing this error message, and how can I get rid of it? The UUID listed in the error message is correct.
Here is a hexdump of sometroubleshooting data from a command suggested by @paladin
dd bs=1K if=/dev/sdX of=/tmp/MBR-GPT.bin count=1
A hexdump of the resulting file is
00000000 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................|
*
000001c0 02 00 ee ff ff ff 01 00 00 00 a1 94 1a 1d 00 00 |................|
000001d0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................|
*
000001f0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 55 aa |..............U.|
00000200 45 46 49 20 50 41 52 54 00 00 01 00 5c 00 00 00 |EFI PART....\...|
00000210 6d 22 af 26 00 00 00 00 01 00 00 00 00 00 00 00 |m".&............|
00000220 a1 94 1a 1d 00 00 00 00 22 00 00 00 00 00 00 00 |........".......|
00000230 80 94 1a 1d 00 00 00 00 90 52 b0 ef 4f 1d 1a 49 |.........R..O..I|
00000240 91 0f 8f 98 2a 3f 90 67 02 00 00 00 00 00 00 00 |....*?.g........|
00000250 80 00 00 00 80 00 00 00 74 14 20 44 00 00 00 00 |........t. D....|
00000260 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................|
*
00000400