[CentOS] CentOS 7 kernel console under KVM?

2014-10-08 Thread Chris Adams
Is there a way to get GRUB2 and the kernel to run a serial console under KVM? I'm running a Fedora 20 desktop, with libvirt-managed VMs. When I run a CentOS 6 VM, I can set both the boot loader and kernel up to use ttyS0 and get a console compatible with virsh console. When I try the same with

Re: [CentOS] CentOS 7 kernel console under KVM?

2014-10-08 Thread Nux!
@centos.org Sent: Wednesday, 8 October, 2014 17:06:03 Subject: [CentOS] CentOS 7 kernel console under KVM? Is there a way to get GRUB2 and the kernel to run a serial console under KVM? I'm running a Fedora 20 desktop, with libvirt-managed VMs. When I run a CentOS 6 VM, I can set both

Re: [CentOS] CentOS 7 kernel console under KVM?

2014-10-08 Thread Paul Heinlein
On Wed, 8 Oct 2014, Nux! wrote: For my templates I use: grubby --update-kernel=ALL --args=crashkernel=0@0 video=1024x768 console=ttyS0,115200n8 console=tty0 consoleblank=0 In kickstart files for CentOS 7 VMs that run in what I still think of as runlevel 3, I use a somewhat simpler recipe:

Re: [CentOS] CentOS 7 kernel console under KVM?

2014-10-08 Thread Mike
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

Re: [CentOS] CentOS 7 kernel console under KVM?

2014-10-08 Thread Chris Adams
Once upon a time, Chris Adams li...@cmadams.net said: Is there a way to get GRUB2 and the kernel to run a serial console under KVM? So, I guess the people who replied didn't read - I tried ttyS0, and that didn't work. I did figure out why that doesn't work: when setting up a new VM with

Re: [CentOS] CentOS 7 kernel console under KVM?

2014-10-08 Thread m . roth
Chris Adams wrote: Once upon a time, Chris Adams li...@cmadams.net said: Is there a way to get GRUB2 and the kernel to run a serial console under KVM? So, I guess the people who replied didn't read - I tried ttyS0, and that didn't work. I did figure out why that doesn't work: when setting

Re: [CentOS] CentOS 7 kernel console under KVM?

2014-10-08 Thread Chris Adams
Once upon a time, m.r...@5-cent.us m.r...@5-cent.us said: Any idea if pts's are set up? Also, is this of any help http://wiki.libvirt.org/page/Unable_to_connect_to_console_of_a_running_domain? That's the old way (the way virt-install defaults for RHEL6 and before). The new and improved way is