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.

  • I did this recently, and encountered exactly the same issue. I can’t say whether it’s the same root cause, but it might be.

    The device ID for the efi or boot partition may change, and in this case you have to make certain you hunt down every reference to it and update it. IIRC in my case it was in a config file for dracut, and I cottoned on when I upgraded the kernel and got back in the hung mode.

    If you know the old blkid, do a deep search in both your efi partition as well as /etc and make sure you’ve changed to the new device UUIDs.

    • Dark Arc@social.packetloss.ggOP
      link
      fedilink
      English
      arrow-up
      0
      arrow-down
      1
      ·
      1 month ago

      Very interesting. I wasn’t finding anywhere what the device ID was. Everything was looking like it was copied over from where I was (at least noticing).

      Clonezilla seems to have taken care of the necessary updates so if you do this again I’d recommend just using that. I hate that it’s yet another special ISO tool to keep around on a USB thumb drive, but if I’d used that from the start several hours of my life would’ve been saved 😅