Enter full pathname of shell or RETURN for /bin/sh problem dont work #fsck

hi my server is crash today
ı dont connect server,ftp,ssh or etc

ı have problem "Enter full pathname of shell or RETURN for /bin/sh problem dont work"
ı write #fsck or fsck-y
have problem 2 "init:cant exec /bin/sh for etc/rc :no such directory"


1zc0lz6.jpg
 
Of note, [cmd=]rescue/sh[/cmd] is different from [cmd=]/rescue/sh[/cmd], I think. I am unable to test this, but perhaps clarification will help for someone else.
 
Maredelamer said:
Of note, [cmd=]rescue/sh[/cmd] is different from [cmd=]/rescue/sh[/cmd], I think. I am unable to test this, but perhaps clarification will help for someone else.

ı tried
[cmd=] /rescue/sh [/cmd]
but problem is not solved
 
Hi,

If you're unable to run /bin/sh or /rescue/sh from single-user mode, then that probably means that the root filesystem is too corrupted to mount and you need a shell to run fsck to repair it.

I would suggest downloading the ISO image for the LiveFS "FixIt" CD, burning that, and booting from it. That should allow use of either /bin/sh or /rescue/sh from the LiveFS CD and run fsck on all of your filesystems.

If all else fails, restore from backup.
 
Back
Top