LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
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 12-04-2007, 09:43 AM   #1
saidul
LQ Newbie
 
Registered: Nov 2007
Posts: 12

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


hi,

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.

saidul
 
Old 12-04-2007, 10:56 AM   #2
MasterC
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.

-Chad
 
Old 12-04-2007, 04:02 PM   #3
pixellany
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.
 
  


Reply

Tags
from



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

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 12:54 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