Write QEMU booting virtual machine output to a file

9,591

Assuming that gets sent to a virtual serial port - this may need some setup on the guest OS end.

try appending -serial file:FILENAME to the command you use to start QEMU.

Share:
9,591
Brad
Author by

Brad

Updated on September 18, 2022

Comments

  • Brad
    Brad over 1 year

    I've been trying out QEMU to play around with some VMs. It's working well, but I keep wanting to be able to view the text (Linux boot process) that quickly scrolls by in the QEMU window on startup of my Linux virtual machine. Is there a way to retrieve this via QEMU?

  • Brad
    Brad about 13 years
    Fantastic. Thank you. I ended up appending the following: -append console=ttyS0,38400 -serial file:serial.out
  • lucidbrot
    lucidbrot about 4 years
    The first link is dead