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

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

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


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:


and the kernel RPMs here:


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',

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',


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

Xen-users mailing list


Xen-users mailing list



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