Azure serial console can't see Rocky linux boot process

Michael Xu (Nokia) 0 Reputation points
2025-02-07T02:25:25.2833333+00:00

I want to operate on my Rocky linux boot process to get into emergency mode, but I do not see it in serial console. It only shows booting process after some modules are started.

How can I solve the problem?

Azure Virtual Machines
Azure Virtual Machines
An Azure service that is used to provision Windows and Linux virtual machines.
9,051 questions
{count} votes

1 answer

Sort by: Most helpful
  1. Sudheer Reddy 2,055 Reputation points Microsoft External Staff Moderator
    2025-02-11T13:11:09.78+00:00

    Hi Michael Xu (Nokia) ,

    In continuation to above, please try with below steps for more troubleshooting.

    Interrupt your VM at the GRUB menu. Please follow this documentation for more information regarding interruption of grub process. https://learn.microsoft.com/en-us/troubleshoot/azure/virtual-machines/linux/kernel-related-boot-issues#bootingup-differentkernel-ASC

    Now, edit the boot parameters, navigate to the end of the line by pressing ctrl+e and append the string at the end of line which is starting with linux "systemd.unit=emergency.target".

    Thereafter, press ctrl + x to reboot into emergency mode.

    Once you are in emergency mode, try to use command "journalctl -xb" to view the system logs.

    If the information is helpful, please click on "Accept Answer" and "Upvote"

    If you have any queries, please do let us know, we will help you.


Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.