Linux - GeneralThis 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
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.
I made a vfat partition with Partition magic so i can swap files between Linux and Windows. Ive been told to use the fdisk -l command to check my partition table. When I type it in the command line it says command does not exist, and when i type /sbin/fdisk -l it says cannot open dev/hda. Is it meant to be typed in Windows?
Also, I have to use the mount -t vfat /dev/hdaX /mnt/shared command. Will someone plz explain to me what "dev" is? Im pretty sure its device, but what does that mean?
You need to be logged in as root to use the fdisk utility.
/dev is the directory name where the device files are located. Open up Konqueror or some file broswer and go to the top of the directory tree i.e. /. One of the directories will be /dev.
Originally posted by endezeichen
ok heres my problem--
When i log in as root and type fdisk -l It says command fdisk not found. And i am using (L) and logged in as root
That's weird ... it should be in root's path.
Which distro/version are you using?
Did you login as root, or su?
And what happens when you prefix it
with /sbin as root?
Please do not post the same thread in more than one forum. Picking the most relevant forum and posting it once there makes it easier for other members to help you and keeps the discussion all in one place.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.