Re: How can I check the history of all console logs starting from the first second of bootup

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]


On Thu, Sep 22, 2022 at 10:24:46AM +0800, Lucas Liu wrote:

Recently, I got an error while installing a guest, the error message is
[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.

Attachment: signature.asc
Description: PGP signature

[Index of Archives]     [Virt Tools]     [Lib OS Info]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [KDE Users]

  Powered by Linux