qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
From: "andrzej zaborowski" <balrogg@gmail.com>
To: qemu-devel@nongnu.org
Subject: Re: [Qemu-devel] Qemu on Windows: Redirect output to console
Date: Mon, 25 Jun 2007 21:01:56 +0200	[thread overview]
Message-ID: <fb249edb0706251201l5ad7f1a8uc8530d066e2b5971@mail.gmail.com> (raw)
In-Reply-To: <E1I2sc8-000Aqt-4B@server2.hostultra.com>

Hi,

On 25/06/07, Peter Laursen <qemu@tdlsoftware.org> wrote:
> Hi everyone,
>
> Thanks for your replies, they have been of great help. I still havenøt
> solved the basic problem of redirecting the output to a console, mostly
> because -nographic does not work on Windows ports of Qemu...
>
> There already are Linux operating systems that ship with screen readers
> that read the graphic desktops built in, so I would only want to run
> text-based operating systems (FreeBSD, for example - I've heard that is
> almost pure command line and I'd like to check it out if possible. I
> know tha Debian is)

That's not true, FreeBSD as well as all Linux flavours are unix clones
and they can run all the same software, including the GNOME and KDE
environments, as well as all the command line world. Debian's
installer is text based and FreeBSD's installer is text based but the
rest depends on whatever you configured in the installer.

>
> Sadly, I couldn't get the -serial option to work either - here's the
> command line that I used to start qemu with:
>
> qemu.exe -L . -m 128 -hda linux.img -soundhw all -localtime -M isapc -
> serial tcp:127.0.0.1:5555,server -nographic

In addition to that you need to tell Linux to actually run a console
on the serial port instead of on the video card. This can be done in
the bootloader by appending "console=ttyS0" to kernel parameters, but
there's unfortunately no way to interact with the bootloader without a
video adapter because bootloaders are configured that way on most
distributions. Assuming you have a sound enabled SSH client you could
SSH into the linux guest and interact with it that way, from there you
can reconfigure the system to make a serial console.

Unrelated to that, there's a patch for QEMU that adds an curses based
interface similar to the one that the bochs emulator has. I imagine it
can be a hell to set up on ms windows, if at all possible, but it
eliminates the use serial ports, it lets you interact with the
bootloader and no reconfiguration is needed.

Have you tried distributions like Oralux, BLINUX or Free(b)soft? I
know Free(b)soft is all command line based (or actually emacs based)
and sound enabled at the same time, by employing festival if no
hardware sythesiser or braille tty (brltty) is found.

I still think SSH is the most universal way to interact with any
system and lets you experience all the non-graphical parts of the OS,
including Debian installer or FreeBSD installer.

Regards,

  reply	other threads:[~2007-06-25 19:02 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-06-25 17:44 [Qemu-devel] Qemu on Windows: Redirect output to console Peter Laursen
2007-06-25 19:01 ` andrzej zaborowski [this message]
  -- strict thread matches above, loose matches on Subject: below --
2007-06-24 13:28 Peter Laursen
2007-06-24 20:58 ` Stefan Weil
2007-06-25  4:21   ` Natalia Portillo
2007-06-25  4:51     ` Luke-Jr
2007-06-25  4:17 ` Rob Landley

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=fb249edb0706251201l5ad7f1a8uc8530d066e2b5971@mail.gmail.com \
    --to=balrogg@gmail.com \
    --cc=qemu-devel@nongnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).