You are not logged in.

#1 2008-08-24 06:42:05

brando56894
Member
From: New Jersey, USA
Registered: 2008-08-03
Posts: 566
Website

Using Same Home For Mint and Arch

I installed arch onto a 10gb partition just to test it out and im becoming very accustomed to it but the partition is too small if i want to use it as my main distro and was wondering if I could use the same user (and home partition) for both linux mint and arch or would it be safer to create separate users and have them live on the same partition?

Offline

#2 2008-08-24 07:20:44

fukawi2
Forum Moderator
From: .vic.au
Registered: 2007-09-28
Posts: 4,705
Website

Re: Using Same Home For Mint and Arch

Using the same partition for /home shouldn't cause a problem - just make sure the same user exists, with the same UID, on both Arch and Mint (in /etc/passwd)

Offline

#3 2008-08-24 09:30:55

11010010110
Member
Registered: 2008-01-14
Posts: 284

Re: Using Same Home For Mint and Arch

They may beat each others dotfiles (hidden files in your home that keep your settings etc)

If you experience any config problems in the distros then use another user with other username and same uid

If you use different DEs on the disros the problem is less likely to happen

Offline

#4 2008-08-24 09:46:28

Hessiess
Member
Registered: 2008-07-21
Posts: 71

Re: Using Same Home For Mint and Arch

make a separate partition for storing your data and mount it into your home directory i.e. I have /home/a/ALL on its own partition.

Offline

#5 2008-08-24 10:18:35

ScriptDevil
Member
From: In Front of My PC
Registered: 2006-04-06
Posts: 253

Re: Using Same Home For Mint and Arch

I feel some config files in your home might get mutilated... Have 2 different user ids


Be yourself, because you are all that you can be

Offline

#6 2008-08-24 16:26:19

Onwards
Member
From: Pakistan
Registered: 2007-04-18
Posts: 108

Re: Using Same Home For Mint and Arch

You could create another partition (provided you have free space, better yet kill any Window$ partition smile) and then mount it as your /home in Arch.

I second the idea of creating different user accounts for the two installations in your current setup. IMHO, you needn't worry about UIDs as they are used by the kernel; it doesn't care about usernames...

Last edited by Onwards (2008-08-24 16:37:23)

Offline

#7 2008-08-24 17:26:54

brando56894
Member
From: New Jersey, USA
Registered: 2008-08-03
Posts: 566
Website

Re: Using Same Home For Mint and Arch

i definitely have enough space (1.2TB big_smile ) but i hate having to resize partitions and deal with extended partitions and all that crap. i have my /home partition as a 50gb JFS partition and there is only one user in it which has the same name and uid, im assuming it would work but then again it might screw with the config files. i might just create a new user and link to the larger folders from my linux mint home on there such as my music folder and my pictures.

Offline

#8 2008-08-24 17:32:57

haxit
Member
From: /home/haxit
Registered: 2008-03-04
Posts: 1,247
Website

Re: Using Same Home For Mint and Arch

Its best to keep the usernames seperate. The config files will run into some problem. However, what you could do is this:

These two will just store config files:
/home/yourname1/
/home/yourname2/
And this will store your files:
/home/FILES

This would work properly if your home directory is on a seperate partition. That way you could also uninstall Mint and Arch and install anything if you wanted and you would still have your files intact.


Archi686 User | Old Screenshots | Old .Configs
Vi veri universum vivus vici.

Offline

#9 2008-08-24 17:37:16

brando56894
Member
From: New Jersey, USA
Registered: 2008-08-03
Posts: 566
Website

Re: Using Same Home For Mint and Arch

i think ill try that approach, thanks.

Offline

#10 2008-08-24 17:48:45

haxit
Member
From: /home/haxit
Registered: 2008-03-04
Posts: 1,247
Website

Re: Using Same Home For Mint and Arch

No problem. Send me an email or post a thread if you have any problems.


Archi686 User | Old Screenshots | Old .Configs
Vi veri universum vivus vici.

Offline

#11 2008-08-25 07:48:11

fukawi2
Forum Moderator
From: .vic.au
Registered: 2007-09-28
Posts: 4,705
Website

Re: Using Same Home For Mint and Arch

Onwards wrote:

...you needn't worry about UIDs as they are used by the kernel; it doesn't care about usernames...

Exactly - if you're trying to keep things "in sync" between installations, then the UID needs to be the same because files and directories on disk are stored by UID. They are then just mapped to a username for display purposes.

Eg, username "bruce" on install 1 has UID 500 and username "bruce" on install 2 has UID 502. Same username, different UID's. Permissions will always fail between the installations because as far as the kernel on install 1 is concerned, all of "bruce"s files are owned by 500. The kernel on installation 2 won't allow read/write etc (depending on the permissions) because it knows the files are owned by 500, but "bruce" is 501.

I think that makes sense? hmm  It does in my head tongue

Offline

#12 2008-08-25 08:41:23

brando56894
Member
From: New Jersey, USA
Registered: 2008-08-03
Posts: 566
Website

Re: Using Same Home For Mint and Arch

it makes complete sense, lucky for me they are both the same UID.

Offline

#13 2008-08-25 12:15:51

Onwards
Member
From: Pakistan
Registered: 2007-04-18
Posts: 108

Re: Using Same Home For Mint and Arch

fukawi2 wrote:

Eg, username "bruce" on install 1 has UID 500 and username "bruce" on install 2 has UID 502. Same username, different UID's. Permissions will always fail between the installations because as far as the kernel on install 1 is concerned, all of "bruce"s files are owned by 500. The kernel on installation 2 won't allow read/write etc (depending on the permissions) because it knows the files are owned by 500, but "bruce" is 501.

Beautifully explained !! neutral

Offline

Board footer

Powered by FluxBB