Unable to view VM console due to missing /sbin/agetty

Solution Verified - Updated -

Issue

Unable to start Getty on tty1 due to missing /sbin/agetty - There may be logs similar to:

Mar 14 08:38:33 VMname systemd: Started Getty on tty1.
Mar 14 08:38:33 VMname systemd: Starting Getty on tty1...
Mar 14 08:38:38 VMname systemd: Failed at step EXEC spawning /sbin/agetty: No such file or directory
Mar 14 08:38:38 VMname systemd: getty@tty1.service has no holdoff time, scheduling restart.

Environment

  • RHEL 7.4

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase of over 48,000 articles and solutions.

Current Customers and Partners

Log in for full access

Log In
Close

Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.