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.

  • MentalEdge@sopuli.xyz
    link
    fedilink
    arrow-up
    0
    ·
    26 days ago

    The --decrypt option is used to remove LUKS emcryptipn entirely and turn the partition into a normla storage volume.

    Interrupting that process is still likely to have irreparably damage the volume, making it impossible to recover.