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


Groups > linux.debian.user > #204875

Re: trying to install Debian encrypted in an existed partition, keeping the rest as it is ...

From David Wright <deblis@lionunicorn.co.uk>
Newsgroups linux.debian.user
Subject Re: trying to install Debian encrypted in an existed partition, keeping the rest as it is ...
Date 2019-01-31 22:40 +0100
Message-ID <xmsdY-1o9-13@gated-at.bofh.it> (permalink)
References <xlAZX-2v6-1@gated-at.bofh.it> <xlBW1-357-13@gated-at.bofh.it> <xlKPD-cs-1@gated-at.bofh.it> <xlLVn-OB-5@gated-at.bofh.it> <xlPPk-3cv-3@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


On Tue 29 Jan 2019 at 23:36:27 (-0500), Albretch Mueller wrote:
> On 1/29/19, David Wright <deblis@lionunicorn.co.uk> wrote:
> > However, the second method uses manual partitioning of the disks with
> > gdisk, so I don't see why sda should not contain a(nother) FAT
> > partition which is ignored.
> 
>  I don't see why either. Also, given the fact that so many, entirely
> fine computers (with 4+ Gibs RAM!) are being discarded/discontinued on
> a yearly basis (mostly for software related issues or just because
> they are "old"), why shouldn't people keep the a very small (less than
> 64Mbs) diagnostic partition from the manufacturer on sda1 and use the
> rest of the space for the installation?

No reason, but when people post a recipe that they actually use, it
will likely contain choices that they made for their own reasons.
So, for example, I've never used non-expert mode install, guided
partitioning, or EFI installation, and recipes that assume any of
these might be of limited use to me.

>  Is it because the unencrypted root partition wants to sit on sda1?

s/root/boot/
I can't think why that would matter.

>  At the very least the Debian installer should explicitly tell you:
> "no, you can't install and encrypted volume on just a partition
> (hopefully: 'because . . .')"
> 
> > If the sda partition numbers are all
> > increased by one
> 
>  How do you do that? and, can you revert the partition numbers back if
> the need arises? I think most probably that won't be the solution
> and/or may create other problems.

I just meant that you would read instructions like these:

$ mdadm --create /dev/md/boot --level=1 --raid-devices=2 /dev/sda2 /dev/sdb2
$ mdadm --create /dev/md/lvm --level=1 --raid-devices=2 /dev/sda3 /dev/sdb3
$ mkfs.vfat -F32 /dev/sda1
$ mkfs.vfat -F32 /dev/sdb1

as:

$ mdadm --create /dev/md/boot --level=1 --raid-devices=2 /dev/sda3 /dev/sdb2
$ mdadm --create /dev/md/lvm --level=1 --raid-devices=2 /dev/sda4 /dev/sdb3
$ mkfs.vfat -F32 /dev/sda2
$ mkfs.vfat -F32 /dev/sdb1

> >  which command is it that would prevent the
> > method from working?
> 
>  How could you find out about it?

By trying it out, I guess. I fall at the first hurdle on
requirements 1 (EFI) and 3 (2 disks).

Cheers,
David.

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


Thread

trying to install Debian encrypted in an existed partition, keeping  the rest as it is ... Albretch Mueller <lbrtchx@gmail.com> - 2019-01-29 13:50 +0100
  Re: trying to install Debian encrypted in an existed partition,  keeping the rest as it is ... Nitebirdz <nitebirdz@sacredchaos.com> - 2019-01-29 14:50 +0100
    Re: trying to install Debian encrypted in an existed partition,  keeping the rest as it is ... Albretch Mueller <lbrtchx@gmail.com> - 2019-01-30 00:20 +0100
      Re: trying to install Debian encrypted in an existed partition,  keeping the rest as it is ... David Wright <deblis@lionunicorn.co.uk> - 2019-01-30 01:30 +0100
        Re: trying to install Debian encrypted in an existed partition,  keeping the rest as it is ... Albretch Mueller <lbrtchx@gmail.com> - 2019-01-30 05:40 +0100
          Re: trying to install Debian encrypted in an existed partition,  keeping the rest as it is ... Albretch Mueller <lbrtchx@gmail.com> - 2019-01-30 06:40 +0100
            Re: trying to install Debian encrypted in an existed partition,  keeping the rest as it is ... David Christensen <dpchrist@holgerdanske.com> - 2019-01-30 15:50 +0100
              Re: trying to install Debian encrypted in an existed partition,  keeping the rest as it is ... Brian <ad44@cityscape.co.uk> - 2019-01-30 16:10 +0100
                Re: trying to install Debian encrypted in an existed partition,  keeping the rest as it is ... Pascal Hambourg <pascal@plouf.fr.eu.org> - 2019-01-30 20:00 +0100
                Re: trying to install Debian encrypted in an existed partition,  keeping the rest as it is ... Brian <ad44@cityscape.co.uk> - 2019-01-30 20:10 +0100
                Re: trying to install Debian encrypted in an existed partition,  keeping the rest as it is ... David Christensen <dpchrist@holgerdanske.com> - 2019-01-31 02:30 +0100
              Re: trying to install Debian encrypted in an existed partition,  keeping the rest as it is ... Thomas D Dial <tdial@acm.org> - 2019-01-30 20:30 +0100
                Re: trying to install Debian encrypted in an existed partition,  keeping the rest as it is ... David Christensen <dpchrist@holgerdanske.com> - 2019-01-31 02:30 +0100
            Re: trying to install Debian encrypted in an existed partition,  keeping the rest as it is ... David Wright <deblis@lionunicorn.co.uk> - 2019-02-01 04:40 +0100
              Re: trying to install Debian encrypted in an existed partition,  keeping the rest as it is ... Albretch Mueller <lbrtchx@gmail.com> - 2019-02-05 10:50 +0100
                Re: trying to install Debian encrypted in an existed partition,  keeping the rest as it is ... David Wright <deblis@lionunicorn.co.uk> - 2019-02-05 17:40 +0100
          Re: trying to install Debian encrypted in an existed partition,  keeping the rest as it is ... David Wright <deblis@lionunicorn.co.uk> - 2019-01-31 22:40 +0100
      Re: trying to install Debian encrypted in an existed partition,  keeping the rest as it is ... Nitebirdz <nitebirdz@sacredchaos.com> - 2019-01-30 15:50 +0100
  Re: trying to install Debian encrypted in an existed partition,  keeping the rest as it is ... Jonathan Dowland <jmtd@debian.org> - 2019-01-30 11:10 +0100
  Re: trying to install Debian encrypted in an existed partition,  keeping the rest as it is ... Pascal Hambourg <pascal@plouf.fr.eu.org> - 2019-01-30 20:10 +0100

csiph-web