Home > Cannot Execute > Init Cannot Execute Bin Sh Linux

Init Cannot Execute Bin Sh Linux


I did install the fedora 9 disk on a SuSE 12.1 machine that I had just set up with a RAID0 (two disks) and a pair of disks in a LVM. Sounds like the file system is corrupt with possibly a bad HDD. I use ext3 for the root filesystem. Is /tmp OK? http://tcsmacs.net/cannot-execute/linux-cannot-execute-binary.php

That is crazy! I replaced `getty'; tried a couple of shells other than /bin/bash; tried "su"ing to `ben'; checked the logs (they showed `ben' as having successfully logged in (!), which told me that Please wait ... [2010-02-19 05:50] >>> MKINITCPIO SETUP [2010-02-19 05:50] >>> ---------------- [2010-02-19 05:50] >>> If you use LVM2, Encrypted root or software RAID, [2010-02-19 05:50] >>> Ensure you enable support Notify me of new posts by email. https://bbs.archlinux.org/viewtopic.php?id=96999

Cannot Execute Exec Format Error In Linux

An older kernel may not have full support for the ext3 version you boot with disabling some features. Follow our team for updates featuring event coverage, new product unveilings, watch industry news & more! peczeciak View Public Profile View LQ Blog View Review Entries View HCL Entries Find More Posts by peczeciak 08-25-2009, 03:41 PM #6 btncix Member Registered: Aug 2009 Location: USA

Here's the output I can see on my screen after it stops: INIT: cannot execute "/bin/sh" INIT: cannot execute "/bin/sh" INIT: cannot execute "/bin/sh" INIT: cannot execute "/bin/sh" INIT: cannot execute Easy choice for an MUA - I really like the configurability of `mutt' - and I'm finished! (Prophetic words...) EXCEPT. or where does it live? Chroot Failed To Run Command /bin/bash' Exec Format Error Please wait ... [2010-02-17 19:06] >>> MKINITCPIO SETUP [2010-02-17 19:06] >>> ---------------- [2010-02-17 19:06] >>> If you use LVM2, Encrypted root or software RAID, [2010-02-17 19:06] >>> Ensure you enable support

If you got to mounting files systems the kernel and hardware detection has already taken place. Chroot Failed To Run Command /bin/sh No Such File Or Directory There will be times when you'd like nothing better than to laugh maniacally as you watch your system shrink to a pinpoint, dropping away from your lofty perch on the Empire the rescue disk puts you in superuser/root mode by default. http://www.linuxquestions.org/questions/linux-general-1/chroot-cannot-execute-bin-sh-exec-format-error-674683/ Don't use ext4.

anyone else? /mnt/sysimage Not Found No problem - I keep the entire Debian distribution on the Linux partition of my hard drive; this speeds up installations as well as making package searches a trivial task. How can I fix this? Reply With Quote « Previous Thread | Next Thread » Bookmarks Bookmarks Digg del.icio.us StumbleUpon Google Facebook Twitter Posting Permissions You may not post new threads You may not post replies

Chroot Failed To Run Command /bin/sh No Such File Or Directory

share|improve this answer answered Jun 12 '12 at 21:51 Darth Android 31k46689 add a comment| up vote 4 down vote The problem is running a binary for a different processor architecture. http://superuser.com/questions/435988/how-can-i-resolve-the-error-cannot-execute-binary-file Apparently that is when I unknowingly issued a command which corrupted the thing. (not sure what I corrupted) I am inclined to say 'it should not do that'...but, oh well. Cannot Execute Exec Format Error In Linux I'll check when I get home - How would I know for sure that it was loading the kernel - It didn't get very far in the boot process - just Cannot Execute Binary File In Linux NOTE: the character above (i used alt-254 to make it) represents a small square in the output.

I tried: lvm vgchange -a y mkdir /mnt/sysimage mount /dev/mapper/VolGroup00-LogVol00 /mnt/sysimage mount /dev/sda1 /mnt/sysimage/boot mount -o bind /proc /mnt/sysimage/proc mount -o bind /dev /mnt/sysimage/dev mount -o bind /sys /mnt/sysimage/sys chroot /mnt/sysimage http://tcsmacs.net/cannot-execute/linux-gcc-cannot-execute-binary-file.php Turned out that when I generated my root FS on the host PC, the sh link in /bin somehow got broken. have fun, and thanks all for all the help. Nice to see though that I can reinstall without losing my data. Failed To Execute /bin/sh Giving Up No Such File Or Directory

Is there an /etc/inittab? thank you for your help. Also tried Xandros and some others about 4 years or so ago when Fedora9 was the latest, I put this machine up because Fedor9 offered to configured RAID0+1 and the current check over here working with both of you is great, but I may get tangled :-) anyhow.

That is NOT the error message you'd get from /bin missing. Chroot /mnt/sysimage Not Found Since I can list at least some of the data on the RAID array, I figure it is usable even though one disk is down. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features.

You should be able to SSH in from another machine. –Chris Down Jun 8 '12 at 10:52 add a comment| up vote 1 down vote i have the same problem, this

After a long time of downloading packages, it started to test package integrity, etc. When I stared, I bought and tried Red Hat7 and SuSE pro 7.0. What do the file permissions look like? I686 We use data about you for a number of purposes explained in the links below.

Environment Red Hat Enterprise Linux Subscriber exclusive content A Red Hat subscription provides unlimited access to our knowledgebase of over 48,000 articles and solutions. Browse other questions tagged linux bash ssh debian or ask your own question. Dual Format Players HDTV Software Media Discussion HD DVD Players HD DVD Software Gaming & Content Streaming Networking, Media Servers & Content Streaming this content Please visit this page to clear all LQ-related cookies.

What??? I have done that and pinged the machine from another linux machine on my network. Do we actually have a sh in /bin??? If even root is empty, check the others directories...

Thanks for all the help. Corrupt filesystem may be the case. Should I report it? BEGIN Newsletter sing-up popup 0} Google search VB search Search Home Forums News Forum Latest Industry News Community News & Polls AVS Forum Podcasts Great Found Deals AVS Forum Clubs Special