Re: CentOS 7 kernel console under KVM?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]



On Wed, 8 Oct 2014, Chris Adams wrote:

Is there a way to get GRUB2 and the kernel to run a "serial" console
under KVM?

<snip>

This worked for me.  Add the following three lines to /etc/default/grub:

   GRUB_CMDLINE_LINUX='console=tty0 console=ttyS0,115200n8'
   GRUB_TERMINAL=serial
   GRUB_SERIAL_COMMAND="serial --speed=115200 --unit=0 --word=8 --parity=no --stop=1"

Then re-generate grub.cfg:

   grub2-mkconfig -o /boot/grub2/grub.cfg


Taken from: https://fedoraproject.org/wiki/GRUB_2?rd=Grub2

(near the bottom of the page)
_______________________________________________
CentOS mailing list
CentOS@xxxxxxxxxx
http://lists.centos.org/mailman/listinfo/centos




[Index of Archives]     [CentOS]     [CentOS Announce]     [CentOS Development]     [CentOS ARM Devel]     [CentOS Docs]     [CentOS Virtualization]     [Carrier Grade Linux]     [Linux Media]     [Asterisk]     [DCCP]     [Netdev]     [Xorg]     [Linux USB]
  Powered by Linux