LinuxQuestions.org
LinuxAnswers - the LQ Linux tutorial section.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices



Reply
 
Search this Thread
Old 01-17-2006, 03:36 PM   #1
zael
LQ Newbie
 
Registered: Aug 2003
Posts: 26

Rep: Reputation: 15
Fdisk -l dosen't list partitions


When i boot my livecd on a computer using the cciss module. I type fdisk -l at the shell prompt but it doesn't output anything. I thought it would list whatver is in /proc/partitions. If i cat this file the information displays about my disk if i manualy fdisk -l /dev/cciss/c0d0 it will work. Any ideas why fdisk -l doesnt work?

Thanks!
 
Old 01-17-2006, 03:45 PM   #2
haertig
Senior Member
 
Registered: Nov 2004
Distribution: Debian, Ubuntu, LinuxMint, Slackware, SysrescueCD
Posts: 2,032

Rep: Reputation: 309Reputation: 309Reputation: 309Reputation: 309
Quote:
Originally Posted by zael
When i boot my livecd on a computer using the cciss module. I type fdisk -l at the shell prompt but it doesn"'t output anything.
You're running the command as root, right? If you're not root "fdisk -l will do exactly what you describe ... nothing.
 
Old 01-18-2006, 08:39 AM   #3
zael
LQ Newbie
 
Registered: Aug 2003
Posts: 26

Original Poster
Rep: Reputation: 15
I had to update util-linux package. Then everything worked great.
 
  


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


Similar Threads
Thread Thread Starter Forum Replies Last Post
weird fdisk problem (Fdisk unable to see winxp partitions) khidot Slackware - Installation 5 04-07-2007 10:26 PM
freeBSD install - fdisk not showing partitions? a2ps *BSD 2 06-26-2005 12:02 PM
How do you make three partitions using fdisk? inward_eye Linux - Hardware 9 04-20-2004 04:13 PM
RH9 lvm and fdisk forgetting about hdb partitions davel75 Linux - Software 0 10-27-2003 10:59 AM
To show all partitions(without using fdisk -l) arunshivanandan Linux - Newbie 18 08-04-2003 12:03 PM


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