LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
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.

Notices

Reply
 
Search this Thread
Old 09-16-2003, 05:12 PM   #1
thebear
Member
 
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
jailbait
Guru
 
Registered: Feb 2003
Location: Blue Ridge Mountain
Distribution: Debian Wheezy, Debian Jessie
Posts: 7,579

Rep: Reputation: 187Reputation: 187
"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

see:
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
Zoombie
Member
 
Registered: Jul 2003
Distribution: Debian Testing
Posts: 180

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


Reply


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 10:13 AM.

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