You are not logged in.

#1 2019-02-25 00:29:36

pedruchini
New Member
Registered: 2019-02-25
Posts: 2

Sharing the home partition with mx-linux

When dual-booting, I usually create a home partition for each distro. Since both Bunsenlabs and MX-Linux are based on Debian Stable, I wonder if they could share the same home partition. I suppose they would have the same versions of the installed software. Is it advisable to do that?

Last edited by pedruchini (2019-02-25 00:30:15)

Offline

#2 2019-02-25 02:03:43

PackRat
jgmenu user Numero Uno
Registered: 2015-10-02
Posts: 1,055

Re: Sharing the home partition with mx-linux

Not advisable. Even though your user names may be the same, there are usually some permission issues that cause problems. It's better to create a data partition that each distro will share. You can even mount it into the separate home partitions if you want.


You must unlearn what you have learned.
    -- yoda

Offline

#3 2019-02-25 03:56:36

Bearded_Blunder
Dodging A Bullet
From: Seat: seat0; vc7
Registered: 2015-09-29
Posts: 730

Re: Sharing the home partition with mx-linux

If you're careful you can create users in each where the uid & gid match, and avoid permissions problems, I still wouldn't want to share  my home between two distros though.  I would consider making individual directories like Downloads, Documents, other stuff, possibly even thunderbird & firefox profiles (or selected bits of them) symlinks to folders on a shared partition having matched up uids & gids though. When creating user on distro 2 you specify uid & gid to match distro 1.  It's quite doable, but more involved than just creating users with matching names.

Last time I did something like it, the second distro I created a temporary user during the install, then added that carefully matched user later & removed the temporary one.  Just sharing ~ ends up with wirdnesses with some software wanting different configs in each distro even with the permissions solved.

Making it work is a learning experience, not something to expect to just work right off.


Blessed is he who expecteth nothing, for he shall not be disappointed...
If there's an obscure or silly way to break it, but you don't know what.. Just ask me

Offline

#4 2019-02-25 05:59:03

ohnonot
...again
Registered: 2015-09-29
Posts: 3,773
Website

Re: Sharing the home partition with mx-linux

Bearded_Blunder wrote:

Making it work is a learning experience, not something to expect to just work right off.

ah, quoteworthy. would you mind?

Last edited by ohnonot (2019-02-25 05:59:27)

Offline

#5 2019-02-25 06:15:26

Bearded_Blunder
Dodging A Bullet
From: Seat: seat0; vc7
Registered: 2015-09-29
Posts: 730

Re: Sharing the home partition with mx-linux

Pretty much anything I say on a public forum is public domain, why would I mind?


Blessed is he who expecteth nothing, for he shall not be disappointed...
If there's an obscure or silly way to break it, but you don't know what.. Just ask me

Offline

#6 2019-02-25 10:42:54

pedruchini
New Member
Registered: 2019-02-25
Posts: 2

Re: Sharing the home partition with mx-linux

Thanks to all of you.
I'm a longtime linux user but still learning.
I hope these useful recommendations will help other users.

Offline

#7 2019-02-25 11:15:29

damo
....moderator....
Registered: 2015-08-20
Posts: 4,975

Re: Sharing the home partition with mx-linux

Another problem with sharing $HOME between distros is that dotfiles may be overwritten, or just cause breakage.

My method is what some others ^ use - share a data partition, and replace various directories with symlinks eg

rm -r Documents && ln -s /mnt/data/Documents Documents

EDIT: [rant]Why are $HOME dirs capitalised? It is a PITA![/rant]


Be Excellent to Each Other...

FORUM RULES and posting guidelines «» Help page for forum post formatting
Artwork on DeviantArt  «» BunsenLabs on DeviantArt

Offline

#8 2019-02-25 20:22:34

ohnonot
...again
Registered: 2015-09-29
Posts: 3,773
Website

Re: Sharing the home partition with mx-linux

damo wrote:
rm -r Documents && ln -s /mnt/data/Documents Documents

EDIT: [rant]Why are $HOME dirs capitalised? It is a PITA![/rant]

that's optional!

$> cat ~/.config/user-dirs.dirs 
XDG_DOWNLOAD_DIR="$HOME/downloads"
XDG_DOCUMENTS_DIR="$HOME/documents"
XDG_MUSIC_DIR="$HOME/music"
XDG_PICTURES_DIR="$HOME/images"
XDG_CONFIG_DIR="$HOME/.config"
XDG_VIDEOS_DIR="$HOME/video"
XDG_DESKTOP_DIR="$HOME/desktop"

Offline

#9 2019-02-25 20:31:35

damo
....moderator....
Registered: 2015-08-20
Posts: 4,975

Re: Sharing the home partition with mx-linux

^ I know, but I have to decapitalise the defaults sad


Be Excellent to Each Other...

FORUM RULES and posting guidelines «» Help page for forum post formatting
Artwork on DeviantArt  «» BunsenLabs on DeviantArt

Offline

#10 2019-02-25 20:38:39

ohnonot
...again
Registered: 2015-09-29
Posts: 3,773
Website

Re: Sharing the home partition with mx-linux

^ well you do it once, it's done forever.

Offline

Board footer

Powered by FluxBB