Yes, it is feasible to have multiple Linux distributions recognize a shared home folder across different partitions.
Yes, it is feasible to have multiple Linux distributions recognize a shared home folder across different partitions.
I believe I need to adjust FSTAB on both operating systems (Kubuntu and EndeavourOS). The main issue seems to be Snaps, and I’m curious about how Endeavour would handle them. I’ve transferred the rest of Kubuntu’s Home directory to a new partition, but I haven’t managed to relocate the Snap directories from Kubuntu’s Home to the new copy. I want to confirm this is feasible before diving into the setup files. Edited August 20, 2024 by CitrusHook
You're referring to a setup like /home/CitrusHook, correct? Yes, adjusting fstab for the same disk on both systems could work, but beware of conflicts with config files (like in /home/CitrusHook/.config) if you have versions of the same program on Kubuntu and Enduring. It's often wiser to store them on a distinct partition.
I tend to simplify things by focusing on practical solutions right away. Using "mount --bind" would eliminate the need for custom setup during startup, so fstab entries would appear straightforward. My initial thought was about cleaning up the existing folder and redirecting links, but I realized such mounts only work reliably for specific users.
Hi, again. Yes, it's possible for snap to identify a different folder beyond the standard "home/citrushook/snap" path. I notice snap directories exist in various locations, including the root of Kubuntu. Since Arch may not support certain files on other distributions, keeping snaps and flatpaks in the Kubuntu partition makes sense. This approach helps address issues that arise when changing where the configuration is detected. I'm just starting out, so thank you for clarifying this.
Not very familiar with Snaps and Flatpack at that level, are you? It seems likely you can turn on support for them in Arch. You should be able to do it through Manjaro's package manager, which is similar to the one used in EndeavourOS—the same distribution I’m using. However, it’s unlikely they’ve placed binaries in your home folder. Typically, the ~/snap directory holds configuration files only, just like ~/.config or ~/.mozilla. The actual executables are stored in /var/lib/snapd/snap. So you’d need to install a Snap on both systems, just like you would install Firefox on both. If you share ~/home/CitrusHook between Kubuntu and EndeavourOS, the only shared items would be your files and app-specific configs. For instance, ~/.mozilla/firefox contains your Firefox settings but not the software itself, which runs at /usr/bin/firefox. As long as both versions have the same Firefox version (or compatible configurations), you only need to install and configure it once, with identical settings on both. But the program must still be installed and maintained separately on each system. If you have Snaps configuration files but don’t use them on EndeavourOS, they won’t cause any issues.