Linux - Distributions This forum is for Distribution specific questions.
Red Hat, Slackware, Debian, Novell, LFS, Mandriva, Ubuntu, Fedora - the list goes on and on...
Note: An (*) indicates there is no official participation from that distribution here at LQ. |
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.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
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.
|
 |
04-07-2003, 04:26 PM
|
#1
|
Member
Registered: Apr 2003
Location: Toronto, Canada
Distribution: Red Hat, openBSD,Mandrake,freeBSD,SunOS
Posts: 168
Rep:
|
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
|
|
|
04-07-2003, 04:53 PM
|
#2
|
Senior Member
Registered: Dec 2002
Location: Atlantic City, NJ
Distribution: Ubuntu & Arch
Posts: 3,503
Rep:
|
fdisk and sfdisk can only be run as root. Are you root?
|
|
|
04-07-2003, 04:57 PM
|
#3
|
Member
Registered: Apr 2003
Location: Toronto, Canada
Distribution: Red Hat, openBSD,Mandrake,freeBSD,SunOS
Posts: 168
Original Poster
Rep:
|
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
|
|
|
04-07-2003, 07:47 PM
|
#4
|
Senior Member
Registered: Dec 2002
Location: Atlantic City, NJ
Distribution: Ubuntu & Arch
Posts: 3,503
Rep:
|
Doesn't have a new name here. Did you try:
fdisk -l
thats a lowercase L.
|
|
|
04-07-2003, 08:24 PM
|
#5
|
Member
Registered: Mar 2003
Posts: 41
Rep:
|
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.
|
|
|
04-08-2003, 11:20 AM
|
#6
|
Member
Registered: Apr 2003
Location: Toronto, Canada
Distribution: Red Hat, openBSD,Mandrake,freeBSD,SunOS
Posts: 168
Original Poster
Rep:
|
Thanks, I guess I didn't install it. I did the custom install and somehow I must have missed it.
Later
|
|
|
All times are GMT -5. The time now is 01:25 AM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|