Add serial console device using virt-manager

1. Add serial console deviceide

Click "Add Hardware", then new "Serieal" device specifying options like:
===
Device type: unix
Source path: /tmp/s0
===this

2. Listen on this "serial" device on hostunix

# nc -U /tmp/s0ci

3. Two ways to add kernel parametersit

The kernel parameter to add - "console=ttyS0"io

- temporary setting on bootconsole

Press "e" on grub booting item, add it at the end of kernel parameter list.List

- persistent settingdi

Edit /boot/grub/grub.conf inside the guest, and do the same thing as the above way.vi

相關文章
相關標籤/搜索