![](/static/253f0d9b/assets/icons/icon-96x96.png)
![](https://lemmy.world/pictrs/image/80c24909-8a49-4cb6-9bdd-4b8621b8cf1d.jpeg)
sorry for the late reply, the command ‘lsblk’ can output it:
“sudo lsblk -o +uuid,name”
check “man lsblk” to see all possible combinations if needed.
there is also ‘blkid’ but I’m unsure whether that package is installed by default on all Linux releases, so that’s why I chose ‘lsblk’
if ‘blkid’ is installed, the syntax would be:
“sudo blkid /dev/sda1 -s UUID -o value”
glad you got it fixe, and hope this answers your question
(edit pga big thumbs and autocorrect… )
also, remember that the old drive now share the UUID with the NVMe drive (which is why I recommended using partition UUID and not disk UUID), so you will have to create a new GPT signature on the old drive to avoid boot issues if both drives are connected at the same time during boot, otherwise you might run into boot issues or booting from the wrong drive.