Score:0

Ubuntu qemu Display output to logfile

in flag

we install our Ubuntu 20.04.3 with packer and qemu. Since we are working without a display output, the question now is whether it would be possible to put the output into a log file.

We activated the qemu and packer debug log, unfortunately we don't get any display output and couldn't track where the nographic installation is at the moment.

Score:0
sl flag

To get all into a file you'd usually want to create a muxing chardev and assign all outputs to it that you want.

  -chardev stdio,mux=on,logfile=guest.log,id=char0 \
  -mon chardev=char0,mode=readline \
  -serial chardev:char0

You can decide to not put the monitor on that, or to pass them to different files and so on. All up to you. For details see "Character device options" in man qemu here.

mangohost

Post an answer

Most people don’t grasp that asking a lot of questions unlocks learning and improves interpersonal bonding. In Alison’s studies, for example, though people could accurately recall how many questions had been asked in their conversations, they didn’t intuit the link between questions and liking. Across four studies, in which participants were engaged in conversations themselves or read transcripts of others’ conversations, people tended not to realize that question asking would influence—or had influenced—the level of amity between the conversationalists.