linux_wiki:access_a_virtual_machine_s_console

This is an old revision of the document!


Access A Virtual Machine S Console

General Information

About this page/how-to/script.


GUI Method

From GUI Desktop on the system running KVM

  • Applications > System Tools > Virtual Machine Manager
  • Double click on running virtual machine to open console

CLI Method

On the Virtual Machine

  • Edit the grub default config file
    vim /etc/default/grub
  • Append “console=ttyS0” to the end of “GRUB_CMDLINE_LINUX” variable
    GRUB_CMDLINE_LINUX="rd.lvm.lv=centos/root rd.lvm.lv=centos/swap rhgb quiet console=ttyS0"
  • Reboot the virtual machine

On the KVM system

  • Connect to the virtual machine's console
    virsh console myserver1.example.com

  • linux_wiki/access_a_virtual_machine_s_console.1456890396.txt.gz
  • Last modified: 2019/05/25 23:50
  • (external edit)