2 distros with 1 /home [SOLVED]
Forum rules
There are no such things as "stupid" questions. However if you think your question is a bit stupid, then this is the right place for you to post it. Stick to easy to-the-point questions that you feel people can answer fast. For long and complicated questions use the other forums in the support section.
Before you post read how to get help. Topics in this forum are automatically closed 6 months after creation.
There are no such things as "stupid" questions. However if you think your question is a bit stupid, then this is the right place for you to post it. Stick to easy to-the-point questions that you feel people can answer fast. For long and complicated questions use the other forums in the support section.
Before you post read how to get help. Topics in this forum are automatically closed 6 months after creation.
2 distros with 1 /home [SOLVED]
I'd like to dual boot LM9 Main, with Ubuntu Lucid. The question is, can they share a /home directory on a separate partition? Will the Package Manager see the applications in both distros?
I wouldn't mind solely updating in Mint and editing the menus as needed in Lucid if needed.
thanks!
I wouldn't mind solely updating in Mint and editing the menus as needed in Lucid if needed.
thanks!
Last edited by LockBot on Wed Dec 28, 2022 7:16 am, edited 2 times in total.
Reason: Topic automatically closed 6 months after creation. New replies are no longer allowed.
Reason: Topic automatically closed 6 months after creation. New replies are no longer allowed.
Re: 2 distros with 1 /home
It's possible.
I recommend using different usernames for each distro when sharing a /home partition. That way your settings for each distro will be stored in separate locations.
I recommend using different usernames for each distro when sharing a /home partition. That way your settings for each distro will be stored in separate locations.
No, the /home folder doesn't contain any information about installed packages.Will the Package Manager see the applications in both distros?
Hmm... Sharing a /home wouldn't allow you to do that.I wouldn't mind solely updating in Mint and editing the menus as needed in Lucid if needed.
Re: 2 distros with 1 /home
Cool, thanks for the info. I forgot that apps are in the /usr directory?
Keeping the same username might be what I'm after in this case, I'd like my Firefox add-ons/bookmarks and Thunderbird messages to be sync'd in both distros.
Keeping the same username might be what I'm after in this case, I'd like my Firefox add-ons/bookmarks and Thunderbird messages to be sync'd in both distros.
Re: 2 distros with 1 /home
If you use the same username for two distributions eventually you'll just end up with breakage.bigBuckets wrote:Keeping the same username might be what I'm after in this case, I'd like my Firefox add-ons/bookmarks and Thunderbird messages to be sync'd in both distros.
You should be able to sync your Firefox and Thunderbird by copying your (hidden) Mozilla folders.
Re: 2 distros with 1 /home
I think a symlink would work
Code: Select all
cd /home/USER2
mv .mozilla mozilla.bak
ln -s /home/USER1/.mozilla .mozilla
Re: 2 distros with 1 /home
that's just what I do.I recommend using different usernames for each distro when sharing a /home partition. That way your settings for each distro will be stored in separate locations.
I found that one O/S would allow the 1st letter to be capitalized,
whilst the other O/S would only allow all lowercase.
this gave two user-name directories in /home - which was all that mattered anyway.
otherwise two unique user-names would work too.
when the time to upgrade a O/S comes, a simple rename of the user-name <directory>
and a re-install of the new O/S & new user-name sets the thing up again, for use.
then copy anything needed from the <renamed> user-name <directory> to the new user-name <directory>, & away I go.
Has worked well, for some time & a few upgrades.
However, things like mail from TBird, should be kept to just one O/S,
as sharing this info gets complicated.
Please edit your original post title to include [SOLVED] - when your problem is solved!
and DO LOOK at those Unanswered Topics - - you may be able to answer some!.
Re: 2 distros with 1 /home
Thanks for replies everyone...
I had fresh installs so I wanted to see what would happen with the same username. I was bored, and I figured I'd learn something new -- yes, it definitely broke stuff. It turned my LM9 into some Lucid hybrid. I reinstalled both with unique usernames and all is well.
I had fresh installs so I wanted to see what would happen with the same username. I was bored, and I figured I'd learn something new -- yes, it definitely broke stuff. It turned my LM9 into some Lucid hybrid. I reinstalled both with unique usernames and all is well.
Re: 2 distros with 1 /home
One last question that came up...
At the root of the home partition I want to create Music and Video directories that are available to both Distros.
Since both distros have unique usernames, what owner and group can I set for the Music/Video directories so they'll be available to both distros?
is the following bad?
chown -R root:root /Video
chown -R root:root /Music
At the root of the home partition I want to create Music and Video directories that are available to both Distros.
Since both distros have unique usernames, what owner and group can I set for the Music/Video directories so they'll be available to both distros?
is the following bad?
chown -R root:root /Video
chown -R root:root /Music
Re: 2 distros with 1 /home
The following will give everybody read/write/execute permissions to a directory:
Code: Select all
sudo chmod 777 /home/shared
Re: 2 distros with 1 /home
maybe have a partition with your data/music and (auto) mount it to one of your home subfolders when you log in?
I'm finding myself not bothering using separate home partitions and just a separate partition for data.
I'm finding myself not bothering using separate home partitions and just a separate partition for data.
Re: 2 distros with 1 /home
Yes that's what I do. I'm dual-booting Mint and Arch at the moment, sharing a /home partition and I have a separate data partition.SxFlare wrote:maybe have a partition with your data/music and (auto) mount it to one of your home subfolders when you log in?
I have mark as my username on Mint and orac as my username on Arch. I have the fstab entries (different for each distro, obviously) mount the data partition to /home/mark/data when I'm in Mint and to /home/orac/data when I'm in Arch. No breakage has occurred so far...
Re: 2 distros with 1 /home
Sounds as if everything worked out, but I though I'd plug the guys at mintcast.org since their latest episode dealt with this very issue.