Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1Ia7Og-0003ZQ-JG for qemu-devel@nongnu.org; Tue, 25 Sep 2007 06:12:06 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1Ia7Od-0003Ym-VG for qemu-devel@nongnu.org; Tue, 25 Sep 2007 06:12:06 -0400 Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Ia7Od-0003Yj-PY for qemu-devel@nongnu.org; Tue, 25 Sep 2007 06:12:03 -0400 Received: from eridanilinux.demon.co.uk ([62.49.18.88]) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1Ia7Od-000898-AS for qemu-devel@nongnu.org; Tue, 25 Sep 2007 06:12:03 -0400 Received: from [127.0.0.1] (localhost [127.0.0.1]) by eridanilinux.demon.co.uk (8.11.6p2/8.11.6) with ESMTP id l8PABkk27341 for ; Tue, 25 Sep 2007 11:11:46 +0100 Message-ID: <46F8DEDB.3050907@eridani.co.uk> Date: Tue, 25 Sep 2007 11:11:39 +0100 From: Michael McConnell MIME-Version: 1.0 Subject: Re: [Qemu-devel] Serial Console / NoGraphic References: <20070925081033.4364gmx1@mx010.gmx.net> <200709251204.17298.clemens.kol@gmx.at> In-Reply-To: <200709251204.17298.clemens.kol@gmx.at> Content-Type: text/plain; charset=iso-8859-1; format=flowed Content-Transfer-Encoding: 7bit Reply-To: qemu-devel@nongnu.org List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org Clemens Kolbitsch wrote: > hi! > i've been trying around for quite some time now trying to start qemu without > the graphic screen... can someone tell me exactly what I'm supposed to do?? > > i want to redirect the output of my i386 debian linux to my host-console (also > a i386 debian) to fully see the output of a kernel panic (see previous > messages i have posted). > > i'm starting qemu: > > qemu -hda myimage -boot c -kernel-kqemu -kernel mykernel -initrd > myinitrd -append "root=/dev/hda1 console=/dev/ttyS0" -nographic > > after tons of trial-and-error i finally got my system to boot, however, the > login-screen is not displayed (i see all output of the starting system up > until the ">>login:"). how do i connect to the serial line now to get to the > login?? Add this to /etc/inittab in the guest system: co:2345:respawn:/sbin/agetty ttyS0 9600 vt100-nav Without that it's only going to put the login prompts on the (now hidden) virtual consoles. The (emulated) hardware display still exists, it's just not shown. I use just such a setup for a Win2000 virtual-machine that's accessible by VNC. I've had issues with QEMU's own VNC server (it crashes with a core dump on disconnection, and no-one on the list was remotely interested) so instead I run UltraVNC within Win2000 and connect to that instead. -- -- Michael "Soruk" McConnell Eridani Star System MailStripper - http://www.MailStripper.eu/ - UNIX spam filter Mail Me Anywhere - http://www.mailmeanywhere.com/ - email for phones