7.12 Serial Console Does Not Respond for Oracle Linux 7 HVM Virtual Machines

The serial console does not respond, or provide any output, for virtual machines based on Oracle Linux 7 that are of domain type HVM or PVHVM.

Workaround: Configure the GRUB bootloader for the virtual machine as follows:

  1. Add the following lines to the /etc/default/grub file:

    GRUB_CMDLINE_LINUX=" console=ttyS0 console=tty0 crashkernel=auto \
      rd.lvm.lv=ol/root rd.lvm.lv=ol/swap rhgb quiet"
    GRUB_TERMINAL="serial console"
    GRUB_SERIAL_COMMAND="serial --unit=0"
  2. Run the following command to update the grub.cfg file:

    grub2-mkconfig -o /boot/grub2/grub.cfg
  3. Restart the virtual machine.

Note that the preceding lines provide suggested configuration. You should consult the GNU GRUB manual for descriptions of each line and additional configuration options to suit your business needs. The GNU GRUB manual is available from the following directory on the virtual machine: usr/share/doc/. Additionally, you should refer to the About the GRUB2 Boot Loader section of the Oracle Linux Administrator's Guide for more information.


Use the following keys to navigate the boot menu: v for down-arrow and ^ for up-arrow.

Bug 21229730