
Nigel Nguyen wrote:
Unix will give you permission denied if you ever try to execute a program but the program is not set executable. Run:
ls -l /sbin/fsck*
and check that they are all executable. As to why any of them may have been set not executable, I have no idea. If you are still having problems, send the output of that command back and we can check that it looks ok.
issue the command: yeah there are executable (a nice greeny, that mean to me executable) but at very first of the lines:
?rwxrwxrwx 9 <bignumber> <bignumber> <filesize> /sbin/fsck
I guess the bignumber is b'coz i am in the rescue-mode right ? But I don't know about ?rwxrwxrwx => what "?" mean then ?
the ? is worrying. That means that fsck is a special file, and ls doesn't know what type of special file it is. fsck shouldn't be a special file, fsck should be a normal regular file. If thats the case then you've had some pretty nasty filesystem corruption. Normally I'd recommend running fsck to repair it but uh, that has issues :) If you're running gentoo on this machine (you were asking about gentoo earlier right?) then you might want to "emerge e2fsprogs" again. This will require the filesystem to be mounted readwrite (mount -o remount,rw /) which might be a bit dangerous. If you have any important files on this machine I'd suggest copying them off first. if you can't get emerge working, then you may have to tinker with debug2fs which is uh, painful.