Server Fault is a question and answer site for system and network administrators. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I seem to recall being able to start qemu with only the terminal emulator output, with the graphic window disabled. And here I don't mean with the ncurses interface, that one is nice, but I want the output to flow directly into my terminal, to make cut and paste easier.

I have tried:

qemu -nographic binary.img # simply no display
qemu -curses binary.img # nice text output, but not directly flowing in the terminal
qemu -noframe -curses binary.img # same as above
qemu -nographic -curses binary.img

I guess an acceptable workaround would be for me to be able to resize the curses console to fit the terminal I am using. Right now it's annoying because it doesn't fit the terminal size...

qemu -curses  binary.img

           SeaBIOS (version 1.7.0-20120603_194846-gandalf)

           iPXE ( 00:03.0 C900 PCI2.10 PnP PMM+07FC86A0+07F886A0 C900

           Booting from Hard Disk...

Notice how the display is indented 12 spaces? Annoying. :)

share|improve this question
Use an 80 column terminal? – Michael Hampton Jan 23 '13 at 17:33
I could have sworn there was a way to let this flow properly, maybe I don't remember this right... – anarcat Jan 24 '13 at 19:26
i wonder if this shouldn't be merged with… and/or… – anarcat Apr 29 '15 at 3:42

Old question, but it might still interest people.

Short anwser :

qemu -nographic -serial mon:stdio -append 'console=ttyS0' binary.img

ttyS0 valid on most PC. it would be something different on ARM system.

Then the serial port and the QEMU are multiplexed on your output. You can switch between them with ctrl-A + C + ENTER.

Long answer: check this blog, it's awesome.

share|improve this answer
Seemed to work without serial for me. – Ciro Santilli 巴拿馬文件 六四事件 法轮功 May 21 '15 at 20:11
yes it seems so on latest qemu it's still interesting to learn you can also to multiplex serial + qemu console on stdio – Fred Sep 15 '15 at 9:23

Install SGABIOS -- ISTR that recent Qemu versions use it automatically when run with -nographic.

share|improve this answer
oddly enough, that doesn't seem to be packaged in Debian, so I doubt this was what I was using... – anarcat Mar 7 '13 at 3:18

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.