WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-users

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

To: xen-users@xxxxxxxxxxxxxxxxxxx
Subject: Re: [Xen-users] centos jailtime image -- no network
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=
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
In-reply-to: <57F9959B46E0FA4D8BA88AEDFBE5829024F074@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx>
List-help: <mailto:xen-users-request@lists.xensource.com?subject=help>
List-id: Xen user discussion <xen-users.lists.xensource.com>
List-post: <mailto:xen-users@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=unsubscribe>
References: <6030482a0702051310x785f725ek45926d0b07a17ab9@xxxxxxxxxxxxxx> <6030482a0702060715o594fd3baw21a149908b63b262@xxxxxxxxxxxxxx> <5bb00b3f0702060755q355a30ddu2ba08e4cb4df4f37@xxxxxxxxxxxxxx> <6d06ce20702060816y70022898y9573109dcc8d53e5@xxxxxxxxxxxxxx> <6030482a0702061849p4e2fdc8ayd08a39443573a662@xxxxxxxxxxxxxx> <57F9959B46E0FA4D8BA88AEDFBE5829024F072@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx> <6030482a0702062205v7a014db1o16e91bf6d16b0611@xxxxxxxxxxxxxx> <57F9959B46E0FA4D8BA88AEDFBE5829024F073@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx> <6030482a0702070658o4efb1941mbb26323310b56d1c@xxxxxxxxxxxxxx> <57F9959B46E0FA4D8BA88AEDFBE5829024F074@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx>
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
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