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: "Luke S. Crawford" <lsc@xxxxxxxxx>
Date: Wed, 7 Feb 2007 10:22:04 -0800 (PST)
Cc: Jerry Amundson <jamundso@xxxxxxxxx>, xen-users@xxxxxxxxxxxxxxxxxxx
Delivery-date: Wed, 07 Feb 2007 10:22:14 -0800
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
In-reply-to: <6030482a0702070928q407ff38cm4b21f4d2fdc641c3@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> <6d06ce20702060816y70022898y9573109dcc8d53e5@xxxxxxxxxxxxxx> <6030482a0702061849p4e2fdc8ayd08a39443573a662@xxxxxxxxxxxxxx> <57F9959B46E0FA4D8BA88AEDFBE5829024F072@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx> <6030482a0702062205v7a014db1o16e91bf6d16b0611@xxxxxxxxxxxxxx> <57F9959B46E0FA4D8BA88AEDFBE5829024F073@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx> <6030482a0702070658o4efb1941mbb26323310b56d1c@xxxxxxxxxxxxxx> <57F9959B46E0FA4D8BA88AEDFBE5829024F074@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx> <6030482a0702070909i406f60fdhee033501ead3b73e@xxxxxxxxxxxxxx> <6d06ce20702070921p26a362bflf8c501a3920c73df@xxxxxxxxxxxxxx> <6030482a0702070928q407ff38cm4b21f4d2fdc641c3@xxxxxxxxxxxxxx>
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx

my experience has been that CentOS/RedHat isn't happy without a ramdisk. add a

ramdisk=

entry to your xm config file. one way to get a ramdisk is to install the RHEL4 kernel rpm somewhere; alternately, mkinitrd in the linux directory of your source also works okay.

you can try the RHEL4 kernels from XenSource if 32-bit is okay;
J. Baron has put out 64-bit kernel RPMS for RHEL4 if you need 64-bit:

http://people.redhat.com/riel/RHEL4-Xen-HOWTO

and the kernel RPMs here:

    http://people.redhat.com/~jbaron/rhel4/RPMS.kernel/

Note, read the howto; you need a different modprobe.conf and initrd than you need for the xensource provided RHEL kernels.

I think redhat is planning on eventually supporting the rhel4 kernels in DomU mode (Note, this is what I have heard; I'm not a redhat guy)

On Wed, 7 Feb 2007, Jon Christensen wrote:

Opps, my copy didn't work right, sorry:

disk = ['file:/home/xen/foo/xen/centos.4-4.img,sda1,w',
      'phy:VolGroup00/foo_swap,sda2,w',
      'phy:VolGroup00/foo_home,sda3,w']

I also just tried:

disk = ['file:/home/xen/foo/xen/centos.4-4.img,sda1,w']


On 2/7/07, Jerry Amundson <jamundso@xxxxxxxxx> wrote:

On 2/7/07, Jon Christensen <jonc21@xxxxxxxxx> wrote:
> 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"

So you're no longer using the jailtime image? You can't just make
things up and expect them to work....

disk = ['file:/home/foo/root,sda1,w',
        'file:/home/foo/swap,sda2,w',
        'file:/home/foo/home,sda3,w']

jerry

--
"Pay no attention to that man behind the curtain!"

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



!DSPAM:45ca0d0c2124784014742!


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