qemu -nographic 导致找不到“sgabios.bin"的解决办法

204 views
Skip to first unread message

Chunis Deng

unread,
May 13, 2012, 10:52:58 PM5/13/12
to xv6-jos
当qemu的参数为-nographic,如:
  $ qemu -nographic -hda chunix.img
时,会报如下错误:
    Could not open option rom 'sgabios.bin': No such file or directory

解释:
Serial Graphics Adapter BIOS or SGABIOS provides a means for legacy pc software to communicate with an attached serial console as if a vga card is attached.

解决办法:
$ svn checkout http://sgabios.googlecode.com/svn/trunk/ sgabios-read-only
$ cd sgabios-read-only && make
此时会生成sgabios.bin. 将之copy到/usr/share/qemu 或者 /usr/local/share/qemu 目录下即可

供参考:
https://code.google.com/p/sgabios/
http://sgabios.googlecode.com/svn/trunk/design.txt


Reply all
Reply to author
Forward
0 new messages