View Full Version : Upgrading to F9 and Encrypting home partition

15th May 2008, 12:25 AM
Hi, I am currently running F8, and have a separate home partition. Is it in any way possible to encrypt this home partition without doing a full reinstall? I have been waiting for the encryption option for a while since I use a laptop, but it would be so much more convenient if I didn't have to wipe all my files! Thanks.

15th May 2008, 12:48 AM
Nope, gotta bite the bullet and format it.

15th May 2008, 07:54 AM

I'm not sure what you mean by upgrading to F9. I have successfully encrypted my home partition in Fedora 7 without reinstalling the operating system.

The process involves:

Create a new partition.
Fill the new partition with random data.
Initialise the partition for Linux Unified Key Setup (LUKS).
Map the partition.
Create an ext3 file system on the encrypted partition.
Copy data from the existing /home partition to the encrypted partition.
Set up the encrypted partition so that the boot process calls for a pass phrase.
Set up the partition to mount at boot time.
Delete the old /home partition.

You need to have cryptsetup-luks installed.

When I upgraded to Fedora 8 I had to perform some of these steps again. The encrypted partition was immediately usable after that.