21
submitted 1 year ago by dudesss@lemmy.ca to c/archlinux@lemmy.ml

Today, after decrypting my encrypted drive, the system failed to boot into it.

I forget what the error said. It maybe said that it could not fine new_root or something.

I tried something like the following, by I don't know what it does.

cryptsetup reencrypt --decrypt --header new_file device_path

I'm not sure what it does and what the --header part does. It was taking too long, so interrupted with a reboot. Now its saying their device is not a valid LUKS device.

you are viewing a single comment's thread
view the rest of the comments
[-] MentalEdge@sopuli.xyz 9 points 1 year ago

Interrupting hard drive operations is REALLY dangerous.

Add to that the sensitivities of encrypted volumes, and I'm 90% sure your data is gone. Hope you had backups.

You'll probably have to re-install.

this post was submitted on 05 Jul 2025
21 points (95.7% liked)

Arch Linux

10065 readers
1 users here now

The beloved lightweight distro

founded 6 years ago
MODERATORS