Help answer threads with 0 replies.
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 12-04-2007, 09:43 AM   #1
LQ Newbie
Registered: Nov 2007
Posts: 12

Rep: Reputation: 0
Need to know the command which shows all non-partitioned & partitioned hard drive


i am just a tyro. plz answer my question which i asked as my subject line.when i use the command fdisk -l it just shows the partitioned drive. but i want to see the all drive irrespective of partitioned and non partitioned.

Old 12-04-2007, 10:56 AM   #2
LQ Guru
Registered: Mar 2002
Location: Salt Lake City, UT - USA
Distribution: Gentoo ; LFS ; Kubuntu ; CentOS ; Raspbian
Posts: 12,613

Rep: Reputation: 69
fdisk -l should show both, check your distro's alias commands to make sure it's not hiding them.

Old 12-04-2007, 04:02 PM   #3
LQ Veteran
Registered: Nov 2005
Location: Annapolis, MD
Distribution: Mint
Posts: 17,809

Rep: Reputation: 743Reputation: 743Reputation: 743Reputation: 743Reputation: 743Reputation: 743Reputation: 743
fdisk gives you the total size of the drive, and the parameters for each partition. You have to calculate the remaining space. GUI tools such as GParted do the math for you.

Don't know what you mean by "see all the drive"--in the unpartitioned areas, there's nothing to see.

If you want to see everything on the drive--byte by byte---you can use dd + hexdump.



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
My partitioned hard drive-how to get more use out of it lrecine Linux - Desktop 2 09-08-2006 07:17 AM
LiveCD and Partitioned Drive sam5550 Ubuntu 5 05-04-2006 10:41 PM
mounting NTFS/fat32 partitioned hard drive (win2k) /when fedora4 runs on seperate HD bowie101 Linux - Newbie 25 12-15-2005 12:13 PM
mounting NTFS/fat32 partitioned hard drive (win2k) /when fedora4 runs on seperate HD bowie101 Linux - Hardware 4 12-14-2005 03:42 PM
Hard drive partitioned and cannot view files Johnny2003 Linux - Newbie 4 01-20-2004 07:22 PM > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 10:14 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
Open Source Consulting | Domain Registration