LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions
User Name
Password
Linux - Distributions This forum is for Distribution specific questions.
Red Hat, Slackware, Debian, Novell, LFS, Mandriva, Ubuntu, Fedora - the list goes on and on...

Notices

Reply
 
LinkBack Search this Thread
Old 04-07-2003, 04:26 PM   #1
devinWhalen
Member
 
Registered: Apr 2003
Location: Toronto, Canada
Distribution: Red Hat, openBSD,Mandrake,freeBSD,SunOS
Posts: 168

Rep: Reputation: 30
fdisk and sfdisk


Hey,

I just recently upgraded from Red Hat 7.3 to Red Hat 8.0 and I am reading the book Red Hat Linux 8 Unleashed. It is a pretty good book but it seems that many of the commands that the authors use are not available! This is very frustrating because I get half-way through an example and the command I have to run is not there.

The two I can't find today are fdisk and sfdisk. Can anyone tell me why they are not there and how to get them and many other commands. I thought all the commands where standard.

One example I ran into is the rpm command with -ab, it doesn't work. So I looked around and found the rpmbuild command. Are there many other commands that have changed or are not installed by default.

Thanks
 
Old 04-07-2003, 04:53 PM   #2
Crashed_Again
Senior Member
 
Registered: Dec 2002
Location: Atlantic City, NJ
Distribution: Ubuntu & Arch
Posts: 3,503

Rep: Reputation: 57
fdisk and sfdisk can only be run as root. Are you root?
 
Old 04-07-2003, 04:57 PM   #3
devinWhalen
Member
 
Registered: Apr 2003
Location: Toronto, Canada
Distribution: Red Hat, openBSD,Mandrake,freeBSD,SunOS
Posts: 168

Original Poster
Rep: Reputation: 30
Yes, I am root. If I type fdisk and hit <TAB> nothing comes up. So fdisk is not there. Do I have to install it? or does it have a new name under Red Hat 8 (which would seem wrong).

Thanks
 
Old 04-07-2003, 07:47 PM   #4
Crashed_Again
Senior Member
 
Registered: Dec 2002
Location: Atlantic City, NJ
Distribution: Ubuntu & Arch
Posts: 3,503

Rep: Reputation: 57
Doesn't have a new name here. Did you try:

fdisk -l

thats a lowercase L.
 
Old 04-07-2003, 08:24 PM   #5
maxspeed
Member
 
Registered: Mar 2003
Posts: 41

Rep: Reputation: 15
maybe you didnt choose to install when you installed rh 8.

type

rpm -qa | grep fdisk

if it doesnt come up is because you dont have it installed, but it is in one of the cd's. Am not sure in which one it is but most likely is on cd 1 or 2.
 
Old 04-08-2003, 11:20 AM   #6
devinWhalen
Member
 
Registered: Apr 2003
Location: Toronto, Canada
Distribution: Red Hat, openBSD,Mandrake,freeBSD,SunOS
Posts: 168

Original Poster
Rep: Reputation: 30
Thanks, I guess I didn't install it. I did the custom install and somehow I must have missed it.

Later
 
  


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
Trackbacks are Off
Pingbacks are On
Refbacks are 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
fdisk, sfdisk, cfdisk: driving me crazy rosslaird Linux - Software 3 02-14-2005 01:21 PM
Which Disk tool to USE? FDISK;CFDISK;SFDISK montyw47 Linux - Newbie 1 07-17-2004 03:21 AM
sfdisk and scripting lockejr Linux - General 0 05-29-2003 01:18 PM
fdisk,cfdisk,sfdisk not in my distro of RH 8.0 personal thehamguy1 Linux - Newbie 5 02-28-2003 12:10 PM


All times are GMT -5. The time now is 08:04 AM.

Main Menu
 
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
identi.ca: @linuxquestions
Facebook: @linuxquestions
Open Source Consulting | Domain Registration