LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices

Reply
 
Search this Thread
Old 05-20-2004, 02:30 AM   #1
letdoit
Member
 
Registered: Mar 2003
Posts: 38

Rep: Reputation: 15
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?

Last edited by letdoit; 05-20-2004 at 02:32 AM.
 
Old 05-20-2004, 07:22 AM   #2
bruno buys
Senior Member
 
Registered: Sep 2003
Location: Rio
Distribution: Debian
Posts: 1,509

Rep: Reputation: 46
**********************
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.

Last edited by bruno buys; 05-20-2004 at 07:24 AM.
 
Old 05-20-2004, 07:30 AM   #3
Oliv'
Senior Member
 
Registered: Jan 2004
Location: Montpellier (France)
Distribution: Gentoo
Posts: 1,014

Rep: Reputation: 36
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'
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
How do I move /home to share between distros? glenn69 Linux - Newbie 5 06-07-2005 10:31 PM
Diff linux distros wont boot bLiNdRaGe Linux - Newbie 3 11-12-2004 05:37 PM
How to share /home with two or more distros? wilshaw Linux - Newbie 3 07-16-2004 10:09 AM
Looking for a way to Share Home Partition among Distros Huddlebum Linux - General 1 03-31-2004 07:06 PM
can two distros share a /home dir ? ruwach Linux - Distributions 3 03-06-2004 08:37 PM


All times are GMT -5. The time now is 08:15 AM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration