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

Re: [Xen-users] where is the kernel?




Hi Fabian,

yes I mean DomU,

as you said
> The kernels are read from Dom0.

so there is no need to install the kernel package in domU the linux-modules package is enought.

To configure Dom0 and DomU kernel I did the following steps and they worked for me.

in Dom0 I installed

linux-image-2.6.26-2-xen-amd64 package

then I put this 2 values in xen-domU.config file for example:

kernel  = '/boot/vmlinuz-2.6.26-2-xen-amd64'
ramdisk = '/boot/initrd.img-2.6.26-2-xen-amd64'

next i installed the linux-modules package in domU.

Thats all.

Alex




I'm installing Kernal images in Dom0
Fabian Zimmermann wrote:
Hi all,


yes that's true for example my /boot direktory in domU looks like this

blubba:/boot# ls -al /boot/
insgesamt 1260
drwxr-xr-x  2 root root    4096  6. Apr 20:25 .
drwxr-xr-x 23 root root    4096  6. Apr 20:24 ..
-rw-r--r--  1 root root   84389 13. Mär 22:20 config-2.6.26-1-xen-amd64
-rw-r--r-- 1 root root 1187071 13. Mär 22:20 System.map-2.6.26-1-xen-amd64

Do you really mean DomU? The kernels are read from Dom0. If you want to read it from DomU you need pvgrub or pygrub.

I usually copy the kernel/initrd for DomUs into some other dir (f.e. /boot/domU-kernels - don't forget to change your xen-DomU.cfg) or switch to pvgrub.

If you use the same kernel/initrd-file for Dom0 and DomU, then you have to update (at least your modules) in DomU, too.

Fabian

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



_______________________________________________
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®.