From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail.saout.de ([127.0.0.1]) by localhost (mail.saout.de [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id QAA0pOo6m75O for ; Wed, 22 Aug 2012 17:54:27 +0200 (CEST) Received: from mail-gg0-f178.google.com (mail-gg0-f178.google.com [209.85.161.178]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (No client certificate requested) by mail.saout.de (Postfix) with ESMTPS for ; Wed, 22 Aug 2012 17:54:27 +0200 (CEST) Received: by ggeh3 with SMTP id h3so884642gge.37 for ; Wed, 22 Aug 2012 08:54:26 -0700 (PDT) Sender: Matthew Monaco Message-ID: <503500AF.3080607@0x01b.net> Date: Wed, 22 Aug 2012 08:54:23 -0700 From: Matthew Monaco MIME-Version: 1.0 References: <20120822122441.GA19236@tansi.org> In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit Subject: Re: [dm-crypt] Encrypt all partitions with dm-crypt List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: dm-crypt@saout.de On 08/22/2012 08:40 AM, Stayvoid wrote: >> you need to map and mount it manually. > > I've never tried this before. Could you be more specific? > > I understand how to use "mount." What I don't understand is how to > enter the system when my home is encrypted. I guess that I won't be > able to login. Is this correct? > > Could you also tell me what I should have in fstab? This needs to be done by your distribution's init system. For /home, your distribution should support some flavor of /etc/crypttab. You use crypttab to map an encrypted block device to an unencrypted block device. This will show up as /dev/mapper/. You then use fstab to specify the mount as normal. So if your encrypted device is /dev/sda4, crypttab will have a mapping of /dev/sda4 to . Then, fstab will have a mount of /dev/mapper/ to /home.