• reinstalling debian trixie with an existing encrypted setup

    From Nick Gawronski@21:1/5 to All on Tue Jul 8 01:00:01 2025
    Hi, I have my luks encryption setup and just want to reinstall the
    operating system but use the existing encryption keys and passphraises
    but no matter what I try in the debian-installer on the development page regardless of what I load I am unable to have the installer see or even
    access the luks volume.  I can get it to say that it is an encrypted
    volume but it says that it is encrypted with other encryption methods
    then luks so there is no way to just access the system and do this reinstallation but keep my existing encryption keys?  Nick Gawronski

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Pascal Hambourg@21:1/5 to Nick Gawronski on Tue Jul 8 08:10:01 2025
    On 08/07/2025 at 00:41, Nick Gawronski wrote:
    Hi, I have my luks encryption setup and just want to reinstall the
    operating system but use the existing encryption keys and passphraises
    but no matter what I try in the debian-installer on the development page regardless of what I load I am unable to have the installer see or even access the luks volume.

    Partman-crypto currently does not support re-using existing LUKS
    volumes. I guess it is possible to manually open a LUKS volume in an
    installer shell but this is still a hack. I'd like to work on proper
    support after trixie, but at first sight this seems far from trivial.

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Nick Gawronski@21:1/5 to Pascal Hambourg on Tue Jul 8 11:30:02 2025
    Hi, I think this would be a great idea as I can see lots of uses for
    reusing such a setup and not just for reinstallation but if you had
    groups like one for the root partition and one for the home partition. 
    If you currently try to split your system into two volume groups with an
    one terabyte volume it does not split them evenly and I had like a ten
    megabyte group for the root and a ten megabyte for the home group.  I
    would have also thought that there would be a way to resize things like
    if you want a smaller or larger sized swap group or none at all this
    should be doable as currently once you say yes and it partitions it for
    LVM there are no ways to currently set sizes.  I do know how to pull the debian-installer sources from git but how do you work on the different
    items in the source tree as from reading the output of the make commands
    it looks like lots of the different components are pulled in during the building process already compiled so what am I missing to be able to
    look at the source code for the different components so I can do test
    builds?  One thing I was wanting to test out as I am totally blind and
    use the speech output during the installer is to build an iso image that
    just automatically boots and starts the speech output or has like a
    single letter target for running it with speech which it currently does
    with s but if you are wanting to do things like rescue mode you have to
    press < to get back to the main menu then load the rescue mode guessing
    at when is the proper time after having debconf set to low priority and
    then you might not find the numbered choice in the menu in time after
    some steps are properly picked.  Nick Gawronski

    On 7/8/2025 1:08 AM, Pascal Hambourg wrote:
    On 08/07/2025 at 00:41, Nick Gawronski wrote:
    Hi, I have my luks encryption setup and just want to reinstall the
    operating system but use the existing encryption keys and
    passphraises but no matter what I try in the debian-installer on the
    development page regardless of what I load I am unable to have the
    installer see or even access the luks volume.

    Partman-crypto currently does not support re-using existing LUKS
    volumes. I guess it is possible to manually open a LUKS volume in an installer shell but this is still a hack. I'd like to work on proper
    support after trixie, but at first sight this seems far from trivial.

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)