So, I’m trying to clone an SSD to an NVME drive and I’m bumping into this “dev-disk-by” error when I boot from the NVME (the SSD is unplugged).

I can’t find anyone talking about this in this context. It seems like what I’ve done here should be fine and should work, but there’s clearly something I and the arch wiki are missing.

  • Dark ArcOPA
    link
    fedilink
    English
    arrow-up
    2
    arrow-down
    1
    ·
    edit-2
    25 days ago

    So I fixed this by using clonezilla (which seemed to fix things up automatically), but for my edification, how do you get the UUID of the device itself? The only UUIDs I was seeing seemingly were the partition UUIDs.

    • y0din@lemmy.world
      link
      fedilink
      English
      arrow-up
      1
      ·
      edit-2
      20 days ago

      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… )

      • y0din@lemmy.world
        link
        fedilink
        English
        arrow-up
        1
        ·
        20 days ago

        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.