File system & Partition management and Clear Linux* installation

Perhaps, indeed most likely, there is some method of which I am ignorant, but, the installation assumes that there will be two partitions only: / and /boot. Personally I prefer to have my /home directory in its own partition. This seems to be impossible during the installation process.

Yes, I can use fstab post-install, but preferable to use the Clear Linux* OS automount method?

Again, I am sure that I am ignorant of this distro’s automount system (having never seen it before), but how does one optimize the file system for ssds?

But I have to say that this distro is slick and fast. I am impressed.

You can try creating additional partition and then use CLR_MNT_<mount_point> as partition label.
eg CLR_MNT_/home
source: link

For some reason for me home partition doesn’t mount itself and I have to add it to /etc/fstab. I created two data partitions that automounts.

lsblk -o NAME,PARTLABEL,SIZE,TYPE
NAME   PARTLABEL        SIZE TYPE
sda                   223.6G disk
├─sda1 CLR_BOOT         2.5G part
├─sda2 CLR_SWAP         256M part
└─sda3 CLR_ROOT         100G part
sdb                   931.5G disk
├─sdb1 CLR_MNT_/home    250G part
├─sdb2 CLR_MNT_/data1   250G part
└─sdb3 CLR_MNT_/data2   250G part

Other way is to use systemd
Related links:

A tutorial that may be help. Didn’t try it myself

From systemd-gpt-auto-generator(8) man page:
systemd-gpt-auto-generator is a unit generator that automatically discovers root, /home/, /srv/, /var/, /var/tmp/, the EFI System Partition, the Extended Boot Loader Partition and swap partitions and creates mount and swap units for them, based on the partition type GUIDs of GUID partition tables (GPT), …

To view the partition type GUIDs:

$ lsblk -o NAME,PARTLABEL,SIZE,TYPE,PARTTYPE
NAME        PARTLABEL              SIZE TYPE PARTTYPE
nvme0n1                          465.8G disk 
├─nvme0n1p1 EFI                    143M part c12a7328-f81f-11d2-ba4b-00a0c93ec93b
├─nvme0n1p2 linux-swap           244.1M part 0657fd6d-a4ab-43c4-84e5-0933c84b4f4f
├─nvme0n1p3 /                    372.3G part 4f68bce3-e8cd-4db1-96e7-fbcaf984b709
└─nvme0n1p4                       93.1G part 0fc63daf-8483-4772-8e79-3d69d8477de4

Easiest way to set them is with the Disks utility

Thank you for your help. I have, unfortunately, been unable to try the last suggestions. I have been looking at a number of distros to find one I like. I do like Clear Linux OS.

However, when I tried to replace Gnome with KDE I had screen corruption issues.

I have since replaced the Graphics card in my computer with a Radeon RX 6600 XT. When I tried reinstalling CL the dvd would no longer boot. There seems to be an issue with this GPU, not just with CL, but with a number of other distros.

I may come back to CL at a later date, when there is an upgraded install iso

Thank you

1 Like