Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

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

gnu-fdisk

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

1 Answer 1

up vote 2 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
1  
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
2  
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 at 3:52

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.