All of lore.kernel.org
 help / color / mirror / Atom feed
From: Derek Glidden <dglidden@illusionary.com>
To: xen-devel@lists.sourceforge.net
Subject: Re: xenning gentoo
Date: Mon, 06 Dec 2004 14:25:36 -0500	[thread overview]
Message-ID: <41B4B230.5090406@illusionary.com> (raw)
In-Reply-To: <41B3A8E4.60508@harvee.org>

Eric S. Johansson wrote:
> hopefully I will be ready xen up a new gentoo box.  since packages 
> doesn't list anything in terms of ebuilds, I assume I should use the 
> ebuilds found here?
> 
> http://bugs.gentoo.org/show_bug.cgi?id=70161)

I'll have to look at this.  I made my own ebuilds.  It's almost 
pathetically simple as the Xen team has made it really easy since "make" 
puts everything under the "install" directory of the source tree.

> anything else I should know about gentoo and xen that hasn't been 
> discussed already in the mailing list?

I've got a production box up with gentoo as the Dom0 and DomU domains 
working just fine.  I am even able to script the creation/recycling of 
VMs.

Assuming you're using the 2.6 Xen kernel:

Mount the filesystem you're using for the new VM.
Untar the appropriate stage3 file into the new filesystem.
Untar the portage snapshot into the new filesystem.
Copy the appropriate modules into ${VM}/lib/modules. (If you're enabling 
modules in the VM.)
Put the correct make.conf, fstab, rc.conf, hostname, dnsdomainname, 
resolv.conf and conf.d/net in place under /etc.
I remove /etc/runlevels/boot/consolefont and /etc/runlevels/boot/keymaps 
because they just aren't necessary under Xen, and under UML which I had 
been using they lock the VM up when they try to run.  They may work 
under Xen, but it doesn't hurt anything to not have them.
(chroot to the new filesystem for the following steps)
Symlink the right zonefile to /etc/localtime.
Run "rc-update" and add "domainname", "net.eth0" and "sshd" to the 
"default" runlevel.
Set the root password.

Unmount and "xm create" and off you go.

When you reboot you'll need to emerge "udev", "sysfsutils" and "hotplug" 
then "rc-update add coldplug boot" for it to find all its devices.

Works like a charm.




-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now. 
http://productguide.itmanagersjournal.com/

  reply	other threads:[~2004-12-06 19:25 UTC|newest]

Thread overview: 20+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-12-06  0:33 xenning gentoo Eric S. Johansson
2004-12-06 19:25 ` Derek Glidden [this message]
2004-12-31 17:11   ` Eric S. Johansson
2004-12-31 19:16     ` Anthony Liguori
2004-12-31 19:44     ` Eric S. Johansson
     [not found]       ` <41D5C66D.308@insightful.co.nz>
     [not found]         ` <41F7ECA0.1080205@harvee.org>
2005-01-27 19:12           ` Scott Mohekey
2005-01-28 21:02             ` Jon Mason
2005-01-28 22:22               ` Scott Mohekey
2005-01-28 22:40                 ` Jon Mason
2005-01-29  1:38                 ` Mark Williamson
     [not found]                 ` <420CC301.8030402@harvee.org>
2005-02-11 20:34                   ` Scott Mohekey
2005-02-13 13:57                     ` Eric S. Johansson
2005-02-13 20:05                       ` Barry G
2005-02-13 20:39                         ` Eric S. Johansson
2005-02-13 22:12                           ` Eric S. Johansson
2005-02-14  0:51                             ` Barry G
2005-02-14 14:20                               ` Eric S. Johansson
2005-02-15 13:22                                 ` Eric S. Johansson
2005-02-15 13:52                                   ` B.G. Bruce
2005-01-03  0:54     ` Derek Glidden

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=41B4B230.5090406@illusionary.com \
    --to=dglidden@illusionary.com \
    --cc=xen-devel@lists.sourceforge.net \
    /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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.