Difference between revisions of "Template:Enable serial console"
Jump to navigation
Jump to search
↑ https://www.cyberciti.biz/faq/how-to-enable-kvm-virsh-console-access-for-ubuntu-linux-vm/
(Created page with "You need to enable serial console in your VM machine.<ref>https://www.cyberciti.biz/faq/how-to-enable-kvm-virsh-console-access-for-ubuntu-linux-vm/</ref> 1) Enable serial...") |
|||
Line 2: | Line 2: | ||
1) Enable serial console: | 1) Enable serial console: | ||
− | * <code>sudo [[systemctl enable]] [[serial-getty]]@[[ttyS0]].service</code> | + | * <code>sudo [[systemctl enable]] [[serial-getty]]@[[ttyS0]][[.service]]</code> |
* <code>sudo [[systemctl start]] [email protected]</code> | * <code>sudo [[systemctl start]] [email protected]</code> | ||
2) Connect to VM: | 2) Connect to VM: | ||
* <code>[[virsh]] [[console]] MACHINE</code> | * <code>[[virsh]] [[console]] MACHINE</code> |
Revision as of 17:59, 29 June 2022
You need to enable serial console in your VM machine.[1]
1) Enable serial console:
2) Connect to VM:
Advertising: