You are not logged in.

#1 2023-02-26 18:43:21

ollosh
Member
Registered: 2022-09-20
Posts: 51

[SOLVED] Encryption of a single partition with already installed Arch

So I would like to encrypt only one partition where Arch is already installed. Is it enough to follow this guide https://wiki.archlinux.org/title/dm-cry … _partition or this is just used for new disks. I'm a bit hesitant to try in order not to screw up my setup. I also heard that I would need to encrypt swap partition as well, but I'm not sure if that's the case.

Last edited by ollosh (2023-06-23 17:59:54)

Offline

#2 2023-02-26 18:58:14

loqs
Member
Registered: 2014-03-06
Posts: 18,962

Re: [SOLVED] Encryption of a single partition with already installed Arch

To ensure I understand correctly,  you want to encrypt the currently unencrypted root file-system of your Arch install without re-installation.  The system also has a swap partition that is unencrypted ?

Last edited by loqs (2023-02-26 18:58:43)

Offline

#3 2023-02-26 20:05:00

ollosh
Member
Registered: 2022-09-20
Posts: 51

Re: [SOLVED] Encryption of a single partition with already installed Arch

Yes exactly

Offline

#4 2023-02-26 20:17:37

loqs
Member
Registered: 2014-03-06
Posts: 18,962

Re: [SOLVED] Encryption of a single partition with already installed Arch

See https://wiki.archlinux.org/title/Dm-cry … ile_system in addition to the guide you have already read.  I suggest you also backup any files you wish to preserve in case the process fails.

Offline

#5 2023-02-26 21:19:25

ollosh
Member
Registered: 2022-09-20
Posts: 51

Re: [SOLVED] Encryption of a single partition with already installed Arch

Amazing thx!

Offline

#6 2023-02-26 21:20:55

ollosh
Member
Registered: 2022-09-20
Posts: 51

Re: [SOLVED] Encryption of a single partition with already installed Arch

Btw should I encrypt swap partition as well?

Offline

#7 2023-02-26 21:30:58

loqs
Member
Registered: 2014-03-06
Posts: 18,962

Re: [SOLVED] Encryption of a single partition with already installed Arch

See https://wiki.archlinux.org/title/Dm-cry … encryption to see if you think you would benefit from encrypted swap.

Offline

Board footer

Powered by FluxBB