FG
💻 Software

Encrypt an existing partition in Linux while preserving its data

Fresh7 days ago
Mar 15, 202650524 views
Confidence Score0%
0%

Problem

If I have a partition like /dev/hd1 that is unencrypted and want it to be encrypted, but want to keep everything currently in that partition, how can I do that?

Unverified for your environment

Select your OS to check compatibility.

1 Fix

Canonical Fix
Unverified Fix
New Fix – Awaiting Verification

Fix for: Encrypt an existing partition in Linux while preserving its data

Low Risk

Since this comes up near the top of google results, adding solution: LUKS in place encryption via http://www.johannes-bauer.com/linux/luksipc/

Awaiting Verification

Be the first to verify this fix

Sign in to verify this fix

Environment