How to Access Command Line When Unable to Load GUI Login Screen for Rocky

Marketing
Marketing
  • Updated

Situation: 

When the OS correctly processes to load but upon completion, the screen goes blank or is stuck at a flashing cursor at the upper left corner of the screen. It is possible to edit the OS kernel to change the “runlevel” so the command line login appears.

 

Solution: 

As the system starts up and completes POST, the OS can display kernel selection.

 

  1. Press up or down arrow key to stop the countdown timer when Rocky GRUB menu loads.Rocky-1.png
  2. Edit Kernel by selecting kernel and pressing 'e'.

  3. Add runlevel value '3' at the end of “linux…” lineRocky-2.png

  4. Press Ctrl-x to boot OS with changes.Rocky-3.png

Runlevels
0 - Halt, shuts down the system.
1 - Single-User Mode. Mode for administrative tasks.
2 - Multi-User Mode. Does not configure network interfaces / services.
3 - Multi-User Mode with Networking. Starts the system normally (multi-user.target).
4 - Not used/User-definable. For special purposes.
5 - Starts the system with display manager. As runlevel 3 + display manager (graphical.target)
6 - Reboot. Reboots the system.

Was this article helpful?

0 out of 0 found this helpful

Have more questions? Submit a request

Comments

0 comments

Please sign in to leave a comment.