Ubuntu 18.04 installer not able to set up LVM
Solution 1:
If you want all the available options to customize disk partitions, raid, etc, you should install Ubuntu using the Network Installer.
You can download it from here.
You need an active internet connection for this to work. When the installer reaches the point where it asks you what desktop to install, mark Ubuntu Desktop and select Continue if you want to install the normal desktop. Of course, you can mark any other Ubuntu flavor on that same menu and install that one if you like. (Xubuntu Desktop, Kubuntu Desktop, Lubuntu Desktop, etc)
Solution 2:
I was able to install Ubuntu-Mate 18.04.2 desktop with LVM after several tries. I tried as much as possible in the GUI.
- start Ubuntu-Mate as live desktop.
- install Synaptic package Manager
- install lvm2 and partitionmanager (gparted is not good enough for lvm handling)
- type in terminal: "sudo partionmanager" This should start the partionmanager as root.
In partionmanager do the following:
- create root partition (eg ext4)
- create swap
- in tools --> create new volume group, select partitions or drives to be part of the group
- apply
- select created volume group, create new partition (eg ext4) in the volume group, edit mount point (eg /home)
- apply
Now, start the installation of Ubuntu. In the step where you are at filesystem setup: choose the last option: something else. Now you should see the created root, swap and LVM/home partitions. Select them with the same options as above (mount point root, swap and /home) and install.