LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Help with disk partitions (https://www.linuxquestions.org/questions/linux-newbie-8/help-with-disk-partitions-242681/)

gagda1 10-14-2004 03:13 PM

Help with disk partitions
 
Hello,
I'm running FC2. When I installed Linux I figured to used 50GB out of my 80GB disk for Linux and keep the remaining 30GB as FAT32 for ghost image. I don't think I ever created that FAT32 partition however. Now, I would like to reclaim this 30GB for Linux. I just don't know what to do. KDiskFree doesn't see the 30GB. There is only :
/dev/cdrom/
/dev/fd0/
/dev/hda1 size: 98.7MB
/dev/hda2 size: 49.0GB

When I run fdisk -l, I'm getting the following:

Disk /dev/hda: 81.9 GB, 81964302336 bytes
255 heads, 63 sectors/track, 9964 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes

Device Boot Start End Blocks Id System
/dev/hda1 * 1 13 104391 83 Linux
/dev/hda2 14 6514 52219282+ 83 Linux
/dev/hda3 6515 6628 915705 82 Linux swap

Any help please!

Thanks.
David.

detpenguin 10-14-2004 03:20 PM

if you had created the FAT32 partition, it would show up with fdisk...
using fdisk, just try creating a new partition by typing n and see if it tells you there is no more space. otherwise it will guide you through...

michaelk 10-14-2004 03:32 PM

Your correct you never did create a FAT32 paritition. The 30GB at the moment is just unallocated space. You can either use fdisk or cfdisk to create a partition and then format it with the filesystem of you choice.

If you think you might want more then one partition, create a 30GB extended partition and then you can create any number of logical partitions.

gagda1 10-14-2004 08:05 PM

Thank you very much now my new partition is created "/dev/hda4". fdisk gives:
Disk /dev/hda: 81.9 GB, 81964302336 bytes
255 heads, 63 sectors/track, 9964 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes

Device Boot Start End Blocks Id System
/dev/hda1 * 1 13 104391 83 Linux
/dev/hda2 14 6514 52219282+ 83 Linux
/dev/hda3 6515 6628 915705 82 Linux swap
/dev/hda4 6629 9964 26796420 5 Extended

Now, I want to format my hda4 partition. How? Sorry, I look stupid but I don't want to take the change to try something by myself and loose my existing stuff...

Of course, once formatted, I want to mount it at boot time. Again, I would be glad if you could tell me how.

Linux world is pretty hard but fortunately there is a very friendly and resourcefull community!

Thanks,
David.


All times are GMT -5. The time now is 09:06 AM.