LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (http://www.linuxquestions.org/questions/linux-software-2/)
-   -   partitioning (http://www.linuxquestions.org/questions/linux-software-2/partitioning-54244/)

PlatinumRik 04-09-2003 03:00 PM

partitioning
 
I have partioned my hard drive, but have not used it all. I want to expand it and format the rest of the unused space. How may I accomplish this?

MasterC 04-09-2003 03:02 PM

Expand it how? Assuming you mean you want to create a filesystem on your unused partitions, then...

As root:
fdisk -l (FDISK -L lowercase)
Find the partition that is not formatted then;
mke2fs -j /dev/hdx
where /dev/hdx is the partition needing formatting.

If you mean you want to merge the unused space into an existing partition, you should check out parted at www.freshmeat.net

Cool

PlatinumRik 04-09-2003 07:13 PM

how can i format the partion if it hasn't been made yet?? the remainder of my hd is unpartioned.

footfrisbee 04-10-2003 12:57 AM

That's what you use fdisk (or cfdisk for a nice interface) for. It establishes the partition. mke2fs establishes the filesystem.

nakkaya 04-10-2003 11:57 AM

if you want to create a disk use fdisk and mkfs.ext3 to create a ext3 file system to resize the disk you can use partion magic and gnu parted

Mara 04-10-2003 03:13 PM

Or insert your RedHat cd in and do it graphically (from the installation program).

windoze killa 04-10-2003 07:11 PM

Quote:

Originally posted by nakkaya
if you want to create a disk use fdisk and mkfs.ext3 to create a ext3 file system to resize the disk you can use partion magic and gnu parted
These are the ones I would use too. Partition magic is the nicest and easiest but gnu parted worked flawlessly once I worked out what I was doing. Make sure you read the docs FULLY. Becomes very easy after that.


All times are GMT -5. The time now is 11:17 PM.