1

I would like to install Ubuntu 24.04 on a new (physical) system and comply with the DISA STIG for drive partitioning and secure LVM mounts. That means 'noexec' for /var and /tmp. I don't see any way in Ubuntu 24.04 to create LVMs for /var, /var/log, /var/log/audit, /tmp, etc...

I tried creating all of the LVMs manually, but the LVMs do not show up in the Ubuntu 24.04 installer. I've done this many times with RedHat but I don't see a way to do it in Ubuntu 24.04.

How do you install Ubuntu 24.04 to DISA STIG compliant LVM volumes?

7
  • I did try manually partitioning the drive, just like I used to do in 22.04 but it does not appear that 24.04 can see the LVMs like 22.04 used to do. I am very familiar with the process to create LVMs and I have done it many times for Red Hat and Ubuntu 22.04. The separate partitions oddly enough are not mentioned in the Ubuntu STIG but they are in the RHEL STIG. If you load up the STIG viewer and open the RHEL STIG, search for 'noexec' and you'll see the separate partition requirement.
    – ZappedC64
    Commented Apr 28 at 2:59
  • I don't know if I'm allowed to post screenshot links but I was able to create the LVMs with no problems. Unfortunately they do not show up in the installer. It looks like Ubuntu forgot to support custom LVMs. Link to screenshot on Imgur
    – ZappedC64
    Commented Apr 28 at 11:47
  • Side note -- The Ubuntu Server 24.04 installer does see the LVMs and lets me use them but does not install the gui but installing the Gnome desktop afterwards failed miserably for me last night.
    – ZappedC64
    Commented Apr 28 at 11:51
  • @ThomasWard - I think you are misunderstanding what I'm saying. I completely understand LVMs and how the work and how they are displayed. All I'm saying is that I don't see a way to install to an LVM in Ubuntu 24.04. This was possible in Ubuntu 22.04. If you look at this screenshot from Ubuntu 22.04, you can see that Ubuntu 22.04 does show me the available LVMs that I manually created. Ubuntu 24.04 does not. :(
    – ZappedC64
    Commented Apr 28 at 18:06
  • 1
    That sinks. In 22.04 (see my screenshot) we could at least select the LVM, with 24.04, we can't even see the LVMs. :( Workaround.... I used Ubuntu Server 24.04 which does support LVMs and then installed the ubuntu-gnome-destop. It was still kind of wonky, but I fixed the minor issues that I saw pop-up.
    – ZappedC64
    Commented Apr 28 at 23:43

1 Answer 1

1

As of my writing on April 29, 2024, this feature is missing from the installer. However, the team is aware of it - https://bugs.launchpad.net/ubuntu-desktop-provision/+bug/2058511 details the bug on this.

During the 24.04 development cycle a brand new installer was designed around a different framework, and during that cycle the teams tried hard to get feature parity. However not all features were fully included in the installer in time for release. This is still on their plate, and I already poked my Desktop Team contacts about this.

The workarounds would be to either install Server and then install the corresponding desktop packageset, etc. on top of that, or create an automatic installation script that the installer can reference and use to set up the partitions.

There is no fix date yet for this on 24.04 installer ISOs.

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .