View the Most Wanted LQ Wiki articles.
Go Back > Forums > Linux Forums > Linux - General
User Name
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.


  Search this Thread
Old 09-16-2003, 05:12 PM   #1
Registered: Mar 2003
Distribution: RedHat 9
Posts: 52

Rep: Reputation: 15
Formatting A Linux Partition

How exactly do I go about formatting a linux partition?
Old 09-16-2003, 05:24 PM   #2
LQ Guru
Registered: Feb 2003
Location: Blue Ridge Mountain
Distribution: Debian Wheezy, Debian Jessie
Posts: 7,670

Rep: Reputation: 229Reputation: 229Reputation: 229
"How exactly do I go about formatting a linux partition?"

A partition may not be mounted when you format it so the first thing to do is umount the partition. For example if the partition is /dev/hda3 mounted on /winc then:
umount /winc

Then decide what file system you want to use. If you are not sure then I suggest that you use ext2.

Then format the partition:
mke2fs /dev/hda3

man umount
man mkfs
man mke2fs
man fstab

Last edited by jailbait; 09-16-2003 at 08:00 PM.
Old 09-16-2003, 05:26 PM   #3
Registered: Jul 2003
Distribution: Debian Testing
Posts: 180

Rep: Reputation: 30
I'm not sure, but you can see
man mkfs
for information.


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
formatting very big fat32 partition with Linux Xavius Linux - General 6 10-08-2005 08:53 PM
Formatting linux partition in RAID configuration triley Linux - General 2 09-08-2005 11:41 AM
help with partition formatting and reisferFS debloxie Linux - Newbie 11 05-11-2004 11:24 AM
Formatting a FAT32 partition... SamH Linux - General 3 12-23-2003 11:51 AM
Slackware 9.1 partition/Formatting deceasedcomrade Slackware 10 11-16-2003 07:46 PM

All times are GMT -5. The time now is 03:25 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration