LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   how to share /home between diff distros? (https://www.linuxquestions.org/questions/linux-newbie-8/how-to-share-home-between-diff-distros-183587/)

letdoit 05-20-2004 02:30 AM

how to share /home between diff distros?
 
I have linux box and windows xp on my first hard drive. Now, I ready to install Slackware. In order to avoid mistakes as much as possible, I have some questions.

1. How can I share /home for different distros? I want to separate /home to a new partition for an easier handle in the future. (Recently, I have created 2 users in dir /home of Linux distro .

2. I used Grub boot loader to handle dualboot between windows xp and redhat ( "redhat man appears at optional screen everytime". After I install Slackware, I'd delete redhat. Will I have optional choice between Slackware and Windows XP or I'm unable to boot elsewhere?

bruno buys 05-20-2004 07:22 AM

**********************
1. How can I share /home for different distros? I want to separate /home to a new partition for an easier handle in the future. (Recently, I have created 2 users in dir /home of Linux distro .
**********************
While partitioning, tell the setup to mount your home partition in /home, and DONīT format it if you already have data on it. If you add the same user to the system, Slackīs setup will most likely tell you that the dir already exists and ask if you wanna change ownership. This is ok, you can do it. Be careful not to overwrite the dir!
If you share homes, you also share the config dirs that every program and desktop manager creates. It can be a problem.

2. I donīt know if I got your meaning, but it can be done. If you wanna erase redhat, just format their partitions and edit grubīs menu.lst. If you donīt wanna erase it, install slack on another place. You can have three boot options, as long as you have enough disk space.

Oliv' 05-20-2004 07:30 AM

Hi,

1- To share /home between differents distros, you just have to edit /etc/fstab from your 2 differents distros and tell them that /home is /dev/hdasomething... Then you have to be very careful with user management, because that's not because /home/foo exists that foo user exists... Moreover you need to be careful with password, because you can set "reuivbfbve" as pass for user foo on your RH and "fhzv!nr" for the same user on the other distro... But if you know how to use correctly adduser and passwd commands, you shouldn't have big troubles ;)

2- Once, you have Slackware, boot on it (with grub, that's easy as you can modify boot param at boot time)... Then re-install Grub or Lilo in MBR from Slack and now you can remove RedHat :)

Oliv'


All times are GMT -5. The time now is 10:50 AM.