Linux Help
guides forums blogs
Home Desktops Distributions ISO Images Logos Newbies Reviews Software Support & Resources Linuxhelp Wiki

Welcome Guest ( Log In | Register )

Advanced DNS Management
New ZoneEdit. New Managment.


Sign Up Now
Reply to this topicStart new topic
> Sharing /home
post Apr 5 2004, 06:44 PM
Post #1

Its GNU/

Group: Support Specialist
Posts: 1,280
Joined: 19-November 03
From: University of Minnesota- TC
Member No.: 1,828

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?

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?

--Jim Lester

Distro: Gentoo
System: AMD Athlon 3000+ XP 2.166 GHz
NVIDIA nForce2 IGP Chipset
NVIDIA nForce2 Dual Head 64 MB Graphics

Server Distro: CentOS
Go to the top of the page
+Quote Post
post Apr 5 2004, 07:47 PM
Post #2

Its GNU/

Group: Admin
Posts: 3,433
Joined: 25-July 03
From: Corpus Chrsiti, TX, USA
Member No.: 1,151

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:
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.

Johnny Hughes
Enterprise Alternatives: CentOS, WhiteBoxEL
Favorite Workstation Distros (in order): CentOS, Gentoo, Debian Sarge, Ubuntu, Mandrake, FedoraCore, Slackware, SUSE
Favorite Server Distros (in order): CentOS, WhiteBoxEL, Debian Sarge, Slackware, Mandrake, FedoraCore, Gentoo, SUSE
Go to the top of the page
+Quote Post

Reply to this topicStart new topic
1 User(s) are reading this topic (1 Guests and 0 Anonymous Users)
0 Members:


RSS Lo-Fi Version Time is now: 17th July 2018 - 05:00 AM