How To Fix Error “Cannot open access to console, the root account is locked”
erics, Posted June 23rd, 2023 at 4:31:14pm
When trying to access the serial console on AWS, I got the following error:
Cannot open access to console, the root account is locked
Since I had edited /etc/fstab, the host would not boot.
The only way to fix this problem is to unmount the root volume from the affected instance, mount it on another node, edit the stab file, and reverse the process., ending up with that volume re-attached as root on the problem node
Leave Your Comment
All fields marked with "*" are required.