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

Re: [Xen-users] Match between Dom0 and DomU PV


  • To: Xen User-List <xen-users@xxxxxxxxxxxxxxxxxxx>
  • From: "Fajar A. Nugraha" <fajar@xxxxxxxxx>
  • Date: Wed, 27 May 2009 11:26:20 +0700
  • Delivery-date: Tue, 26 May 2009 21:27:03 -0700
  • List-id: Xen user discussion <xen-users.lists.xensource.com>

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


 


Rackspace

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