LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux > Linux - Newbie
User Name
Password
Linux - Newbie This 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

Tags used in this thread
Popular LQ Tags , ,

Reply
 
Thread Tools
Old 12-04-2007, 10:43 AM   #1
saidul
LQ Newbie
 
Registered: Nov 2007
Posts: 12
Thanked: 0
Need to know the command which shows all non-partitioned & partitioned hard drive


[Log in to get rid of this advertisement]
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
saidul is offline  
Tag This Post , ,
Reply With Quote
Old 12-04-2007, 11:56 AM   #2
MasterC
Moderator
 
Registered: Mar 2002
Location: Salt Lake City, UT - USA
Distribution: Gentoo ; LFS ; Kubuntu
Posts: 12,611
Thanked: 5
fdisk -l should show both, check your distro's alias commands to make sure it's not hiding them.

-Chad
MasterC is offline     Reply With Quote
Old 12-04-2007, 05:02 PM   #3
pixellany
Moderator
 
Registered: Nov 2005
Location: Pasadena, CA
Distribution: Arch
Posts: 13,130
Thanked: 281
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.
pixellany is offline     Reply With Quote

Reply

Bookmarks


Thread Tools

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 08:17 AM
LiveCD and Partitioned Drive sam5550 Ubuntu 5 05-04-2006 11:41 PM
mounting NTFS/fat32 partitioned hard drive (win2k) /when fedora4 runs on seperate HD bowie101 Linux - Newbie 25 12-15-2005 01:13 PM
mounting NTFS/fat32 partitioned hard drive (win2k) /when fedora4 runs on seperate HD bowie101 Linux - Hardware 4 12-14-2005 04:42 PM
Hard drive partitioned and cannot view files Johnny2003 Linux - Newbie 4 01-20-2004 08:22 PM


All times are GMT -5. The time now is 06:38 AM.

Main Menu
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
RSS2  LQ Podcast
RSS2  LQ Radio
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: @linuxquestions
Open Source Consulting | Domain Registration