this post was submitted on 04 Oct 2025
21 points (100.0% liked)

Linux Questions

2793 readers
1 users here now

Linux questions Rules (in addition of the Lemmy.zip rules)

Tips for giving and receiving help

Any rule violations will result in disciplinary actions

founded 2 years ago
MODERATORS
 

I followed this guide on migrating an install to a new ssd and this was the result. I still have the original SSD but i'd rather fix this one then reinstall the original and clone it again. I'd be appreciate of any help.

Update 1: I reinstalled my original SSD and am booted into my Arch install. I'll probably try cloning again from here.

all 7 comments
sorted by: hot top controversial new old
[–] BCsven@lemmy.ca 9 points 3 weeks ago (1 children)

You'd want to boot a live USB and do this or use clonezilla, because trying to DD or PV an in-use drive to another is going to create problems since the system is altering data as its running, while you copy

[–] daggermoon@lemmy.world 2 points 3 weeks ago

Yeah, that makes sense. It seems obvious in retrospect.

[–] tenchiken@anarchist.nexus 7 points 3 weeks ago (1 children)

Looking over that guide, it's using EXT4 as the filesystem.

BTRFS has a bit more complexity, especially under EFI and with how it's mapped in the GPT.

Check out some hints here:
https://superuser.com/questions/607363/how-to-copy-a-btrfs-filesystem

TLDR: you need to make adjustments on some of the IDs that are pulled direct from hardware, and update those in your init as well as EFI. btrfs-clone might be the best thing to start looking into.

[–] daggermoon@lemmy.world 3 points 3 weeks ago

I came across btrfs-clone. I think that's what it was anyway. The git repo was in archive mode. At this point I think i'm just going to buy a pcie to nvme adapter and call it a day. I managed to free up 400GB on my system drive by erasing old snapshots so I don't really need the extra space for my system drive. Live and learn I guess. Thank you!

[–] Shayeta@feddit.org 3 points 3 weeks ago

Looks like you need to regenerate the fstab file? Not sure.

[–] rozodru@pie.andmc.ca 1 points 1 week ago

once ran into the same error when I tried reinstalling arch once and my only option to fix it was

btrfs check --repair /dev/nvme0n1p2  

WORD OF WARNING THOUGH: could result in data loss. But that did fix the same issue for me.