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

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


  • To: "Jon Christensen" <jonc21@xxxxxxxxx>
  • 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
  • List-id: Xen user discussion <xen-users.lists.xensource.com>
  • 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


 


Rackspace

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