Monday·21·April·2014
Xen: Running a Sid DomU with PyGrub on a Squeeze Dom0 //at 03:07 //by abe
I’m running one Debian Sid and one Jessie (Testing) Xen guest domain on a Debian Squeeze (Oldstable) Xen 4.0 running host server.
Recently I had to reboot one these virtual machines after more than a year of uptime. But the new 3.14 kernel from Debian Experimental didn’t boot. Neither did 3.13 from Debian Unstable. Nor did any other kernel image newer then the 3.5-trunk (from Debian Experimental back than) work.
Everytime pygrub bailed out with this error message:
Error: (2, 'Invalid kernel', 'xc_dom_find_loader: no loader found\n')
(Yes, the parentheses and the “\n” were part of the error message.)
After some searching on the web I found hints that this message may be caused by an unsupported compression type in the kernel image.
And indeed, if I unpack the “vmlinuz” with the extract-vmlinux
tool which is part of Linux’ source code (but not yet part of any binary
package in Debian), and use the extract file in grub’s menu.lst
(which is then read by pygrub) instead, the DomU boots Linux kernel
3.14 again, even on a Squeeze-running Dom0.
Tagged as: Debian, extract, Jessie, Kernel, Linux, PyGrub, Sid, Squeeze, Xen
0 comments // write a comment // comments off
Related stories
Comments
Your Comment
Spam Protection: To post a comment, you'll have to answer the following question: What is 42 minus 19?