The new Ubuntu 24.04 desktop installer doesn't support installing to existing LVM partiton (https://bugs.launchpad.net/ubuntu-desktop-provision/+bug/2058511)
DISCLAIMER: I am not responsible for any damage or negative consequences to your system
However there are workaround that we can use
- Download Ubuntu 24.04 server and desktop installer
- Install Ubuntu 24.04 server to your existing LVM partition
- Create a
autoinstall.ymlfile- Copy the template below
- Copy the
.autoinstall.storage.configsection from/var/log/installer/autoinstall-user-dataof the Ubuntu 24.04 server installation and put it inside the same section in yourautoinstall.ymlfile
- Boot into Ubuntu 24.04 desktop installer and choose "Try ubuntu" when asked "What would you like to do with Ubuntu?"
- Put the
autoinstall.ymlfile on the live system home folder - Open terminal and run
python3 -m http.serveron the home folder - Open the Ubuntu installer app and select "Automated installation" when asked "How would you like to install Ubuntu?"
- Use
http://localhost:8000/autoinstall.ymlfor the autoinstall.yml URL
References: