On 10/31/05, Nada De nada <[EMAIL PROTECTED]> wrote:

Hi

I am trying to increas my video storage capcity. I
attached a new hard drive.. and I would like to know
if there is an easy way to set up Fedora and partition
the new hard drive...also once I do that.. how can I
link my video partition dev/hda5 (jfs format) to the
new drive

Thanks

When you say set up Fedora, do you mean have Fedora recognize the drive, or that it's not installed at all?

It should recognize it as soon as you boot up.  I'm not sure if Fedora has a friendly tool for disk partitions, but fdisk isn't terrible if you read a little.

Do you want to combine the two drives into one larger partition, or do you want to replace the partition you have with the new drive, and use your old partition for something else?

If you want to combine the drives (Say, you have 50GB now on /dev/hda5 and you have 250GB on /dev/hdb and you want to have 300GB on /mnt/video) you should look into LVM, which is surprisingly easy to set up.  I believe you can grow  and shrink jfs.
 
If you want to replace it, it's easier.  Here are the general steps, use man for exact parameters:

1) Use fdisk to create one large primary partition on your new drive (probably /dev/hdb if it's on the same cable as your original drive)
2) Set the type of the new partion to 83 Linux
3) Write and close fdisk
4) Make the file system on the new partition: mkfs.jfs /dev/hdb1
5) Mount the file system in a temporary place: mkdir /mnt/newDriveTemp/ &&  mount -t jfs /dev/hdb1 /mnt/newDriveTemp
6) Copy everything over (there may be better ways to do this part): cp -a /mnt/video /mnt/newDriveTemp
7) Modify fstab and replace the reference to /dev/hda5 with /dev/hdb1
8) Depending on whether the file system is in use (if /dev/hda5 is your /home for example) you may need to reboot instead of just unmount /mnt/newDriveTemp and /mnt/video and mount your new partition in it's place.


Ryan
_______________________________________________
mythtv-users mailing list
[email protected]
http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-users

Reply via email to