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] Match between Dom0 and DomU PV

On Wed, May 27, 2009 at 11:12 AM, Chris 'Xenon' Hanson
<xenon@xxxxxxxxxxxxxx> wrote:
>  I wasn't quite sure how to safely fetch Debian 5's x86-32 kernel

I'm not sure what you mean here. When using apt, you fecth the kernel
from domU (or at least on chrooted-ed environment after mounting
domU's fs) without having to change anything inside dom0.

>> Try http://packages.debian.org/lenny/linux-image-2.6.26-2-xen-686
>
>  I grabbed that, but just dropping it in in place of the existing kernel made 
> the DomU
> boot very angry. The gist of it is:

That page also lists dependency (marked in red). In particular, you'll need
http://packages.debian.org/lenny/linux-modules-2.6.26-2-xen-686

>
> WARNING: Couldn't open directory /lib/modules/2.6.26-2-xen-686: No such file 
> or directory
> FATAL: Could not open /lib/modules/2.6.26-2-xen-686/modules.dep.temp for 
> writing: No such
> file or directory
>
> Here's the config with the old kernel commented out:
>
> #kernel      = '/etc/xen/kernels/alpha/vmlinuz-2.6.24-23-xen'
> kernel      = '/etc/xen/kernels/alpha/vmlinuz-2.6.26-2-xen-686'
> ramdisk     = '/etc/xen/kernels/alpha/initrd.img-2.6.24-23-xen'

Now I see what your problem is. You're booting with kernels from dom0
aren't you?
It's much easier to use pygrub. That way you could :
- boot your domU with your current kernel
- install the two packages manually, or follow Thiago's post on
http://lists.xensource.com/archives/html/xen-users/2009-05/msg00454.html
(you might want to adjust which debian mirror you use). Again, this is
done on domU, NOT on dom0.

If you still want to put the kernel and initrd on dom0 anyway, copy it
over from domU to dom0.

-- 
Fajar

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

<Prev in Thread] Current Thread [Next in Thread>