On Thu, Sep 22, 2022 at 10:24:46AM +0800, Lucas Liu wrote:
Gratings:
Recently, I got an error while installing a guest, the error message is
this,:
[image: image.png]
Is there a method to get the full log? I have tried to use virt-install
--console, or attach <log
file="/var/log/libvirt/qemu/guestname-serial0.log" append="off"/>
to get
the full log, but they didn't work.
My guess is that the kernel (and bios/uefi) was not set up to output to
a serial console. You could use virt-install's --boot
bios.useserial=on, or for the kernel to output on the console you might
try kernel_args="console=ttyS0" if you're booting kernel directly, or
--extra-args "console=ttyS0" if you're installing from --location. But
that could be changed in the bootloader before choosing the kernel.