this post was submitted on 27 Aug 2025
37 points (97.4% liked)
Linux
57862 readers
984 users here now
From Wikipedia, the free encyclopedia
Linux is a family of open source Unix-like operating systems based on the Linux kernel, an operating system kernel first released on September 17, 1991 by Linus Torvalds. Linux is typically packaged in a Linux distribution (or distro for short).
Distributions include the Linux kernel and supporting system software and libraries, many of which are provided by the GNU Project. Many Linux distributions use the word "Linux" in their name, but the Free Software Foundation uses the name GNU/Linux to emphasize the importance of GNU software, causing some controversy.
Rules
- Posts must be relevant to operating systems running the Linux kernel. GNU/Linux or otherwise.
- No misinformation
- No NSFW content
- No hate speech, bigotry, etc
Related Communities
Community icon by Alpár-Etele Méder, licensed under CC BY 3.0
founded 6 years ago
MODERATORS
you are viewing a single comment's thread
view the rest of the comments
view the rest of the comments
Hmm, what method did you use to back it up? It sounds to me like something got corrupted, though perhaps someone more experienced could identify a different issue. What I usually do to clone LUKS partitions is use a liveUSB (so no files change while backing up), then use
cryptsetup
to create a new LUKS partition on the backup drive if it's a new drive (otherwise for incremental backups you can skip this step), then unlock both drives andrsync
to the backup drive. This is also usually faster than pure cloning, as cloning would also copy the (encrypted) empty space in the partition, and for incremental backups,rsync
will only copy the changed data so it's much faster.This would also have the benefit of preventing corruption on transfer, because
rsync
uses checksums to verify the file was properly reconstructed in the new location, whereas something likedd
won't have the granularity to check per-file checksums (especially if used to clone a whole encrypted partition).I used an app called "Pika Backups" , it shouldn't effect LUKs at all tho and the backups themselves weren't corrupted because it also lets me verify the integrity of the backup files which I did before distro hopping and I got no errors
Okay, then mufasio's comment may be more on track.