After inserting the DVD/CD continue to Suggested Partitioning.
Choose LVM Based.
You can accept the partition table proposed by Yast, but this is only good for a try-out.
So we will go for a manual partitioning, without trying the auto Yast partitioning.
As an example I use a 297 GB HD with 4 GB physical memory.
So, at Suggested Partitioning, choose LVM Based.Do not encrypt, unless you really need encryption.
Go to Partition Setup.
Go to Custom Partitioning (experts only).
In the Expert Partitioner, choose Hard Disks (left column).
Create a primary /boot partition and format it with ext4 (or your prefered File System). I will continue using ext4.
The boot Partition should not be bigger than 100 MB.
Here Grub is installed to boot the system.
Installing Grub in the MBR (as we usually do), can rersult in an unbootable system with LVM as Grub2 seems not capable booting LVM2.
The boot partition will probably show as sda1 in Hard Disks.
Now, again in Expert Partitioner - Hard Disk, create a second primary partition.Do not create a logical partition.You won’t be able to edit.I know, it’s weird. We are always told to create only one primary, but here you have to break the rule.
Do NOT format this partition, but select it as Linux LVM in the drop-down menu.
As size for this partition, choose rest of disk.In my case 258 GB.
This partition will be shown as sda2.
Now look in the left column for Volume Managment (Expert Partitioner).
Click on Add… and select Volume Group.
The Volume Group needs a name, any name you like.
Fill in the name, and click on the middle arrow to transfer the Volume Group to Selected Physical Volumes.
The Volume Group is now a Physical Volume in which you can create partitions.
So, in Volume Managment,select the LVM partition.Click Add…Logical Volume.
Fill in the name of the Logical Volume (anything you like, but keep it simple, like usr for the usr partition).
Format as ext4 (or other)and select the mount point (/usr for the usr partition).
Repeat this procedure for all desired logical volumes.
You need a root and swap volume, and by preference also a home volume.
30 GB /
2 GB swap
500 MB /tmp
5 GB /usr (which is 65% full with 1 usr and root)
258 GB /home
For swap it is said to use 2 to 3 times the physical memory.
At this day, Linux does not use more than 4 GB of memory.
So if you have a PC with 4GB memory, you can make a swap of 1 MB.
If you have 2 GB of memory, go for a minimum of 2 GB swap.
With 1 GB memory, go for 3 GB swap, but not more.
To much swap will slow your PC down.
Once you are happy with your partition table, click on Install…
People who have Black Screens with clasic partitioning, will probably have no more trouble with LVM!