I know pub is not supposed to be so technical but I thought this was the best place for it.
As I have been using VFIO to pass through my graphics card etc. I have been running my Desktop OS on top of a server’s hypervisor.
Checking out different distros has been so simple as it’s just spinning up a new VM.
However I’ve decided to separate my server so I can finally run my desktop on bare metal.
I’ll have a 1Tb SSD for my linux distros and I want to figure out how to partition my drive and organise my data up to the level of sharing my KDE desktop setup.
My basic thought was to have a separate partition for home an other stuff I haven’t figured out. Then mount that lot through fstab in the correct places.
I would (though you could finagle it with links and stuff), probably keep home discrete for each distro due to all the config settings stored in home.
I would make a separate agnostic data directory for large and common file storage.
I’ve tried to share home…but it’s just not a good idea unless you want to tinker with all kinds of links elsewhere (imo).
I was figuring that I could develop a fstab setup that while being really complicated to setup could be pretty much copied across to every distro after I’ve installed everything I need.
It’s currently mostly a shower thought but it could be cool to make it work.
My opinion is that you shouldn’t use partitions at all. Well, it is my opinion so take it with a grain of salt
The idea is to create a single BTRFS partition and moving distros to different subvolumes.
I currently have only Windows and 1 Linux distro installed and managing even that is difficult for me, creating many partitions for many distros would inevitably result in lost disk space and complicated booting.
This is how I do it:
Install any Linux distro as normal. Choose your BTRFS volume as root and disable formatting
Boot from live media, from the live media
Move the subvolumes
Mount subvolumes and EFI partition
Edit /etc/fstab
Reinstall bootloader
Add new installed bootloader to your current bootloader of choice. If you use GRUB, use the command configfile.
When I share these directories with multiple users (on a single distro), I always seem to have permission issues even when I change the permissions properly, creating a common group, adding all users to that group, and changing ownership of all files and folders to that group. I’ve even tried sticky bit permissions but even that didn’t help unless the permissions were very relaxed.
One user per DE . First user is KDE and 2nd is LXQt. It seems they don’t play nice together when used with the same user.
I reason I do this is because I don’t distrohop (like many people), but I DE hop.
I would like all users to have the same permissions for the common folders including Downloads, Documents etc. and certain folders which are synced from other folders using syncthing.
In this case, you can use the same UID and GID for all the users but give them separate home dirs. That way they will quite literally have the same permissions.