-   Linux - Newbie (
-   -   Sharing Fedora accross two hard drives (

epoxi 06-26-2006 08:47 AM

Sharing Fedora accross two hard drives
To reincarnate my old PB 800mHz computer, and two 2GB hard drives, I have chosen to install Fedora Core 4 with GNOME Graphical bla-bla-bla.

Anyway, I have gotten to the stage where I have successfully installed a couple of features onto the Primary Hard Disk...and have run out of space.

At this point, I decided to throw in a (formatted FAT32) similar hard drive, hoping it would give me more mounting space for more features.

Unluckily, this has not freed up any more space, and this n00b has no idea how to work it :confused: .

I would greatly appreciate if you could give me some simple advice on how to incorporate (format if necessary) this secondary hard drive into my Fedora system to behave as one with the primary HD, and let me install some nice features from my Fedora installation disk.

Thanks in advance...

pixellany 06-26-2006 09:06 AM

4 GB total space---you will be filling ALL of that before long.
You should be able to get a **40** GB drive for maybe $30-40---less used.

If using Fedora, why not version 5?

To make the two drives act as one, you can use LVM. Or, to connect the 2nd drive to your filesystem, you will use the mount command. First, you need to setup the right filesystem on the drive.

do all this as root:
"fdisk -l" (to see all your partitions)
Assume that the 2nd drive is hdb, and has 1 partition (hdb1). Use fdisk to change it to ext2 or ext3 (use whatever you are using on drive #1)
"fdisk /dev/hdb"
"m" for help---follow the instructions to change partition type

"mke2fs /dev/hdb1" (to format the partition)

Now you can mount the dirve to you filesystem. If you are looking for space to install programs, then you might mount it at /opt
"mount /dev/hdb1 /opt" (Note that this will hide anything already in that directory--so you will need to copy things to another (temporary) folder, and then put them in the new /opt after mounting.

The make the mount automatic at boot time, put an entry in /etc/fstab. "man fstab" for details.

epoxi 06-26-2006 11:56 AM

Thanks for your help, I will try this, but I take your point about 4GB: I've heard of memory cards with more space. Unfortunately, I have a Maxtor 30GB HD which is works fine, only takes three years to transfer a byte of data, oh well.


All times are GMT -5. The time now is 07:43 PM.