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
|