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


Groups > linux.debian.user > #242233

Re: Late encryption of /home Partition

From Charles Curley <charlescurley@charlescurley.com>
Newsgroups linux.debian.user
Subject Re: Late encryption of /home Partition
Date 2021-11-18 20:10 +0100
Message-ID <DkUXi-8jP-51@gated-at.bofh.it> (permalink)
References <DkPXB-59q-17@gated-at.bofh.it> <DkSVs-6Tv-9@gated-at.bofh.it> <DkTeO-7fy-9@gated-at.bofh.it>
Organization occasionally

Show all headers | View raw


On Thu, 18 Nov 2021 18:17:43 +0100
Hans <hans.ullrich@loop.de> wrote:

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

Correct. Sorry, I forget that. "man crypttab".

Do this before you run update-grub.


> 
> 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.

I find tar easier to use for this, but rsync will do it, as you say,
provided one has an ext[34] partition to copy to.

-- 
Does anybody read signatures any more?

https://charlescurley.com
https://charlescurley.com/blog/

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