Super User is a question and answer site for computer enthusiasts and power users. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I need to see how my disk is partitioned and I remeber that I have to use the command

fdisk -l

but in Debian wheezy is not installed. I installed


but nothing change.

How can I resolve? Are there other programs could help me in the same way?

share|improve this question
Ok I installed fdisk with live cd. Probably there were some issue on my installation version. But are there other programs to see how the disk is partitioned? – Kyrol Dec 3 '11 at 13:32
if you're using a livecd, probably gparted/qtparted/parted. – Journeyman Geek Dec 3 '11 at 13:41
up vote 6 down vote accepted

Are you doing this as a regular user or as root? Try it as root if you're doing it as a regular user. Else, use the command which fdisk and use the path it gives

share|improve this answer
Yes. now it works. Do you know other programs or command to do the same thing? – Kyrol Dec 3 '11 at 13:34
offhand, anything thats in your root user's path but not in that user's path. anything thats in the directories listed when you run echo $PATH should run without the full path. Else, you would need the full path and appropriate permissions to run it. Also, just curious, if it works, what else would this answer need to be the right one? Just wondering if i missed something – Journeyman Geek Dec 3 '11 at 13:40
you're right... :) – Kyrol Dec 3 '11 at 14:15
This is one difference between Debian/Ubuntu. Out of the box I believe Ubuntu adds /usr/bin path to all users. On Debian it only adds that path for the root user. – Nathan Adams Dec 1 '12 at 22:31
I have debian wheezy ppc. No fdisk available but /sbin/mac-fdisk". – rudimeier May 30 '14 at 3:52

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .