LinuxQuestions.org
Support LQ: Use code LQ3 and save $3 on Domain Registration
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This 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


Reply
  Search this Thread
Old 11-19-2003, 02:32 PM   #1
thefetus
Member
 
Registered: Nov 2003
Posts: 51

Rep: Reputation: 15
fdisk command


when i do

fdisk -l

"bash: fdisk: command not found" is the message i get. I've read up on mounting and looked around, and it always tells me to run an fdisk command, yet my terminal is telling me its not a proper command.

I successfully ran man fdisk and i really didnt understand anything the fdisk manual stated.

Any ideas?


(http://linux-ntfs.sourceforge.net/r...ions.html#mount)
 
Old 11-19-2003, 02:37 PM   #2
trickykid
LQ Guru
 
Registered: Jan 2001
Posts: 24,149

Rep: Reputation: 234Reputation: 234Reputation: 234
Its not in your path:

/sbin/fdisk

If your logged in as root and its not working, you'll need to add the /sbin directory to your path and so on.
 
Old 11-19-2003, 02:42 PM   #3
thefetus
Member
 
Registered: Nov 2003
Posts: 51

Original Poster
Rep: Reputation: 15
ah ok

Last edited by thefetus; 11-19-2003 at 02:46 PM.
 
Old 11-19-2003, 02:47 PM   #4
trickykid
LQ Guru
 
Registered: Jan 2001
Posts: 24,149

Rep: Reputation: 234Reputation: 234Reputation: 234
Quote:
Originally posted by thefetus
im confused, how do i add it to my path?
If you want it to always be in your path, either edit your ~/.bashrc in your users home directory or edit the global file which is or can be /etc/profile
 
Old 11-19-2003, 02:49 PM   #5
thefetus
Member
 
Registered: Nov 2003
Posts: 51

Original Poster
Rep: Reputation: 15
Directions I followed:

Create a directory in which the Windows partition will be mounted by typing the following command. For example:

mkdir /mnt/windows

Before you can access the partition, you will need to mount it in the directory you just created. As root, type the following command at a shell prompt (where /dev/hda1 is the Windows partition you found via Hardware Browser):

mount -t vfat /dev/hda1 /mnt/windows

----
Result:

mount: wrong fs type, bad option, bad superblock on /dev/hdb1,
or too many mounted file systems
---
AHHH!
 
Old 11-19-2003, 03:15 PM   #6
trickykid
LQ Guru
 
Registered: Jan 2001
Posts: 24,149

Rep: Reputation: 234Reputation: 234Reputation: 234
Quote:
Originally posted by thefetus
Directions I followed:

Create a directory in which the Windows partition will be mounted by typing the following command. For example:

mkdir /mnt/windows

Before you can access the partition, you will need to mount it in the directory you just created. As root, type the following command at a shell prompt (where /dev/hda1 is the Windows partition you found via Hardware Browser):

mount -t vfat /dev/hda1 /mnt/windows

----
Result:

mount: wrong fs type, bad option, bad superblock on /dev/hdb1,
or too many mounted file systems
---
AHHH!
You just asked this in a new thread where it actually belongs as it has nothing to do with your fdisk command. Please do not double post.

Regards.
 
  


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



Similar Threads
Thread Thread Starter Forum Replies Last Post
Problem using command fdisk -l ? AkshatBhandari Linux - Newbie 2 03-17-2005 01:36 PM
fdisk command - can't get it to work!! sknarf Linux - Software 4 06-23-2004 02:59 AM
fdisk command not found ryancherry Fedora 2 06-12-2004 07:56 PM
fdisk command not found? tiang_ono Linux - Newbie 7 05-17-2004 11:48 PM
fdisk not a command? toob Linux - Newbie 11 04-26-2003 11:56 PM


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