Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.debian.user > #242232

Re: Late encryption of /home Partition

From Hans <hans.ullrich@loop.de>
Newsgroups linux.debian.user
Subject Re: Late encryption of /home Partition
Date 2021-11-18 18:20 +0100
Message-ID <DkTeO-7fy-9@gated-at.bofh.it> (permalink)
References <DkPXB-59q-17@gated-at.bofh.it> <DkSVs-6Tv-9@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


Hi all,

as far as I know, you also have to edit /etc/crypttab.

If one has forgotten to encrypt a partition, the easiest way is, to boot from 
a livefile system. Then backup the whole content of this partition to an 
external partition. Note, this should be a ext3 or ext4 partition, so you 
preserve all hard- and softlinks.

I suggest for using rsync doing this.

Then you can encrypt and format this partion and rsync everything back.

Doing so, I never lost data or settings.

Hope this helps.

Best regards

Hans

Back to linux.debian.user | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread


Thread

Late encryption of /home Partition Klaus Singvogel <deb-user-ml@singvogel.net> - 2021-11-18 14:50 +0100
  Re: Late encryption of /home Partition Charles Curley <charlescurley@charlescurley.com> - 2021-11-18 18:00 +0100
    Re: Late encryption of /home Partition Hans <hans.ullrich@loop.de> - 2021-11-18 18:20 +0100
      Re: Late encryption of /home Partition Charles Curley <charlescurley@charlescurley.com> - 2021-11-18 20:10 +0100
        Re: Late encryption of /home Partition Klaus Singvogel <deb-user-ml@singvogel.net> - 2021-11-18 23:00 +0100

csiph-web