[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Xen-users] centos jailtime image -- no network


  • To: xen-users@xxxxxxxxxxxxxxxxxxx
  • From: "Jon Christensen" <jonc21@xxxxxxxxx>
  • Date: Wed, 7 Feb 2007 11:09:18 -0600
  • Delivery-date: Wed, 07 Feb 2007 09:09:15 -0800
  • Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:references; b=DVgK+FcsHwDGqN1sX5/3/opYHl5LA5ZMlDhKFu9hPHBL2/YgAIXFXfvgYsKq/Bh70KLVqagmx6lukNC0yvaMOwEw7ElA8zdIzBO3HkJG1az9aaNlwdUf2ZaaXGrIjfhCPNKPuhL65/mJR+7sKkVx+KMWB6rC97byOpvpRpJN9DI=
  • List-id: Xen user discussion <xen-users.lists.xensource.com>

On 2/7/07, Gary W. Smith <gary@xxxxxxxxxxxxxxx> wrote:
Jon,

This is simple enough.  Here is what I did.  Go to http://www.xensource.com/download/dl_304tarballs.html and download the flavor that you need.  Then untar that into some directory.

From there it will create a folder structure like this: dist/install/{boot,etc,lib,usr,var).  If you need any of the kernel modules you will need to copy the lib directory into the DomU.  You can do this by mounting your DomU on a loopback, coping lib into the loopback (cp -ax seems to work fine), and then umount it.

Last you just need to change the kernel parameter in the config to point to the dist/install/boot/boot/vmlinuz-2.6-xen.

I my case I moved the contents of dist/install to a folder called /xen/xen-3.0.4/ and I use that in all of my copy scripts.

Here is one of my DomU configurations using this method.
name           = "test10"
memory         = "96"
disk           = [ "tap:aio:/xen/testing/test10/xen-D0.img,sda1,w","tap:aio:/xen/testing/test10/xen- swap.img,sda2,w" ]
root           = "/dev/sda1 ro"
vif            = [ "mac=00:16:ff:ac:10:33" ]
kernel         = "/xen/xen-3.0.4-x64/boot/vmlinuz-2.6-xen"
on_reboot      = "restart"
on_crash       = "restart"



From: Jon Christensen [mailto:jonc21@xxxxxxxxx]
Sent: Wednesday, February 07, 2007 6:58 AM
To: Gary W. Smith
Cc: Jerry Amundson; xen-users@xxxxxxxxxxxxxxxxxxx
Subject: Re: [Xen-users] centos jailtime image -- no network

On 2/7/07, Gary W. Smith <gary@xxxxxxxxxxxxxxx > wrote:
> I am using kernel-xenU-2.6.17-1.2157_FC5.

I caught that part.You might want to try to download the XS kernel and
use that in your DomU to see if it works for you.As mentioned, this
solved some of my FC6 problems, it might also work for you.


Isn't that what I have done here? What specifically should I be downloading and how should it be loaded? Sorry, pretty new to this and I think I am probably stuck on the terminology.


I have something else going on.  I start the guest and it says:

-bash-3.1$ /usr/sbin/xm create --defconfig /etc/xen/foo
Using config file "/etc/xen/foo".
Started domain foo

But it never really starts.  Can't figure that out.  Here is my config:

kernel = "/home/td/xen/vmlinuz-2.6-xen"
memory = 256
name = "foo"
vif = [ '' ]
disk = ['file:/home/foo/xen/,sda1,w',
        'phy:VolGroup00/foo_swap,sda2,w',
        'phy:VolGroup00/foo_home,sda3,w']
root = "/dev/sda1 ro"

_______________________________________________
Xen-users mailing list
Xen-users@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-users

 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.