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: "Jon Christensen" <jonc21@xxxxxxxxx>
Subject: RE: [Xen-users] centos jailtime image -- no network
From: "Gary W. Smith" <gary@xxxxxxxxxxxxxxx>
Date: Wed, 7 Feb 2007 08:02:24 -0800
Cc: Jerry Amundson <jamundso@xxxxxxxxx>, xen-users@xxxxxxxxxxxxxxxxxxx
Delivery-date: Wed, 07 Feb 2007 08:02:20 -0800
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
In-reply-to: <6030482a0702070658o4efb1941mbb26323310b56d1c@xxxxxxxxxxxxxx>
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> <5bb00b3f0702060523r3cedaf6cr7ce168f8ac68509d@xxxxxxxxxxxxxx> <6030482a0702060715o594fd3baw21a149908b63b262@xxxxxxxxxxxxxx> <5bb00b3f0702060755q355a30ddu2ba08e4cb4df4f37@xxxxxxxxxxxxxx> <6d06ce20702060816y70022898y9573109dcc8d53e5@xxxxxxxxxxxxxx> <6030482a0702061849p4e2fdc8ayd08a39443573a662@xxxxxxxxxxxxxx> <57F9959B46E0FA4D8BA88AEDFBE5829024F072@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx> <6030482a0702062205v7a014db1o16e91bf6d16b0611@xxxxxxxxxxxxxx> <57F9959B46E0FA4D8BA88AEDFBE5829024F073@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx> <6030482a0702070658o4efb1941mbb26323310b56d1c@xxxxxxxxxxxxxx>
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
Thread-index: AcdKyHIHISNyRiCHSGGXd7+RjSmDyQABwmhw
Thread-topic: [Xen-users] centos jailtime image -- no network
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.

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