I have successfully rebuilt my pc so I have no ‘request for help’ as such. However, I am interested in what I did incorrectly using the 24.04 Live CD.
Objective:
Clean install of 24.04 onto hd that has lvm. Create two logical volumes, one for / and one for /home
Procedure:
Boot to live CD (24.04). Installed lvm2. Using gparted created a 200mb fat32 partition with flags set to efi and boot. Rest of HD configured as ext4 (shown as sda2 on my system). Via terminal:
sudo pvcreate /dev/sda2
sudo vgcreate vg01 /dev/sda2
sudo lvcreate -n root -L50G vg01
sudo mkfs.ext4 /dev/vg01/root
sudo lvcreate -n home -L100G vg01
sudo mkfs.ext4 /dev/vg01/home
At this point I’m ready to install 24.04. Using the Live CD 24.04 installer I get to the point where I chose ‘Something Else’ for the manual install part of the process. After scanning the disk I’m presented with a screen showing:
sda1 vfat 209.72mb
sda2 239.85GB
(At this point I’m saying “where is the lv for / and the lv for /home?”)
I shutdown the pc and reboot using a 22.04 Live CD. I get to the point where I choose ‘Something Else’. After scanning the disk I’m now presented with:
/dev/mapper/vg01-root ext4
/dev/mapper/vg01-home ext4
At this point I’m able to install / into my lv created for / and /home into the lv created for /home.
The GUI options I had to install, using the 24.04 Live CD, was similar/the same as when one uses gparted to ‘look’ at a lvm disk. It cannot ‘see’ any logical volumes. However, the 22.04 Live CD did ‘see’ the logical volumes and allowed me to point / and /home to the correct locations.
I guess one answer might be to use the terminal to do this procedure but a) it is complicated if you do not know how to do it and need to learn (I could not do this using the terminal without some reading) b) surely this is the whole point of the Live CD GUI environment (you do not have to use the terminal) and c) how come the 22.04 Live CD can read a lvm structure but the 24.04 CD cannot?