LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 02-27-2010, 06:47 PM   #1
rgannon
LQ Newbie
 
Registered: Feb 2010
Location: PEI
Distribution: Ubuntu
Posts: 7

Rep: Reputation: 0
Question How to format an external hard drive?


I have a 250 GB external hard drive formatted with Windows NTFS file type.
How do I format it to use linux and what file type is best. I'm done with Windows so that is not a concern.
 
Old 02-27-2010, 06:53 PM   #2
reed9
Member
 
Registered: Jan 2009
Location: Boston, MA
Distribution: Arch Linux
Posts: 653

Rep: Reputation: 142Reputation: 142
Use gparted.

http://www.dedoimedo.com/computers/gparted.html

Best is always a relative term. Ext3 and Ext4 are probably the most used.
http://en.wikipedia.org/wiki/Comparison_of_file_systems
 
Old 02-27-2010, 07:04 PM   #3
jschiwal
LQ Guru
 
Registered: Aug 2001
Location: Fargo, ND
Distribution: SuSE AMD64
Posts: 15,733

Rep: Reputation: 670Reputation: 670Reputation: 670Reputation: 670Reputation: 670Reputation: 670
First decide whether you want this drive repartitioned. You can use gparted to repartition and reformat the drive. Or you can use "sudo /sbin/fdisk <device>" to do it from the console. Delete the original partition if you will be repartitioning it. Make sure that the partition isn't mounted first.

After partitioning, you need to create a filesystem on the partitions. I would stay away from reiserfs. I don't know how long it will be around. Ext3 or Ext4 are the defacto filesystems on Linux, and while ext3 isn't as fast as others, may be more robust which is important for an external drive. Ext3 has been around a lot longer than ext4 so it is proven.

On the other hand if you will be using this for large media files, another filesystem may be more suited.

Assuming one partition, ext3, and it's node is /dev/sdb1:
sudo mkfs -t ext3 -m0 /dev/sdb1

The -m0 is an optional option which doesn't reserve some space only for the root user. Since this an external drive, you don't need that spare space.
 
Old 02-27-2010, 07:24 PM   #4
smeezekitty
Senior Member
 
Registered: Sep 2009
Location: Washington U.S.
Distribution: M$ Windows / Debian / Ubuntu / DSL / many others
Posts: 2,330

Rep: Reputation: 227Reputation: 227Reputation: 227
ext3 is probably best.
 
Old 02-28-2010, 08:27 AM   #5
pierre2
Member
 
Registered: May 2009
Location: Perth, AU
Distribution: LinuxMint
Posts: 359
Blog Entries: 8

Rep: Reputation: 83
if you do want to partition the hdd, then try to use a usb2.0 port, as it could take a while.
its the format bit that may take some time, though.

use ext3.
 
  


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 Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] New External Hard Drive -- Cannot format or partition AT ALL lupusarcanus Linux - Software 4 11-06-2009 02:29 AM
unable to format external hard drive allyanncah Linux - Hardware 3 12-25-2008 12:00 PM
I'm trying to format an external USB hard drive... djackson75 Linux - Software 3 08-09-2008 03:26 PM
How do I format and mount an external hard drive? Durham Linux - Hardware 1 12-19-2006 07:05 PM
how to mount a external hard drive in ext3 format? kuertensun Linux - Newbie 12 09-06-2005 07:51 PM


All times are GMT -5. The time now is 06:22 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration