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


Groups > linux.debian.user > #195991 > unrolled thread

Hard Drive Encryption

Started byHerb Garcia <portamex@garlic.com>
First post2018-05-22 15:40 +0200
Last post2018-05-22 16:40 +0200
Articles 5 — 5 participants

Back to article view | Back to linux.debian.user


Contents

  Hard Drive Encryption Herb Garcia <portamex@garlic.com> - 2018-05-22 15:40 +0200
    Re: Hard Drive Encryption Eero Volotinen <eero.volotinen@iki.fi> - 2018-05-22 15:50 +0200
    Re: Hard Drive Encryption Matthew Crews <mailinglists@mattcrews.com> - 2018-05-22 16:00 +0200
      Re: Hard Drive Encryption "tv.debian@googlemail.com" <tv.debian@googlemail.com> - 2018-05-22 19:20 +0200
    Re: Hard Drive Encryption Teemu Likonen <tlikonen@iki.fi> - 2018-05-22 16:40 +0200

#195991 — Hard Drive Encryption

FromHerb Garcia <portamex@garlic.com>
Date2018-05-22 15:40 +0200
SubjectHard Drive Encryption
Message-ID<vSfGa-7hh-13@gated-at.bofh.it>
It is possible to encrypt a hard drive at anytime in Debian?

HP Garcia

[toc] | [next] | [standalone]


#195992

FromEero Volotinen <eero.volotinen@iki.fi>
Date2018-05-22 15:50 +0200
Message-ID<vSfPQ-7kF-9@gated-at.bofh.it>
In reply to#195991

[Multipart message — attachments visible in raw view] — view raw

yes, with luks.

ti 22. toukok. 2018 klo 16.34 Herb Garcia <portamex@garlic.com> kirjoitti:

> It is possible to encrypt a hard drive at anytime in Debian?
>
> HP Garcia
>
>

[toc] | [prev] | [next] | [standalone]


#195993

FromMatthew Crews <mailinglists@mattcrews.com>
Date2018-05-22 16:00 +0200
Message-ID<vSfZv-7nI-3@gated-at.bofh.it>
In reply to#195991
On Tuesday, May 22, 2018 6:33:17 AM MST you wrote:
> It is possible to encrypt a hard drive at anytime in Debian?
> 
> HP Garcia

Yes, using any number of tools, including LUKS.

Is it possible to encrypt your root partition at any time? Not while the 
system is running, as far as I know. If it is, its not an easy procedure. Its 
best to encrypt your root partition at install time (which the Debian 
installer will allow you to perform).

Is it possible to encrypt your /home partition at any time? Yes, but its not a 
straight forward process. It can definitely be done while the system is 
running, but its not recommended.

[toc] | [prev] | [next] | [standalone]


#195998

From"tv.debian@googlemail.com" <tv.debian@googlemail.com>
Date2018-05-22 19:20 +0200
Message-ID<vSj75-Yl-5@gated-at.bofh.it>
In reply to#195993
On 22/05/2018 19:25, Matthew Crews wrote:
> On Tuesday, May 22, 2018 6:33:17 AM MST you wrote:
>> It is possible to encrypt a hard drive at anytime in Debian?
>>
>> HP Garcia
> 
> Yes, using any number of tools, including LUKS.
> 
> Is it possible to encrypt your root partition at any time? Not while the
> system is running, as far as I know. If it is, its not an easy procedure. Its
> best to encrypt your root partition at install time (which the Debian
> installer will allow you to perform).
> 
> Is it possible to encrypt your /home partition at any time? Yes, but its not a
> straight forward process. It can definitely be done while the system is
> running, but its not recommended.
> 
> 
> 

If you feel adventurous, check [1], the tool "luksipc" is in Debian 
Buster/Sid. It goes without saying that a couple of recent backups are a 
must before trying this. It doesn't work from the running system though, 
and you need to read the "disclaimer" part first (specially the part 
about disk with read errors) .

LUKS has come a long way, it is now possible to move (even to the 
previously dreaded "left" of the disk) and resize a container with 
G.U.I. tools like "gparted" or KDE "partitionmanager". Not yet from a 
running system but it is getting much easier. "luksipc" worked well for 
me but only on test systems with little data and simple setups, so I 
can't vouch for it besides the sandbox use-case.


[1] https://johannes-bauer.com/linux/luksipc/

[toc] | [prev] | [next] | [standalone]


#195994

FromTeemu Likonen <tlikonen@iki.fi>
Date2018-05-22 16:40 +0200
Message-ID<vSgCe-7Qf-3@gated-at.bofh.it>
In reply to#195991

[Multipart message — attachments visible in raw view] — view raw

Herb Garcia [2018-05-22 06:33:17-07] wrote:

> It is possible to encrypt a hard drive at anytime in Debian?

As others have already told the tool/system is LUKS. If by "anytime" you
mean convert a running system and partition then the answer is no. You
must create a new encrypted partition, open the encryption, put a
filesystem there and then copy files.

-- 
/// Teemu Likonen   - .-..   <https://keybase.io/tlikonen> //
// PGP: 4E10 55DC 84E9 DFF6 13D7 8557 719D 69D3 2453 9450 ///

[toc] | [prev] | [standalone]


Back to top | Article view | linux.debian.user


csiph-web