this post was submitted on 18 Aug 2024
33 points (86.7% liked)

Linux

8055 readers
111 users here now

Welcome to c/linux!

Welcome to our thriving Linux community! Whether you're a seasoned Linux enthusiast or just starting your journey, we're excited to have you here. Explore, learn, and collaborate with like-minded individuals who share a passion for open-source software and the endless possibilities it offers. Together, let's dive into the world of Linux and embrace the power of freedom, customization, and innovation. Enjoy your stay and feel free to join the vibrant discussions that await you!

Rules:

  1. Stay on topic: Posts and discussions should be related to Linux, open source software, and related technologies.

  2. Be respectful: Treat fellow community members with respect and courtesy.

  3. Quality over quantity: Share informative and thought-provoking content.

  4. No spam or self-promotion: Avoid excessive self-promotion or spamming.

  5. No NSFW adult content

  6. Follow general lemmy guidelines.

founded 1 year ago
MODERATORS
 

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.

you are viewing a single comment's thread
view the rest of the comments
[โ€“] gencha@lemm.ee 1 points 2 months ago (1 children)

Now that you know the safe way out, break it again with dd and figure out the difference ๐Ÿ˜

Moving from SATA to NVMe is a classic way to break the boot process. Most of the time, you want to boot a recovery mode from USB, mount your existing root and efi partitions, and then just reinstall grub.

If you've managed to recover this way only once, you feel a lot more comfortable in the future if shit goes wrong.

[โ€“] Dark_Arc@social.packetloss.gg 1 points 2 months ago* (last edited 2 months ago) (1 children)

Most of the time, you want to boot a recovery mode from USB, mount your existing root and efi partitions, and then just reinstall grub.

I did do that FWIW, but it didn't do it/it wasn't enough/it still didn't work.

If this was a toy system and/or I was back in college and feeling adventurous, I would definitely be more inclined to try and figure out what happened. As it stands, I just want the thing to work ๐Ÿ˜…

[โ€“] gencha@lemm.ee 2 points 2 months ago

Valid. Glad you're back on track