Take the 2-minute tour ×
Unix & Linux Stack Exchange is a question and answer site for users of Linux, FreeBSD and other Un*x-like operating systems.. It's 100% free, no registration required.

If my Dom0 on Xen is kernel 2.6.18 with xen 3.3.1 can i boot a, say, 2.6.34 kernel in a DomU ? Background: 2.6.18 runs like a charm on Dom0. Don't want to update here, because there is special Hardware on the Host (ISDN-Card, etc.). Building a new kernel with this Modules for Dom0 is pain !

But i want to upgrade some DomU's to a newer Kernel...

share|improve this question
    
That pygrub stuff? –  Jiri Xichtkniha Jun 22 '12 at 13:59
    
And your distribution is? –  Nils Jun 22 '12 at 21:18
add comment

2 Answers

up vote 2 down vote accepted

Yes, it should normally work. (even for PVs). For PVs the XEN-version contained in the kernel is more important than the kernel-version itselv.

I have currently XEN 3.2.3 (SLES10 SP4) with PV DomU ranging from SLES9 over CentOS 4, 5 to SLES11 SP1 (XEN 3.0 up to XEN 4.0). A problem just arises with RedHat 6 - but that is due to a new compress format of the kernel that SLES10 SP4 is not able to decode (it runs well as HVM or using SLES11 SP2 as Dom0).

share|improve this answer
    
I will give it a chance. Thank you ! –  int2k Jun 26 '12 at 5:11
add comment

I'm not entirely sure about PV, but if you're using HVM you can certainly have a different kernel.

Either way it's easy to try. Shutdown the domU and make a copy (or snapshot if you're using lvm) of the domU's disk image. Turn it back on and upgrade the kernel.

If anything doesn't work, just revert.

share|improve this answer
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.