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


Groups > linux.debian.user > #201504

Re: Won't boot if /, home, swap are encrypted

From Matthew Crews <mailinglists@mattcrews.com>
Newsgroups linux.debian.user
Subject Re: Won't boot if /, home, swap are encrypted
Date 2018-10-21 15:40 +0200
Message-ID <wLm7w-4Eb-3@gated-at.bofh.it> (permalink)
References <wLlXP-4B3-7@gated-at.bofh.it> <wLlXP-4B3-5@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


On 10/21/18 6:25 AM, D&P Dimov wrote:
> I did a new install of latest Debian 9.5 stable on a new Dell laptop. Debian is the only OS there now. If I encrypt /, home, and swap, it won't boot after install. If I leave them unencrypted, it boots fine. What am I missing?
> Thanks!
> 

Did you remember to make an unencrypted /boot partition? The Debian
installer does not support encrypted /boot partition, you will need to
leave it unencrypted.

For example, see my current partition table:

matthew@matt-tower:~$ lsblk
NAME                  MAJ:MIN RM   SIZE RO TYPE  MOUNTPOINT
sda                     8:0    0 465.8G  0 disk
├─sda1                  8:1    0 953.7M  0 part  /boot
├─sda2                  8:2    0     1K  0 part
└─sda5                  8:5    0 464.8G  0 part
  └─sda5_crypt        254:0    0 464.8G  0 crypt
    ├─root--swap-root 254:1    0   447G  0 lvm   /
    └─root--swap-swap 254:2    0  17.8G  0 lvm   [SWAP]
sdb                     8:16   0 931.5G  0 disk
└─sdb1                  8:17   0 931.5G  0 part
  └─sdb1_crypt        254:3    0 931.5G  0 crypt
    └─home-home       254:4    0 931.5G  0 lvm   /home

/boot is its own unencrypted partition, root and swap are in a LUKS
encryption, and /home is on its own hard disk (and also LUKS encrypted)

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


Thread

Won't boot if /, home, swap are encrypted D&P Dimov <lddimov@yahoo.com> - 2018-10-21 15:30 +0200
  Re: Won't boot if /, home, swap are encrypted Matthew Crews <mailinglists@mattcrews.com> - 2018-10-21 15:40 +0200
  Re: Won't boot if /, home, swap are encrypted Roberto C. Sánchez <roberto@debian.org> - 2018-10-21 19:40 +0200
    Re: Won't boot if /, home, swap are encrypted D&P Dimov <lddimov@yahoo.com> - 2018-10-21 19:50 +0200
    Re: Won't boot if /, home, swap are encrypted Matthew Crews <mailinglists@mattcrews.com> - 2018-10-22 02:10 +0200
      Re: Won't boot if /, home, swap are encrypted D&P Dimov <lddimov@yahoo.com> - 2018-10-22 04:20 +0200
        Re: Won't boot if /, home, swap are encrypted David Wright <deblis@lionunicorn.co.uk> - 2018-10-22 07:10 +0200
      Re: Won't boot if /, home, swap are encrypted David Wright <deblis@lionunicorn.co.uk> - 2018-10-22 06:00 +0200
        Re: Won't boot if /, home, swap are encrypted Pascal Hambourg <pascal@plouf.fr.eu.org> - 2018-10-22 14:50 +0200
          Re: Won't boot if /, home, swap are encrypted David Wright <deblis@lionunicorn.co.uk> - 2018-10-22 18:00 +0200
            Re: Won't boot if /, home, swap are encrypted Pascal Hambourg <pascal@plouf.fr.eu.org> - 2018-10-22 19:50 +0200
              Re: Won't boot if /, home, swap are encrypted Joe <joe@jretrading.com> - 2018-10-22 19:50 +0200
                Re: Won't boot if /, home, swap are encrypted Pascal Hambourg <pascal@plouf.fr.eu.org> - 2018-10-22 20:10 +0200
              Re: Won't boot if /, home, swap are encrypted David Wright <deblis@lionunicorn.co.uk> - 2018-10-23 04:30 +0200

csiph-web