fdisk,cfdisk,sfdisk not in my distro of RH 8.0 personal
Linux - NewbieThis 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
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.
fdisk,cfdisk,sfdisk not in my distro of RH 8.0 personal
Trying to speed up my RH 8.0 installation on my dedicated Linux box, I installed a second hard drive and want to format it with Linux native and swap partitions.
But not only does my installation not include anything called fdisk, cfdisk, or sfdisk, they're not on the 3 installation CD's nor are they available from RHN. Unless they're hidden somehow, or named differently, looks like I need to find a place to download one of the above-named utilities. Advice?
P.S. sorry for the longish post; I'm a garrulous old coot from back in the CP/M days...
I believe fdisk is in the sbin directory - if your logged in as a normal user, or have root privileges by doing a "su root" it won't work when you type the command. Try logging in as root and running the command again, or if that doesn't work do either a "locate fdisk" for a "find / -name fdisk"
Thank you, Q*Bert and Pilot1. Thanks to your help I now see that fdisk is indeed in the /sbin directory, yet even when logged in as root an rpm query (rpm -q fdisk) would bring the response "fdisk is not installed." Evidently I shouldn't trust that response if programs like fdisk are not "packages." I still have a lot to learn...ain't it fun?
To Q*Bert: Yes, I'm a ham radio operator since 1959. Tell your dad you've been in contact with amateur radio station WU0V, in the state of Iowa (that third character is a zero). Maybe he and I can meet on the air someday. Thank you for replying to my call for help.
To Pilot1: I also appreciate your reply, which alerted me again to the importance of logging in as root. Are you a pilot, then?
Minor notes which may also help you in the future.can't find it,can't find it,
$ rpm -qf /sbin/fdisk
util-linux-2.11n-12.7.3
... or fancier (since /sbin is in my path)...
$rpm -qf `which fdisk`
util-linux-2.11n-12.7.3
Note also, if you need a command (or library) and don't know where to look, go to rpmfind, which will, lo and behold, usually *find* the rpm containing that file.
fdisk and cfdisk are used from the terminal just open a terminal su and type cfdisk or fdisk and press enter you should get a listing of your partitions then just setup partitoning the drive from there
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.