From: "M. Fletcher" Subject: Unable to configure GRUB to boto xen 4.2 Kernel Date: Sun, 5 Aug 2012 13:47:30 +0100 Message-ID: <002901cd7308$79d55890$6d8009b0$@cam.ac.uk> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============1916301179634493384==" Return-path: Content-Language: en-gb List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xen.org Errors-To: xen-devel-bounces@lists.xen.org To: xen-devel@lists.xen.org List-Id: xen-devel@lists.xenproject.org This is a multipart message in MIME format. --===============1916301179634493384== Content-Type: multipart/alternative; boundary="----=_NextPart_000_002A_01CD7310.DB9D1BF0" Content-Language: en-gb This is a multipart message in MIME format. ------=_NextPart_000_002A_01CD7310.DB9D1BF0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit I've just built and installed xen 4.2 -rc1 (72160635df2c) (from /usr/local/xen-rc-4.2/), which seemed to go fine, along with all dependencies listed in readme (on a clean debian-squeeze base). After a few days of head bashing I can't configure grub to boot into the xen kernel. Initially I was getting a whole load of python errors as xen installed into /usr/lib/python2.6/site-packages and sys.path was only referencing /usr/bin/python2.6/dist-packages. I corrected that by adding a xenPaths.pth file pointing at site-packages. xm list now produces (which I assume is because I'm not in the xen kernel): Error: Unable to connect to xend: No such file or directory. Is xend running? I have the following entries in the boot directory ls /boot config-2.6.32-5-amd64 initrd.img-xen-4.2 System.map-2.6.32-5-amd64 xen-4.2.gz xen-syms-4.2.0-rc1 grub initrd.img-xen-4.2.0 vmlinuz-2.6.32-5-amd64 xen-4.gz initrd.img-2.6.32-5-amd64 initrd.img-xen-4.2.0-rc1 xen-4.2.0-rc1.gz xen.gz ls /etc/grub.d shows: ls /etc/grub.d 00_header 05_debian_theme 08_linux_xen 10_linux 30_os-prober 40_custom 41_custom README when I try update-grub as root I get the following output: root@mcd40:/etc/grub.d# update-grub Generating grub.cfg ... Found background image: /usr/share/images/desktop-base/desktop-grub.png dpkg: version '/boot/xen.gz' has bad syntax: invalid character in version number dpkg: version '/boot/xen.gz' has bad syntax: invalid character in version number dpkg: version '/boot/xen.gz' has bad syntax: invalid character in version number dpkg: version '/boot/xen.gz' has bad syntax: invalid character in version number Found linux image: /boot/vmlinuz-2.6.32-5-amd64 Found initrd image: /boot/initrd.img-2.6.32-5-amd64 done Someone else seems to have a similar problem here(http://lists.xen.org/archives/html/xen-users/2011-12/msg00074.html), but I don't quite understand what the proposed solution suggests. If anyone could point me in the right direction that would be appreciated. Marc SP Group, Dept of Physics, Cambridge University ------=_NextPart_000_002A_01CD7310.DB9D1BF0 Content-Type: text/html; charset="us-ascii" Content-Transfer-Encoding: quoted-printable

I've just = built and installed xen 4.2 -rc1 (72160635df2c) = (from /usr/local/xen-rc-4.2/), which seemed to go fine, along with all = dependencies listed in readme (on a clean debian-squeeze base). After a = few days of head bashing I can't configure  grub to boot into the = xen kernel.

 

Initially I was getting a whole load of python errors = as xen installed into /usr/lib/python2.6/site-packages and sys.path was = only referencing /usr/bin/python2.6/dist-packages. I corrected that by = adding a xenPaths.pth file pointing at site-packages.

 

  xm = list now produces (which I assume is because I’m not in the xen = kernel):

 

   Error: Unable to connect to xend: No = such file or directory. Is xend running?

 

I have the = following entries in the boot directory

 

    ls /boot

    = config-2.6.32-5-amd64        &nbs= p;        = initrd.img-xen-4.2         =      = System.map-2.6.32-5-amd64        =         xen-4.2.gz  = xen-syms-4.2.0-rc1

    = grub           &nb= sp;           &nbs= p;             = initrd.img-xen-4.2.0      = vmlinuz-2.6.32-5-amd64        &nb= sp;     xen-4.gz

    initrd.img-2.6.32-5-amd64  = initrd.img-xen-4.2.0-rc1  = xen-4.2.0-rc1.gz         &nb= sp;         = xen.gz

 

ls /etc/grub.d shows:

 

    ls = /etc/grub.d

    = 00_header  05_debian_theme  08_linux_xen  10_linux  = 30_os-prober  40_custom  41_custom README

 

when I try = update-grub as root I get the following output:

 

    root@mcd40:/etc/grub.d# = update-grub

    = Generating grub.cfg ...

    Found background image: = /usr/share/images/desktop-base/desktop-grub.png

    dpkg: version '/boot/xen.gz' has = bad syntax: invalid character in version number

    dpkg: version '/boot/xen.gz' has = bad syntax: invalid character in version number

    dpkg: version '/boot/xen.gz' has = bad syntax: invalid character in version number

    dpkg: version '/boot/xen.gz' has = bad syntax: invalid character in version number

    Found linux image: = /boot/vmlinuz-2.6.32-5-amd64

    Found initrd image: = /boot/initrd.img-2.6.32-5-amd64

    done

 

Someone else = seems to have a similar problem = here(http://lists.xen.org/archives/html/xen-users/2011-12/msg00074.html),=  but I don't quite understand what the proposed solution = suggests.

 

If anyone could point me in the right direction that = would be appreciated.

 

Marc

SP Group, Dept = of Physics,

Cambridge University =

------=_NextPart_000_002A_01CD7310.DB9D1BF0-- --===============1916301179634493384== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ Xen-devel mailing list Xen-devel@lists.xen.org http://lists.xen.org/xen-devel --===============1916301179634493384==--