Date: Wed, 23 Mar 2005 11:54:15 -0800 From: Julian Elischer <julian@elischer.org> To: Aziz KEZZOU <opensource.enthousiat@gmail.com> Cc: freebsd-hackers@freebsd.org Subject: Re: running freebsd in qemu using the "-nographic" option ? Message-ID: <4241C967.4090801@elischer.org> In-Reply-To: <37e131660503231138268bc6cb@mail.gmail.com> References: <37e131660503231138268bc6cb@mail.gmail.com>
next in thread | previous in thread | raw e-mail | index | archive | help
Aziz KEZZOU wrote: >Hi all, >I am running freebsd 5.3 under qemu (a fast IA32 emulator). My host >system is linux. Everything works fine, but I want to get rid of this >small non-scrollable window, not practical when gcc says I made many >many errors :-)... > > you can scroll it after hittong tthe "scroll lock" key >Instead I want to get a console. In qemu's documentation it says : >====================================================================== >`-nographic' > Normally, QEMU uses SDL to display the VGA output. With this >option, you can totally disable graphical output so that QEMU is a >simple command line application. The emulated serial port is >redirected on the console. Therefore, you can still use QEMU to debug >a Linux kernel with a serial console. >====================================================================== > >So basically what I need is, some how, to tell the freebsd kernel to >forward its output/input to a serial port. In linux this is done by >supplying the parameter "console=ttyS0". Is there something equivalent >in FreeBSD ? > > > in /boot/loader.conf add: console="comconsole" that should do it.. >Thanks for your help, >Aziz >_______________________________________________ >freebsd-hackers@freebsd.org mailing list >http://lists.freebsd.org/mailman/listinfo/freebsd-hackers >To unsubscribe, send any mail to "freebsd-hackers-unsubscribe@freebsd.org" > >
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4241C967.4090801>