(Created page with "==Linux VMs in Azure== ===Unable to access serial console while booting=== In Azure console output is sent to the log diagnostics console rather than the serial console when booting. This can cause issues as you cannot send commands to the console screen to manage any boot options the VM may be requesting. To fix this you will need to access the GRUB boot menu. Select the recovery option and press "e" Change the following: linux /boot/vmlinuz-4.15.0-1023-azure root=U...") |
No edit summary |
||
Line 6: | Line 6: | ||
To fix this you will need to access the GRUB boot menu. Select the recovery option and press "e" | To fix this you will need to access the GRUB boot menu. Select the recovery option and press "e" | ||
Change the following: | Change the following:<syntaxhighlight lang="bash"> | ||
linux /boot/vmlinuz-4.15.0-1023-azure root=UUID=21b294f1-25bd-4265-9c4e-d6e4aeb57e97 ro recovery nomodeset | linux /boot/vmlinuz-4.15.0-1023-azure root=UUID=21b294f1-25bd-4265-9c4e-d6e4aeb57e97 ro recovery nomodeset | ||
Line 13: | Line 12: | ||
linux /boot/vmlinuz-4.15.0-1023-azure root=UUID=21b294f1-25bd-4265-9c4e-d6e4aeb57e97 ro recovery console=ttyS0 | linux /boot/vmlinuz-4.15.0-1023-azure root=UUID=21b294f1-25bd-4265-9c4e-d6e4aeb57e97 ro recovery console=ttyS0 | ||
</syntaxhighlight>this will enable the console output to be sent to the serial console rather than the boot diagnostics | |||
this will enable the console output to be sent to the serial console rather than the boot diagnostics |
Revision as of 12:44, 15 January 2024
Linux VMs in Azure
Unable to access serial console while booting
In Azure console output is sent to the log diagnostics console rather than the serial console when booting. This can cause issues as you cannot send commands to the console screen to manage any boot options the VM may be requesting.
To fix this you will need to access the GRUB boot menu. Select the recovery option and press "e"
Change the following:
linux /boot/vmlinuz-4.15.0-1023-azure root=UUID=21b294f1-25bd-4265-9c4e-d6e4aeb57e97 ro recovery nomodeset
change to
linux /boot/vmlinuz-4.15.0-1023-azure root=UUID=21b294f1-25bd-4265-9c4e-d6e4aeb57e97 ro recovery console=ttyS0
this will enable the console output to be sent to the serial console rather than the boot diagnostics