You are not logged in.

#1 2017-12-10 02:03:31

MichaelJ
Member
Registered: 2017-12-01
Posts: 3

Reinstalling system after encryption [SOLVED]

Hi all,

I have an existing Arch install for about four years now. I am not sure if this is technically possible, but I would like to set up encrypted LVM's and transfer the root partition in particular into one of those LVM's. The /home directory is not as important. Would it be possible to ghost root back in if I have a partition the same size?

Last edited by MichaelJ (2017-12-10 15:35:43)

Offline

#2 2017-12-10 03:07:35

loqs
Member
Registered: 2014-03-06
Posts: 17,378

Re: Reinstalling system after encryption [SOLVED]

Welcome to the forums MichaelJ.  Please provide more information.  You are going to backup your existing installation which is unencrypted
using some unspecified means to something?  You will then created luks on lvm or lvm on luks it does not really matter for this overview
then create new filesystems and then copy the unencrypted contents back on to the now encrypted devices?

Offline

#3 2017-12-10 03:57:33

koffeinfriedhof
Member
Registered: 2017-11-30
Posts: 91

Re: Reinstalling system after encryption [SOLVED]

Hi!

I would set up the encrypted arch and then just copy the things you need from your old installation. The encryption itself does only need other hooks in mkinitcpio and a customized bootloader.

Offline

#4 2017-12-10 13:33:24

MichaelJ
Member
Registered: 2017-12-01
Posts: 3

Re: Reinstalling system after encryption [SOLVED]

Hi loqs. Yes, I have the home directory backed up to an external harddrive. I was hoping to keep the programs and settings as they are on a new installation. Yes, I want to remove, zero out the drive, set up new encrypted partitions and then transfer the root partition on my current install back as is.

Offline

#5 2017-12-10 13:48:27

2ManyDogs
Forum Fellow
Registered: 2012-01-15
Posts: 4,645

Re: Reinstalling system after encryption [SOLVED]

Offline

#6 2017-12-10 15:36:27

MichaelJ
Member
Registered: 2017-12-01
Posts: 3

Re: Reinstalling system after encryption [SOLVED]

Thanks 2ManyDogs. rsync was exactly what I needed.

Offline

Board footer

Powered by FluxBB