LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
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-22-2006, 06:04 PM   #1
Mr.mick-duck
Member
 
Registered: Aug 2004
Location: Saudi Arabia
Distribution: Mandrake
Posts: 60

Rep: Reputation: 15
partition format using the terminal


hi again
i am trying to format a partition using the terminal but i failed to do so ,what's the command needed and how can i used it?
 
Old 09-22-2006, 06:08 PM   #2
pljvaldez
LQ Guru
 
Registered: Dec 2005
Location: Somewhere on the String
Distribution: Debian Wheezy (x86)
Posts: 6,094

Rep: Reputation: 281Reputation: 281Reputation: 281
What type of filesystem do you want? For an ext3 partition, I typically use mkfs -t ext3 /dev/hda2 (of course, change /dev/hda2 to whatever partition you want).

For my home boxes, I typically like to use the GParted LiveCD.
 
Old 09-22-2006, 06:10 PM   #3
Mr.mick-duck
Member
 
Registered: Aug 2004
Location: Saudi Arabia
Distribution: Mandrake
Posts: 60

Original Poster
Rep: Reputation: 15
Fat32 and ntfs....
 
Old 09-22-2006, 06:38 PM   #4
pljvaldez
LQ Guru
 
Registered: Dec 2005
Location: Somewhere on the String
Distribution: Debian Wheezy (x86)
Posts: 6,094

Rep: Reputation: 281Reputation: 281Reputation: 281
I like Gparted Live for those.

I think you can make vfat with mkfs -t vfat /dev/hda2, but I'm not sure you can do NTFS.
 
  


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
Partition or format? flycast Linux - Newbie 2 07-23-2006 11:00 PM
How do I format a partition? rafaelandy Slackware - Installation 13 10-17-2005 01:26 PM
should i format X partition after creat Y partition No2002 Linux - General 3 07-16-2005 10:13 AM
Format a partition ar1 Linux - General 1 01-28-2004 11:05 AM
How do I format a partition snatale1 Linux - Newbie 2 10-08-2003 11:02 PM

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

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

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