init: Unable to execute "/bin/sh" for rcS: No such file or directory
Greetings! Working with Fedora9. not sure how corruption occured, but on boot, after mounting file system and getting notice that /dev/md0 (RAID10) has started with 3 of 4 drives, I get this: init: Unable to execute "/bin/sh" for rcS: No such file or directory a couple more lines and it stops with with the Kernel alive message. I found that this might be caused by a faulty initrd (missing /bin/sh) so, I started the rescue system and did this to see: mkdir /tmp/xxx cd /tmp/xxx gunzip </mnt/sysimage/boot/initrd-2.6.25-14.fc9.x86_64.img | cpio -iv ls -l ./bin and, I found the /bin/sh is indeed in the initrd image. just before the trouble began, I issued a mount command in order to mount a NFS, but the command failed since I had not set up the nfs server on the other machine. After setting it up and issuing the command again, I got the Unable to execute "/bin/sh" ... message (first time I had ever seen that). Figured I'd reboot, but got the same message from the shutdown command, so used the GUI to logout and then still could not shutdown (or log back in), so finally pulled the plug! my bad! Now, the full boot message is: Red Hat nash version 6/0/52 starting drivers/hid/usbhid/hid-core.c: couldn't find an input inturrupt endpoint mdadm: /dev/md0 has been started with 3 drives (out of 4). init: Unable to execute "/bin/sh" for rcS: No such file or directory init: rcS main process (527) terminated with status 255 init: Unable to execute "/bin/sh" for rcS: No such file or directory init: rcS post-stop process (528) terminated with status 255 Kernal alive Anyone have any ideas on how to save this puppy. Got about a TB of media files on this thing I can get network access but do not see how to get the files off in this condition. Thanks for any ideas. Have fun, paxton |
No comments:
Post a Comment