• We’re currently investigating an issue related to the forum theme and styling that is impacting page layout and visual formatting. The problem has been identified, and we are actively working on a resolution. There is no impact to user data or functionality, this is strictly a front-end display issue. We’ll post an update once the fix has been deployed. Thanks for your patience while we get this sorted.

Odd...my Linux distro didn't come with fdisk

DougK62

Diamond Member
This just seems odd to me. I install Red Hat 7.0 a couple of days ago and all is well. I did a default "workstation" installation and then afterwards installed Samba and VNC - I haven't done anything else. Today I decide to add a second hard drive to the box. I type fdisk at my root prompt and it gets bashed. I thought all Linux distros installed fdisk. So assuming that it's just not installed right now, how do I go about getting it? I looked on the installation CD and on the internet and can't find a place to download fdisk. Any suggestions?

 
You need to specify an device when using fdisk.
For example,fdisk /dev/hdb where /dev/hdb is the second HD.
I've never heard of Linux distro without fdisk.
 
All of those are likely, although I would tend to think it would be the way you logged in. Try su - or specifying the path: /sbin/fdisk
 
If you used su to get your root prompt, try "su -" instead, otherwise you'll end up with your own users environment vars, including the path.

If that doesn't work, just try "find / -name fdisk" as root and see what it finds.
 
Thanks sciencewhiz and Sunner. The problem was that I was using "su". I tried "su -" and it works just fine. Thanks 🙂

200 posts! 🙂 (finally eheh)
 
Back
Top