LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Linux From Scratch
User Name
Password
Linux From Scratch This Forum is for the discussion of LFS.
LFS is a project that provides you with the steps necessary to build your own custom Linux system.

Notices


Reply
  Search this Thread
Old 07-12-2004, 01:15 PM   #1
Dargason
LQ Newbie
 
Registered: Jul 2004
Location: Leuven, Belgium
Distribution: Mandrake 10, LFS 5.1.1, Debian
Posts: 29

Rep: Reputation: 15
Partition plan suggestions


Ok, I've been playing around with Mandrake for a while, and now I'd like to take a stab at LFS, mostly for the learning experience.

I've got Windows on the first hard disk (40GB) and I've got a second hard disk (120GB) with Mandrake 10. What I'd like to do is set up the second drive so that I have both Mandrake and LFS on the same drive, but in different partitions. Of course, when I installed Mandrake, it took the whole disk -- mostly with a 110 GB /home partition.

So here's what I was thinking. I'd like to shrink the /home partition to make room for LFS and possibly other distributions someday. My question has to do with sharing partitions between distrobutions. I know I can share the swap partition, but is it also possible to share the /home partition? Then I could just have a root partition for each distribution and have all my data shared between them.

Is this a good idea, or am I likely to run into problems (with configuration files, maybe?) Does anyone do this?

Also, I'm looking for some recommendations for partitioning tools. Diskdrake looks nice, but I can't figure out how to make it work since the /home partition is always "in use" when I'm running diskdrake.

Thanks!
Mike
 
Old 07-12-2004, 02:41 PM   #2
idaho
Member
 
Registered: Aug 2003
Location: Portland, Oregon
Distribution: RedHat, Libranet
Posts: 438

Rep: Reputation: 30
Sharing your home partition between distributions is a good idea.

People who work in a NIS authentication environment often have a NFS mounted home directory that follows them around as they log onto different systems. Sharing the home directory on your disk between different bootup environments as you suggest would be similar to this.
 
Old 07-12-2004, 03:34 PM   #3
oneandoneis2
Senior Member
 
Registered: Nov 2003
Location: London, England
Distribution: Ubuntu
Posts: 1,460

Rep: Reputation: 48
If I recall correctly, root doesn't keep any files in /home - so if you log in as root, you should be able to unmount /home

And you'll have to make sure your user names match user ID's - I think that's done in the /etc/shadow file..?

I share my /home between my Slackware and LFS distros. It saves a lot of duplication.
 
Old 07-12-2004, 05:42 PM   #4
zz9pluralzalpha
Member
 
Registered: Jun 2004
Location: UK
Distribution: BLFS 5.1
Posts: 34

Rep: Reputation: 15
You just have to be a little wary of running different versions of the same program on different distros as they may treat the same ~/.blah file differently, resulting in errors. Shouldn't happen but could.
 
Old 07-13-2004, 12:07 PM   #5
Dargason
LQ Newbie
 
Registered: Jul 2004
Location: Leuven, Belgium
Distribution: Mandrake 10, LFS 5.1.1, Debian
Posts: 29

Original Poster
Rep: Reputation: 15
Thanks, guys, but I've been looking around some more and found conflicting evidence...

http://www.linuxquestions.org/questi...home+partition
http://www.linuxquestions.org/questi...home+partition

So I was thinking maybe the best thing to do is have a partition for each distro, including the root, /usr, and so on, including a small space for /home. Then have a separate swap partition, and a fairly large partition (call it /data) that can be mounted independentaly of the distro I'm running - my windows drive is a little like this already, except that it's read only.

Any problems this this approach, or am I making this too complicated?

Thanks,
Mike
 
Old 07-13-2004, 12:49 PM   #6
zz9pluralzalpha
Member
 
Registered: Jun 2004
Location: UK
Distribution: BLFS 5.1
Posts: 34

Rep: Reputation: 15
That's more-or-less what I do, only more organised
 
  


Reply



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
dual boot xp/debian partition suggestions alsac Debian 4 08-26-2005 10:29 AM
Suggestions on partition sizes Rylinkus Linux - Newbie 2 02-05-2004 09:14 AM
Suggestions on Partition Sizes jrperiod Linux - Newbie 7 01-30-2004 11:18 PM
Linux Partition Suggestions Comatose51 Linux - General 3 01-29-2003 12:29 AM
partition plan Serena Linux - General 0 04-21-2002 12:24 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Linux From Scratch

All times are GMT -5. The time now is 02:48 PM.

Main Menu
Advertisement
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
Open Source Consulting | Domain Registration