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... |
Welcome to LQ.org thehamguy1! (Can I assume you're a ham radio enthusiast? So's my dad!)
there's an easy way to check. whereis fdisk which will probably tell you it's in the sbin directory. |
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. Have fun. |
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
|
All times are GMT -5. The time now is 06:02 AM. |