Linux - NewbieThis 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
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
thi command not show nothing in my distro (debian 3.1r1, kernel 2.4)!
that's odd. Did you run as root? if so, did it give you any errors or does it just go back to the command line with no output? Please post any output from 'fdisk -l' if there is any.
note: this is a lowercase 'L' not a 1, my font makes it look like a 1 ...could be the problem.
yeah thought as much. this guy has still not tried to clarify "shows nothing" yet though... path issue or something? maybe he's just not reading it right... i do recall some versions of fdisk require the single /dev entry and only show on a per disk basis. think that was redhat 7.3 i had that on.
I don't know a lot about debian releases but 3.1 seems like a pretty small number for a release, is this an older release or something? It's possible the fdisk you have is an out of date version as kewpie suggested. Try listing the device directly:
Code:
#fdisk -l /dev/hda
#fdisk -l /dev/hdb
still nothing? then try
Code:
#fdisk -h
and see what happens (note: '-h' is actually an invalid option, but will list the usage anyways). It seems strange that a command would run without any output whatsoever as this is not very typical for Linux. It makes me wonder if there are deeper issues at work here. If you get any output at all form the above commands, please post.
You are right. Debian reacts differently to the sudo command than Ubuntu.
I tried "sudo fdisk -l" on my Ubuntu 5.10 Breezy before putting up my last reply. Tried again and it certainly works OK for me. For Debian I have to do a "su" first.
You are right. Debian reacts differently to the sudo command than Ubuntu.
I tried "sudo fdisk -l" on my Ubuntu 5.10 Breezy before putting up my last reply. Tried again and it certainly works OK for me. For Debian I have to do a "su" first.
do you have sudo setup for your debian box? if not then sudo will not work for you.
I don't know a lot about debian releases but 3.1 seems like a pretty small number for a release, is this an older release or something?
Debian Sarge (3.1) is the latest "stable" release of Debian (June 6th, 2005). But Debian is one of the oldest distros around and many distros are based off it.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.