Command not found
When I try to use mke2fs command I am told, "Command not found." However, if I search the man pages (man mke2fs) I see an explanation of it.
Is there something I need to do to "activate" commands that are "not found?" I have researched this, but have nothing so far. I am running RH8. Thank you in advance. |
You need to be root to run mke2fs. So type 'su', enter root password and you can use mke2fs.
|
I did do it as root. It doesn't matter. Same thing.
|
have you tried "locate"? Type "updatedb" then "locate mke2fs" It should be under /sbin. So you can run it as root by typing "./sbin/mke2fs" or switching to /sbin and typing "./mke2fs"
|
If you're in an X session when you su, it won't work. Try opening another another console (Alt-F2), login as root and then run the command from there.
|
Ubien (et al) thank you. I was able to run the command ./mke2fs /dev/fd0 from within sbin. (I'll have to remember that)
Unfortunately, the command has not helped me trouble shoot my floppy access problem as suggested by another linux friend. It just sits there--the command that is. I'll return to the hardware forum to pursue this further. Thank you again and happy new year! Thomas |
/sbin is not in the Red Hat path by default... I learned that after many hours of hitting my head against the keyboard.
|
LOL! Good Knight, you should see my forehead!
I built this machine a couple of weeks ago and have not been able to run BIOS update from motherboard website due to the floppy not being accessible. But like I tell my kids... perseverance builds character! |
Quote:
|
Quote:
|
If you can't find mke2fs, why not just use mkfs? Works the same and will let you format more than ext2.
|
Please consider this matter closed. I thank you all and am very embarrassed to confess that the damned floppy drive had no power to it.
Sorry to all, but thank just the same. I did learn some things about commands being found in different files. Happy new year and sincere regards, Thomas |
I got a good hardy laugh from that!
I had the same problem with my cd writer i was going nuts and finally i looked inside the case and whammo no power! You are not the only one! commuter :) |
commuter,
That makes me feel a whole lot better. Thanks, buddy. I needed that. (putting the revolver away now.) |
LOL. Don't worry, it happens to all of us. ;) I once disconnected the ide ribbon from the controller without realizing it, I was going nuts. hehe
|
All times are GMT -5. The time now is 06:30 AM. |