LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   How do I format a partition (https://www.linuxquestions.org/questions/linux-newbie-8/how-do-i-format-a-partition-101841/)

snatale1 10-08-2003 07:33 PM

How do I format a partition
 
What command do I use to format a partition? I want to eleiminate my second distro and will prob takes it's two parts out and replace with 1.

ToniT 10-08-2003 07:47 PM

What you probably need is fdisk (or cfdisk more user-friendly version) to create and delete partitions.

To make a filesystem (can also called as formatting) in to the partition you can use the command
Code:

mkfs -t type /dev/hdXX
Where XX is a letter of the disk + correct partition and type is the filesystem type (like ext2, ext3 or reiserfs).

Be aware! You can destroy all your data with any of the tools mentioned here if not properly used.

UltimaGuy 10-08-2003 11:02 PM

You can also use "mkfs.fstype /dev/hdXX " to format the partition. I advise you to try reiserfs, as its performance is very good.


All times are GMT -5. The time now is 04:22 AM.