Register a domain and help support LQ
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
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!


  Search this Thread
Old 01-10-2003, 12:57 AM   #1
LQ Newbie
Registered: Nov 2002
Location: edmonton
Distribution: red hat, mandrake
Posts: 4

Rep: Reputation: 0
Question formatting HDD

How do I check Hard Drive capacity, partition and format drives in Linux?
Old 01-10-2003, 01:06 AM   #2
LQ Guru
Registered: Mar 2002
Location: Salt Lake City, UT - USA
Distribution: Gentoo ; LFS ; Kubuntu
Posts: 12,612

Rep: Reputation: 64
Check HD capacity:
df -h (or I think fdisk -s /dev/hdX?) Although that only applies to mounted partitions/hd's

Check a partition:
fdisk -l

mke2fs -j /dev/hdX

Those are generic and not all inclusive, if you have a more in depth question about them, I'd be happy to elaborate.



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
Partioning and formatting HDD Hikito Linux - Newbie 4 09-11-2004 03:35 PM
Formatting Linux HDD alex101 Mandriva 1 04-25-2004 11:02 AM
Formatting 200GB HDD Problem Phantisy Linux - General 14 03-28-2004 08:12 AM
Formatting a Laptop HDD Haggy Linux - Laptop and Netbook 2 01-01-2004 02:02 AM
Help for formatting external hdd !! sudhir Linux - Hardware 4 12-11-2003 11:30 PM

All times are GMT -5. The time now is 10:33 AM.

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