From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) by finch.gentoo.org (Postfix) with ESMTP id DC3101381F3 for ; Thu, 25 Jul 2013 08:54:20 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id F40F1E0A9D; Thu, 25 Jul 2013 08:54:09 +0000 (UTC) Received: from ironport2-out.teksavvy.com (ironport2-out.teksavvy.com [206.248.154.182]) by pigeon.gentoo.org (Postfix) with ESMTP id 84674E0A70 for ; Thu, 25 Jul 2013 08:54:08 +0000 (UTC) X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: Av4EABK/CFG4rxNq/2dsb2JhbABEvw4Xc4IfAQU6HDMsEwERDwUlNxuHdsEtjWGCSGEDjX6IDoV+iHCBXoMT X-IPAS-Result: Av4EABK/CFG4rxNq/2dsb2JhbABEvw4Xc4IfAQU6HDMsEwERDwUlNxuHdsEtjWGCSGEDjX6IDoV+iHCBXoMT X-IronPort-AV: E=Sophos;i="4.84,565,1355115600"; d="scan'208";a="19784587" Received: from 184-175-19-106.dsl.teksavvy.com (HELO waltdnes.org) ([184.175.19.106]) by ironport2-out.teksavvy.com with SMTP; 25 Jul 2013 04:54:00 -0400 Received: by waltdnes.org (sSMTP sendmail emulation); Thu, 25 Jul 2013 04:54:01 -0400 From: "Walter Dnes" Date: Thu, 25 Jul 2013 04:54:01 -0400 To: gentoo-user@lists.gentoo.org Subject: [gentoo-user] QEMU setup questions Message-ID: <20130725085401.GA2303@waltdnes.org> References: <20130724095025.GA24229@waltdnes.org> <20130725032451.GA26319@waltdnes.org> <51F0A695.6090407@fastmail.co.uk> Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-user@lists.gentoo.org Reply-to: gentoo-user@lists.gentoo.org MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <51F0A695.6090407@fastmail.co.uk> User-Agent: Mutt/1.5.21 (2010-09-15) X-Archives-Salt: 994f7fd9-fb23-4b59-96f4-5b89052067fc X-Archives-Hash: 1d4a4e17383ff45d3c7d3c2864a7d8a3 On Thu, Jul 25, 2013 at 05:16:21AM +0100, Kerin Millar wrote > > > 2) What "vncviewer" or "vncconnect" parameters do I use to get to the > > qemu session? > > Assuming both server and client are run locally, connecting to either > "localhost:0" or "localhost:5900" should work. Thanks. That helped me to get it working. I stumbled over the solution to my final problem by accident. When booting off the install cd, you have 15 seconds to "hit any key", or else it'll try to boot off the "hard drive". Given that I haven't installed yet, it'll try to boot off the blank pseudo "hard drive", and fail. Pressing any key will stop the timer. I prefer to type in... gentoo net.ifnames=0 ...to give myself "a predictable interface name", namely eth0. The timer stops after I hit the "g", and I can take my time typing the rest of the command. If you don't mind whatever ifname udev generates, you can simply hit enter. The drill *FOR INSTALL ONLY* under vnc is like so... * open up 2 terminals side-by-each * in one type the command like the following *BUT DO NOT HIT * vncviewer localhost:2 * in the other terminal, type a command like so, and hit qemu-system-i386 -vnc :2 -cpu qemu32 -m 3072 -hda sda.raw -cdrom installx86.iso -boot d * *IMMEDIATELY* go over to the other terminal and hit to activate vncviewer * *AS SOON AS VNCVIEWER POPS UP* either hit for default install parameters, or start typing your own install command. * *DO NOT PANIC* when the vncviewer screen goes dark for several seconds as the install checks out its environment. * One more minor annoyance and workaround... the initial vncviewer screen is a 720x400 xterm. The install thinks it's in a 1024x768 framebuffer, so you get the bottom and right edges of the output clipped. As soon the penguin logo appears, you can close the xterm containing the vncviewer output, and open another vncviewer with the same command as the original. This new copy senses the correct "screensize" and you can go on with your install. I still haven't figured out why only root can run qemu-kvm. I "solved" that problem with an entry in /etc/sudoers.d and it is definitely faster. If I specify a video card type for the guest, then the driver has to be emerged on the guest; is that correct? -- Walter Dnes I don't run "desktop environments"; I run useful applications