LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
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, 04: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, 04:24 PM   #2
jailbait
LQ Guru
 
Registered: Feb 2003
Location: Virginia, USA
Distribution: Debian 12
Posts: 8,337

Rep: Reputation: 548Reputation: 548Reputation: 548Reputation: 548Reputation: 548Reputation: 548
"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 07:00 PM.
 
Old 09-16-2003, 04: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



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 07:53 PM
Formatting linux partition in RAID configuration triley Linux - General 2 09-08-2005 10:41 AM
help with partition formatting and reisferFS debloxie Linux - Newbie 11 05-11-2004 10:24 AM
Formatting a FAT32 partition... SamH Linux - General 3 12-23-2003 10:51 AM
Slackware 9.1 partition/Formatting deceasedcomrade Slackware 10 11-16-2003 06:46 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 11:50 AM.

Main Menu
Advertisement
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
Open Source Consulting | Domain Registration