Home > Failed To > Unable To Execute /usr/sbin/chroot Input/output Error

Unable To Execute /usr/sbin/chroot Input/output Error


I am hoping to salvage the TB of data on the RAID 10 array. According to that you would just run: grub-install /dev/sda1 to install Grub 2 on the first partition. up vote 3 down vote favorite I'm getting this error message whathever I do: $ sudo reboot bash: /usr/bin/sudo: Input/output error $ reboot bash: /sbin/reboot: Input/output error It's a hardware failure Can I get this to happen with other programs?

How can we trace de problem back? For example, verify you are not using a 32bit CD instead of a 64bit CD. jpaxtons10th December 2011, 09:57 PMHI, OK, did ls -l * | less so I could see and it lists: -rw------- 1 root root 1734 2000-05-23 04:22 anaconda-ks.cfg ...similar for install.log 39128 If you have good backup its safe to reboot.If your system was hacked there are chances they might messed up your file and system would not work after reboot. https://ubuntuforums.org/showthread.php?t=1522847

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

That doesn't work because GRUB refuses to install bootloader on the beginning of the partition. The second paragraph reports that issue appears since 2005. Yes, I did: ln -s /bin/bash /bin/sh and the reply was: creating symbolic link '/bin/sh' : File exists so I assumed it created it but there was already one there.

  • Do you have a line that reads "/bin/sh" (minus quotes, of course)?
  • I am reporting only exactly what the output displays.
  • grub-setup: info: the size of hd0 is 156301488. . . .
  • grub-setup: info: the size of hd0 is 156301488.
  • A 'cd' does not change your '/' so you tested the tools on the live-cd.
  • How do I get through?
  • You are using a 32bit kernel and /bin/sh is 64bit.
  • On an installed Fedora system it's in /usr/sbin, bur the rescue disk may keep it somewhere else.

Have fun, Paxton Gareth Jones10th December 2011, 12:55 AMls -l /mnt/sysimage/bin/*sh file /mnt/sysimage/bin/*sh output: File: error while loading shared libraries: libmagic.so.1: cannot open shared object file: so such file or directory. Code: #: util/i386/pc/grub-setup.c:258 #, c-format msgid "" "%s appears to contain a %s filesystem which isn't known to reserve space for " "DOS-style boot. Every once in a while someone "bumps" the bug and confirms that it's still present, but it hasn't yet been addressed or even assigned. Chroot Failed To Run Command /bin/bash' Permission Denied menuentry "Slackware Linux" { set root=(hd0,2) linux /boot/vmlinuz-generic-smp- root=/dev/sda2 ro vga=791 initrd /boot/initrd.gz } /boot/grub/grub.cfg: Code: # # DO NOT EDIT THIS FILE # # It is automatically generated by /usr/sbin/grub-mkconfig

While configuring nfs client, I edited fstab and then used the mount command it properly returned an error since I did not have the nfs server completly set up on another Chroot Failed To Run Command /bin/bash Exec Format Error Every assistance will be appreciated. I have fscked the partition - it passed without issue, and I can mount the partition successfully too. You don't have a grub.cfg created.

Grub2 has some advantages, but you're not the only one to have troubles getting it to go anywhere except the MBR. Chroot Failed To Run Command /usr/bin/zsh Offline #2 2011-12-23 12:29:59 ls6678 Member Registered: 2009-02-17 Posts: 34 Re: kernel panic input/output error I have the exact same problem. On the first partition I installed Mint. I can also directly run /bin/bash on the ISO (so running /mnt/bin/bash) and it works without any errors.

Chroot Failed To Run Command /bin/bash Exec Format Error

grub-setup: info: reading /boot/grub/boot.img. http://superuser.com/questions/225788/ubuntu-input-output-error Join them; it only takes a minute: Sign up Here's how it works: Anybody can ask a question Anybody can answer The best answers are voted up and rise to the Chroot Failed To Run Command /bin/sh No Such File Or Directory Contact Us | Privacy | Terms of Service FedoraForum.org > Fedora 24/25 > Using Fedora > Unable to execute "/bin/sh" PDA View Full Version : Unable to execute "/bin/sh" jpaxtons8th Chroot Failed To Run Command Bin Zsh No Such File Or Directory Notices Welcome to LinuxQuestions.org, a friendly and active Linux Community.

Skull One10th December 2011, 08:45 PMUse the commands 'ls -l' and 'file' to determine the size and type of those garbage. grub-setup: info: attempting to read the core image `/boot/grub/core.img' from GRUB. One option would be use smarttools. The time now is 08:52 PM. Chroot Can't Execute /bin/sh

What is the determinant? So let's have a look at the disk, does dmesg give any suspicious output when mounting (try mounting with verbose switch "-v") your root partition?dmesg |grep sdXRun e2fschk on the unmounted Found Debian background: linuxmint.png Found linux image: /boot/vmlinuz-2.6.32-21-generic Found initrd image: /boot/initrd.img-2.6.32-21-generic Found memtest86+ image: /boot/memtest86+.bin Cannot find list of partitions! grub-setup: info: opening the device hd0.

Interestingly: init 0 Segmentation fault I can cat /var/syslog but not /var/log/messages or several other important files. Chroot: Failed To Run Command 'rpm': No Such File Or Directory Find More Posts by w1k0 10-27-2010, 12:01 PM #2 yancek LQ Guru Registered: Apr 2008 Distribution: PCLinux, Slackware Posts: 6,880 Rep: Look at the tutorial link below, Section 4.G, w1k0 View Public Profile View LQ Blog View Review Entries View HCL Entries Visit w1k0's homepage!

You need to leave off the leading "/" to make the file name relative to the working directory. ---------- Post added at 06:09 PM ---------- Previous post was at 06:07 PM

First question: does that message informs about some serious problem? i.e. Here is a new clue. Chroot Cannot Change Root Directory To No Such File Or Directory No /bin???

No error reported. I'm afraid the result will be the same. Searching Internet I found mentioned above GRUB problem a few times - always in the context of ReiserFS. sudo cp /usr/bin/qemu-arm-static /mnt/chroot/usr/bin share|improve this answer edited Nov 30 at 11:04 zx485 28919 answered Nov 30 at 10:31 Ismail Moukafih 1 add a comment| up vote -1 down vote I

but few seconds later th computer freezes, with blinking A led (i think A means Alert but im not sure). I'm running out of ideas. You can also try fsck but it really dont fix most time if it bad block issue. Booting the kernel.

The problem with copying out the files on the RAID array is that even though it does mount, where do I copy the files? bash chroot share|improve this question edited Nov 21 '10 at 11:34 Agmenor 6,10294392 asked Nov 21 '10 at 11:29 Grand Oxymore 3591510 add a comment| 6 Answers 6 active oldest votes A Page of Puzzling Censure due to holding an Army commission and a seat in Congress How can I keep the computers on my spaceship from temperature related death after a Simply type the # menu entries you want to add after this comment.

Aperture pointing to e820 RAM Ignoring. Obviously, the 'internals' not my strong suite. Just power it off. Next immediate action would be take backup of your system.

I can't remember whether Lilo will go into the superblock, but Grub 1 certainly will. Two brothers, two watches Does anybody know which plant (or tree) is this? Whether you have grub installed into your ubuntu partition is another matter. share|improve this answer answered Dec 26 '10 at 8:29 bahamat 4,23011323 1 The weird thing though is that when I was able to physically reboot the machine and did so,

we agree you are looking at /mnt/sysimage/root? grub-setup: warn: Embedding is not possible. If you'd like to contribute content, let us know. Can I jump start one car with two other cars in parallel?

Second question: how can I pass the list of partitions on to GRUB? Make sure that notail ends up in your new /etc/fstab boot partition entry, too." It concerns Gentoo and according to first yancek's link the problem I described occurs in Ubuntu so