Discussion:
Bug#1088279: cdimage.debian.org: Unable to assign 'mount point' in net-install for encrypted mapped devices
(too old to reply)
Cyril Brulebois
2024-11-26 12:50:01 UTC
Permalink
Control: severity -1 normal

Hi,
Package: cdimage.debian.org
Severity: grave
Tags: d-i
Justification: renders package unusable
Dear Maintainer,
* What led up to the situation?
Trying to install Debian 12
* What exactly did you do (or not do) that was effective (or
ineffective)?
net-installer refuses to give the option to offer a "use as: ..." during installation.
* What was the outcome of this action?
Not able to install.
* What outcome did you expect instead?
Assigment of mount point.
Please describe the exact steps you're following.
Please take a look at https://forums.debian.net/viewtopic.php?t=161054
Please include all relevant in the actual bug report.
As explained, the net-installer seems to have a bug not offering an option to set a mount point.
The code used in the DVD-installer works as expected.
I'm not exactly sure the code is different



Cheers,
--
Cyril Brulebois (***@debian.org) <https://debamax.com/>
D-I release manager -- Release team member -- Freelance Consultant
Wiebe van der Worp
2024-11-26 20:10:01 UTC
Permalink
Steps to reproduce in net-installer, more or less quoted from
https://www.reddit.com/r/debian/comments/146vw37/guide_install_debian_with_encrypted_root_and/

Installer menu Partitioning
1 Select "Manual Partitioning"
2 Select the free space/partition and choose "create partition."
3 Use As: Physical Volume for Encryption
4 Scroll up to "configure encrypted volumes" > write changes, then
"create encrypted volumes."
5 Select "partition" > "finish"
6 Create your encryption password
7 Partition disks....
8 Scroll to "encrypted volume" and select the partition listed beneath
to edit it.
9 Set mount point to "/" (root) > done setting up partition
10 Finish partitioning and write changes to disk

Typically net-installer does not offer step 8 while DVD-installer does.
In other words, "encrypted volume" is simply not visible.

As a consequence it is impossible to do step 9: select the volume and
assign a mount point.

Summarized, installing Debian using the net-installer on an encrypted
root partition is impossible.

Best regards, Wiebe
Cyril Brulebois
2024-11-26 23:40:01 UTC
Permalink
Please use reply-all

Post by Wiebe van der Worp
Steps to reproduce in net-installer, more or less quoted from
https://www.reddit.com/r/debian/comments/146vw37/guide_install_debian_with_encrypted_root_and/
Installer menu Partitioning
1 Select "Manual Partitioning"
2 Select the free space/partition and choose "create partition."
3 Use As: Physical Volume for Encryption
4 Scroll up to "configure encrypted volumes" > write changes, then "create
encrypted volumes."
5 Select "partition" > "finish"
6 Create your encryption password
7 Partition disks....
8 Scroll to "encrypted volume" and select the partition listed beneath to
edit it.
9 Set mount point to "/" (root) > done setting up partition
10 Finish partitioning and write changes to disk
Typically net-installer does not offer step 8 while DVD-installer does. In
other words, "encrypted volume" is simply not visible.
I've just tried that with debian-12.8.0-amd64-netinst.iso (and its 12.7
counterpart to be on the safe side) and I'm seeing the encrypted volume
just fine with both of them.

First entry is sda1_crypt, Linux device-mapper (crypt)
partition #1 is ext4, not assigned to a mountpoint initially

Second entry is sda, ATA QEMU HARDDISK
partition #1 is encrypted (sda1_crypt)
Post by Wiebe van der Worp
As a consequence it is impossible to do step 9: select the volume and
assign a mount point.
Summarized, installing Debian using the net-installer on an encrypted
root partition is impossible.
Strong disagree. Even more so given we provide guided partitioning with
encrypted LVM, which also works.


Cheers,
--
Cyril Brulebois (***@debian.org) <https://debamax.com/>
D-I release manager -- Release team member -- Freelance Consultant
Wiebe van der Worp
2024-11-27 21:20:01 UTC
Permalink
Post by Cyril Brulebois
I've just tried that with debian-12.8.0-amd64-netinst.iso (and its 12.7
counterpart to be on the safe side) and I'm seeing the encrypted volume
just fine with both of them.
I just repeated the steps and it turns out that I was wrong here.

That said I feel really sorry for bothering you with this. On the other
hand, it took me much trouble to find some information on the net, to
find some logic in the order of partition steps and it is my believe
some improvement could be helpful, the Debian installation guide is
quite cheesy on the subject.

Again sorry and best regards, c'est la vie, Wiebe
Debian Bug Tracking System
2024-11-27 21:50:02 UTC
Permalink
Your message dated Wed, 27 Nov 2024 22:42:38 +0100
with message-id <***@mraw.org>
and subject line Re: Bug#1088279: Bug report 1088279
has caused the Debian Bug report #1088279,
regarding cdimage.debian.org: Unable to assign 'mount point' in net-install for encrypted mapped devices
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact ***@bugs.debian.org
immediately.)
--
1088279: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1088279
Debian Bug Tracking System
Contact ***@bugs.debian.org with problems
Loading...