Permission denied errors when unable to boot in VMWare Guest
Issue
- The server is unable to boot. When trying to chroot manually from rescue mode, the following error is encountered:
chroot: failed to run command '/bin/sh': Permission denied
- After removing
rhgbandquietfrom the grub line, the following error is observed in the startup messages:
Failed to execute /sbin/init, giving up: Permission denied
- Permissions on
/bin,/sbin,/lib,/lib64have been verified
Environment
- Red Hat Enterprise Linux 7
- VMWare Guest
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase of over 48,000 articles and solutions.
Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.
