public inbox for gentoo-user@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Walter Dnes" <waltdnes@waltdnes.org>
To: gentoo-user@lists.gentoo.org
Subject: [gentoo-user] QEMU setup questions
Date: Thu, 25 Jul 2013 04:54:01 -0400	[thread overview]
Message-ID: <20130725085401.GA2303@waltdnes.org> (raw)
In-Reply-To: <51F0A695.6090407@fastmail.co.uk>

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 <ENTER>*
vncviewer localhost:2

* in the other terminal, type a command like so, and hit <ENTER>
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 <ENTER> to
  activate vncviewer

* *AS SOON AS VNCVIEWER POPS UP* either hit <ENTER> 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 <waltdnes@waltdnes.org>
I don't run "desktop environments"; I run useful applications


  reply	other threads:[~2013-07-25  8:54 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-07-24  9:50 [gentoo-user] QEMU setup questions Walter Dnes
2013-07-24 10:53 ` William Kenworthy
2013-07-24 10:57 ` Kerin Millar
2013-07-24 13:16   ` Neil Bothwick
2013-07-24 13:47     ` Kerin Millar
2013-07-25  3:24 ` Walter Dnes
2013-07-25  4:16   ` Kerin Millar
2013-07-25  8:54     ` Walter Dnes [this message]
2013-07-25  9:17       ` Kerin Millar
2013-07-25  9:26         ` J. Roeleveld
2013-07-25  9:34           ` Kerin Millar
2013-07-25 22:57           ` Walter Dnes
2013-07-25 23:35         ` Walter Dnes

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=20130725085401.GA2303@waltdnes.org \
    --to=waltdnes@waltdnes.org \
    --cc=gentoo-user@lists.gentoo.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