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, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content