LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware
User Name
Password
Linux - Hardware This forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?

Notices


Reply
  Search this Thread
Old 07-20-2004, 09:18 AM   #1
Dannydy
LQ Newbie
 
Registered: Jul 2004
Posts: 26

Rep: Reputation: 15
Help Using Fdisk


Hello All,


I'm hoping that you can help me out with a problem that i have. I was trying to use fdisk on my other scsi harddrive when i enter the command

fdisk /dev/sdb1

This appear

bash: fdisk: command not found


Yes i'm in root, so please some one can help me

Dan
 
Old 07-20-2004, 09:24 AM   #2
druuna
LQ Veteran
 
Registered: Sep 2003
Posts: 10,532
Blog Entries: 7

Rep: Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405
fdisk isn't installed, or cannot be found with your PATH setting.

Check to make sure fdisk is installed/ PATH setting is correct.

If not installed:
- install fdisk
 
Old 07-20-2004, 09:26 AM   #3
michaelk
Moderator
 
Registered: Aug 2002
Posts: 25,681

Rep: Reputation: 5894Reputation: 5894Reputation: 5894Reputation: 5894Reputation: 5894Reputation: 5894Reputation: 5894Reputation: 5894Reputation: 5894Reputation: 5894Reputation: 5894
fdisk should be located in the /sbin directory. Try:

/sbin/fdisk /dev/sdb (Do not specify a partition ID)

If you used the su command to log in as root use 'su -' instead. This will use roots path environment instead of the regular users.
 
Old 07-20-2004, 09:26 AM   #4
Dannydy
LQ Newbie
 
Registered: Jul 2004
Posts: 26

Original Poster
Rep: Reputation: 15
how do i install Fdisk or check the path?


DAn
 
  


Reply



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
weird fdisk problem (Fdisk unable to see winxp partitions) khidot Slackware - Installation 5 04-07-2007 09:26 PM
using fdisk jonn Linux - Newbie 2 08-03-2004 03:10 PM
fdisk rogk Linux - General 4 07-24-2004 02:25 PM
Fdisk rstmn957 Slackware 2 12-23-2003 07:15 PM
can't fdisk new hd nmistry Linux - Hardware 4 11-03-2003 10:43 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware

All times are GMT -5. The time now is 11:30 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
Open Source Consulting | Domain Registration