Help - Search - Members - Calendar
Full Version: Sharing /home
Linuxhelp > Support > Technical Support
Jim
So I am working on installing Gentoo right now along side my Mandrake sytem. And I was thinking about what little I know about linux file structures. Is it possible for my to only create one new partition spot to make the root for gentoo and than have Mandrake and Gentoo share the /home ext2 partition so I can keep all my files in one place?

Just a thought?

:::Edit:::
After thought, what is this
/dev/hdb2 Win95 Ext'd (LBA)
partition that I see when I Fdisk. I used to have two Fat32 chuncks and I deleated one to make room for gentoo but this other thing is still there. It has an ID of f and I don't know what is is. Do I need it or not?
hughesjr
That is an extended partition ... you can only have 4 main partitions. If you are going to have more than 3, the 4th partition should be an extended partition ... then you would create 5 to whatever inside the extended partiton.

see this partiton table:
QUOTE
Disk /dev/sda: 73.4 GB, 73407868928 bytes
255 heads, 63 sectors/track, 8924 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes

  Device Boot    Start      End    Blocks  Id  System
/dev/sda1  *        1        17    136521  83  Linux
/dev/sda2            18      148  1052257+  82  Linux swap
/dev/sda3          149      2106  15727635  83  Linux
/dev/sda4          2107      8924  54765585    5  Extended
/dev/sda5          2107      3566  11727418+  83  Linux
/dev/sda6          3567      5525  15735636  83  Linux
/dev/sda7          5526      6742  9775521  83  Linux
/dev/sda8          6743      8924  17526883+  83  Linux


You will notice that the extended partiton (sda4) has 2107 - 8924 ... and that that the other partitons are (5 to 8) are inside that partition. Some versions of fdisk use type 5 Extended as the extended partition ... others use type f Win95 Ext'd (LBA) as the extended partition. Type f is probably better (it's LBA) ... but most of my drives have type 5 (both IDE and SCSI). Using Linux only, I haven't had any problems with either type f or type 5. I only have one dual boot with Windows computer and it uses type f for the extended partition.
----------------------
I don't think I would share the home directroy, because you will probably have different versions of programs installed that will write configuration files to the boot directories ...

I also would not have any ext2 partitions ... but ext3 is OK. (ext2 has no journal and on a loss of power, it can be very bad).

You can create a /mnt/hd directory and mount the other entire root partiton into /mnt/hd then go to /mnt/hd/where-ever to get files.
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.
Invision Power Board © 2001-2017 Invision Power Services, Inc.