Ok, heres the deal. I have a 20gig hard drive that I want to divide up into 5 pieces.
I have the following so far.
[root@linpen2 root]# fdisk -l
Disk /dev/hdc: 255 heads, 63 sectors, 2434 cylinders
Units = cylinders of 16065 * 512 bytes
Device Boot Start End Blocks Id System
/dev/hdc1 * 1 637 5116671 83 Linux
/dev/hdc2 1224 2434 9727357+ 83 Linux
/dev/hdc3 638 1147 4096575 83 Linux
/dev/hdc4 1148 1223 610470 82 Linux swap
Partition table entries are not in disk order
Disk /dev/hda: 255 heads, 63 sectors, 784 cylinders
Units = cylinders of 16065 * 512 bytes
Device Boot Start End Blocks Id System
/dev/hda1 * 1 784 6297448+ c Win95 FAT32 (LBA)
=========================================================
If I read the fdisk correctly I now have
- /dev/hdc1=5 gig
- /dev/hdc2= 10gig
- /dev/hdc3= 5 gig
- /dev/hdc4= 500mb swap
This what I want
- /dev/hdc1=5 gig
- /dev/hdc2= 5gig
- /dev/hdc3= 5 gig
- /dev/hdc4= 500mb swap
- /dev/hdc5= 5 gig
Can I just delete the /dev/hdc2 and create 2 new partitions out of the space?
Also /dev/hdc is a linux only disk what filesystem should I use? Should I chose linux or linux extended?
Once I have created these partitions do I need to format them?
Would I use mkfs.ext3 or something different?