To enable logging, do the following:

  • In Linux VMs, enable the TTY1 and TTYS0 logging levels:
    1. Add the line GRUB_CMDLINE_LINUX_DEFAULT="console=tty1 console=ttyS0" to the file /etc/default/grub.
    2. Depending on the boot loader, run either
      # grub-mkconfig -o /boot/grub/grub.cfg
      

      or

      # grub2-mkconfig -o /boot/grub2/grub.cfg
      
    3. Reboot the VM.
  • In Windows VMs, enable Emergency Management Services (EMS) console redirection:
    1. Start Windows PowerShell by using administrator privileges.
    2. In the PowerShell console, set the COM port and baud rate for EMS console redirection. As Windows VMs have only the COM1 port with the transmission rate of 9600 bps, run:
      bcdedit /emssettings EMSPORT:1
      
    3. Enable EMS for the current boot entry:
      bcdedit /ems on
      

You may also enable driver status logging to see the list of loaded drivers. This can be useful for troubleshooting a faulty driver or long boot process. Do the following:

  1. Start System Configuration by using administrator privileges.
  2. In the System Configuration windows, open the Boot tab, and select the check boxes OS boot information and Make all boot settings permanent.
  3. Confirm the changes and restart the system.