When installing Lubuntu using a Lubuntu bootable flash drive, there is a step asking (see the picture below, although it is for Ubuntu not for Lubuntu)
“Erase disk and install Lubuntu”, which has two suboptions: "Encrypt the new Lubuntu installation for security" and "Use LVM with the new Lubuntu installation";
“Something Else”
I would like to use LVM and considering the following two ways to use LVM during the installation process:
The first way
Before installation, boot into the live Lubuntu (without installation) using a Lubuntu bootable flash drive, and create one physical volume, one volume group, and three logical volumes (for holding swap,
/
and/home
in the next step).Reboot to start installation of Lubuntu using the Lubuntu bootable flash drive, choosing "Something Else" in the above step, and specify the logical volumes to hold swap,
/
and/home
respectively.
When I tried this way, the installation process was stuck in the next step when copying files, saying some usb errors.
The second way:
In the above step of installation using the Lubuntu bootable flash drive, just choose both "Erase disk and install LUbuntu" and "Use LVM with the new Lubuntu Installation".
But the installation process doesn't ask me to create physical volume, volume group and logical volumes.
And when it says installation completes, and I choose to reboot, its shutdown is now stucks at "SQUASHFS error"s: "Unable to read daa cache entry [1f5b4f7b]", "unable to read page, block 1f5b4f7b, size 4329" and "squashfs_read_data failed to read block 0x57fa29".
Are both ways feasible? Are they equivalent? If not what shall I do additionally to make them equivalent?
Are the problems that I encountered in the two ways unrelated to LVM and the installation?
Thanks.