chroot: failed to run command '/bin/bash': No such file or directory

Does anyone know what to do when they get this error message? I have spent the past 4 hours trying to get suggestions from support. I have already tried the following:

> If you are seeing a kernel panic message, then you'll need to reboot your server into "Rescue" mode and perform a file system check.

Once the test completes and fixes any detected errors, reboot your server and verify that your server boots as intended.

1 Reply

First check the obvious, make sure the bash file and ALL its library dependencies exist inside the chroot environment. If any of the dependencies are missing, then you'll get that error.

Reply

Please enter an answer
Tips:

You can mention users to notify them: @username

You can use Markdown to format your question. For more examples see the Markdown Cheatsheet.

> I’m a blockquote.

I’m a blockquote.

[I'm a link] (https://www.google.com)

I'm a link

**I am bold** I am bold

*I am italicized* I am italicized

Community Code of Conduct